Advertisement
Guest User

Untitled

a guest
Jun 19th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 10.29 KB | None | 0 0
  1. .externalDialog {
  2.     .displayflex();
  3.     .flex-direction(column);
  4.     height: 100%;
  5.     background-color: @color-gray8;
  6.  
  7.     .panel-header {
  8.         color: @color-gray4;
  9.         font-size: @baseFontSizeMedium;
  10.         text-transform: uppercase;
  11.         margin: 1.2rem 0;
  12.  
  13.         &:first-child {
  14.             margin-top: 0;
  15.         }
  16.     }
  17.  
  18.     .panel-left,
  19.     .panel-right {
  20.         .box-sizing(border-box);
  21.     }
  22.  
  23.     .panel-left {
  24.         .flex-basis(30%);
  25.         padding: 2.4rem 0 0 2.4rem;
  26.  
  27.         .panel-left-inner {
  28.             height: 99%;
  29.             border-right: 0.15rem solid @color-gray7;
  30.             box-sizing: border-box;
  31.         }
  32.  
  33.         .list {
  34.             list-style: none;
  35.             margin: 0;
  36.             padding: 0;
  37.         }
  38.  
  39.         .list-item {
  40.             .box-sizing(border-box);
  41.             .transition(all 102ms ease-out);
  42.             padding: 0 2rem;
  43.             transform: translate(-2.4rem);
  44.             width: calc(~'100% + 2.4rem');
  45.             height: 7.2rem;
  46.  
  47.             &.selected {
  48.                 width: calc(~'100% + 2.4rem');
  49.                 background-color: @list-item-hover-background-color;
  50.                 border-left: 0.5rem solid @color1;
  51.             }
  52.  
  53.             &:not(.selected) {
  54.                 &.hover {
  55.                     background-color: @color-gray8;
  56.                 }
  57.             }
  58.         }
  59.  
  60.         .icon {
  61.             float: left;
  62.             width: 3.6rem;
  63.             height: 100%;
  64.  
  65.             span {
  66.                 position: relative;
  67.                 top: 50%;
  68.                 transform: translateY(-50%);
  69.             }
  70.         }
  71.  
  72.         .info {
  73.             height: 100%;
  74.             display: table;
  75.             table-layout: fixed;
  76.  
  77.             p {
  78.                 line-height: @baseFontSize;
  79.                 display: table-cell;
  80.                 vertical-align: middle;
  81.             }
  82.  
  83.             .title {
  84.                 display: block;
  85.                 font-size: @baseFontSize;
  86.                 line-height: @baseLineHeight;
  87.                 font-weight: 500;
  88.                 text-transform: capitalize;
  89.             }
  90.  
  91.             .sub {
  92.                 display: block;
  93.                 color: @color-gray5;
  94.                 font-size: @baseFontSizeMedium;
  95.                 font-weight: 400;
  96.             }
  97.         }
  98.     }
  99.  
  100.     .popup-panels {
  101.         .box-sizing(border-box);
  102.         .displayflex();
  103.         .flex-grow(1);
  104.         min-height: 0;
  105.         padding: 0;
  106.  
  107.         .panel-right {
  108.             .flex(1);
  109.             height: auto;
  110.             width: auto;
  111.             overflow: hidden;
  112.  
  113.             &.emui-scrollbar {
  114.                 &.edge {
  115.                     padding: 2.4rem 2.4rem 0;
  116.                 }
  117.             }
  118.  
  119.             .documents-sort-header {
  120.                 height: 16%;
  121.                 position: relative;
  122.                 margin-top: 2%;
  123.  
  124.                 .emui-checkbox {
  125.                     left: 1.3%;
  126.                 }
  127.  
  128.                 .sort {
  129.                     position: absolute;
  130.                     top: 12%;
  131.                     cursor: pointer;
  132.                     color: @color-gray4;
  133.                     text-decoration: none;
  134.                 }
  135.  
  136.                 .documents-sort-name {
  137.                     left: 5%;
  138.                 }
  139.  
  140.                 .documents-sort-lastmodified {
  141.                     left: 60%;
  142.                 }
  143.  
  144.                 .documents-sort-filesize {
  145.                     left: 80%;
  146.                 }
  147.             }
  148.         }
  149.     }
  150.  
  151.  
  152.     #documents-content {
  153.         position: relative;
  154.         overflow: initial;
  155.         background-color: #fff;
  156.         padding: 0;
  157.  
  158.         .documents-link {
  159.             &.file {
  160.                 &:hover {
  161.                     text-decoration: initial;
  162.                 }
  163.             }
  164.         }
  165.     }
  166.  
  167.     #documents-view-wrapper {
  168.         min-height: unset;
  169.  
  170.         .documents-link {
  171.             color: @link-color;
  172.         }
  173.  
  174.         .list-view-container {
  175.             min-height: 0;
  176.             padding-bottom: 0;
  177.             margin-right: 0;
  178.         }
  179.  
  180.         #list-view {
  181.             width: 100%;
  182.  
  183.             .item.selected {
  184.                 .documents-link {
  185.                     color: #fff;
  186.                 }
  187.             }
  188.  
  189.             tbody {
  190.                 .box-shadow(none);
  191.                 display: block;
  192.  
  193.                 .document-checkbox {
  194.                     .box-sizing(border-box);
  195.                     width: 45px;
  196.                     max-width: 45px;
  197.  
  198.                     .emui-checkbox {
  199.                         display: inline-block;
  200.                         transform: translateY(-2px);
  201.                         opacity: 1;
  202.                     }
  203.                 }
  204.  
  205.                 tr {
  206.                     &:last-child {
  207.                         border-bottom: 0;
  208.                     }
  209.                 }
  210.             }
  211.  
  212.             thead {
  213.                 display: table;
  214.                 width: 100%;
  215.                 table-layout: fixed;
  216.             }
  217.  
  218.             tbody {
  219.                 tr {
  220.                     display: table;
  221.                     width: 100%;
  222.                     table-layout: fixed;
  223.                 }
  224.             }
  225.  
  226.             th,
  227.             td {
  228.                 &:first-child {
  229.                     padding-left: 12px;
  230.                     padding-right: 12px;
  231.                     border-left: 0;
  232.                 }
  233.  
  234.                 &:last-child {
  235.                     border-right: 0;
  236.                 }
  237.             }
  238.  
  239.             th {
  240.                 padding: 8px;
  241.                 background-color: #fff;
  242.             }
  243.         }
  244.     }
  245.  
  246.     .close-upload-dialog {
  247.         background: url(/Framework/Resources/Images/global/framework/close-popup.png) repeat scroll 0 0 transparent;
  248.         display: inline-block;
  249.         height: 30px;
  250.         width: 30px;
  251.         float: right;
  252.         cursor: pointer;
  253.     }
  254.  
  255.     .button-container {
  256.         border: none;
  257.  
  258.         .flat {
  259.             padding-right: 0;
  260.         }
  261.     }
  262. }
  263.  
  264. #storage-content {
  265.     height: 99%;
  266.     display: flex;
  267.     flex-direction: column;
  268.  
  269.     .upload-local-document {
  270.         text-align: center;
  271.         border: 0.15rem dashed @color-gray6;
  272.         height: 100%;
  273.         -webkit-transform-style: preserve-3d;
  274.         -moz-transform-style: preserve-3d;
  275.         transform-style: preserve-3d;
  276.  
  277.         .local-document-inner {
  278.             position: relative;
  279.             top: 50%;
  280.             transform: translateY(-50%);
  281.         }
  282.     }
  283.  
  284.     .dialog-el {
  285.         margin-top: 1%;
  286.     }
  287.  
  288.     .dialog-title {
  289.         color: @color-gray4;
  290.         font-size: @baseFontSizeExtraLarge;
  291.         font-weight: 400;
  292.     }
  293.  
  294.     .dialog-sub {
  295.         color: @color-gray6;
  296.         font-size: @baseFontSizeMedium;
  297.         font-weight: 400;
  298.     }
  299.  
  300.     .el-capitalize {
  301.         text-transform: capitalize;
  302.     }
  303.  
  304.     .local-documents-attached {
  305.         .box-sizing(border-box);
  306.         overflow-y: scroll;
  307.         border: 0.15rem solid @color-gray6;
  308.         height: 100%;
  309.  
  310.         table {
  311.             table-layout: fixed;
  312.             width: 100%;
  313.         }
  314.     }
  315.  
  316.     .preview-item {
  317.         font-size: @baseFontSizeMedium;
  318.         overflow: hidden;
  319.         border-bottom: 0.15rem solid @color-gray7;
  320.         position: relative;
  321.         height: 40px;
  322.  
  323.         .cell-checkbox {
  324.             width: 5%;
  325.             padding-bottom: 0.4rem;
  326.  
  327.             .emui-checkbox {
  328.                 margin-left: 0.7rem;
  329.             }
  330.         }
  331.  
  332.         .cell-image {
  333.             width: 4%;
  334.  
  335.             .data-image {
  336.                 width: 20px;
  337.                 height: 20px;
  338.                 margin-top: 0.6rem;
  339.             }
  340.  
  341.             .data-icon {
  342.                 width: 16px;
  343.                 height: 16px;
  344.                 color: @color-gray4;
  345.             }
  346.         }
  347.  
  348.         .cell-name {
  349.             width: 52%;
  350.             overflow: hidden;
  351.             white-space: nowrap;
  352.             text-overflow: ellipsis;
  353.  
  354.             .data-name {
  355.                 left: 10%;
  356.                 overflow: hidden;
  357.                 width: 50%;
  358.                 white-space: nowrap;
  359.                 text-overflow: ellipsis;
  360.             }
  361.         }
  362.  
  363.         .cell-lastmodified {
  364.             width: 20%;
  365.  
  366.             .data-lastmodified {
  367.                 left: 60%;
  368.             }
  369.         }
  370.  
  371.         .data-filesize {
  372.             left: 80%;
  373.         }
  374.  
  375.         .data-emui-spinner {
  376.             position: inherit;
  377.             top: calc(~'84% - 1.3rem');
  378.             left: calc(~'8% - 1.3rem');
  379.             width: 14px;
  380.             height: 14px;
  381.         }
  382.     }
  383.  
  384.     .emui-spinner {
  385.         position: absolute;
  386.         top: calc(~'50% - 3rem');
  387.         left: calc(~'50% - 2rem');
  388.     }
  389.  
  390.     .containers-wrapper {
  391.         display: flex;
  392.         flex-direction: column;
  393.         height: 100%;
  394.  
  395.         .button-container {
  396.             position: relative;
  397.         }
  398.     }
  399.  
  400.     .folder-crumb-wrapper {
  401.         .displayflex;
  402.         padding: 2.4rem 0 1.6rem 2.4rem;
  403.  
  404.         .root-icon {
  405.             .flex-basis(2.4rem);
  406.         }
  407.  
  408.         .folder-crumb {
  409.             .flex(1);
  410.             padding: 0;
  411.  
  412.             li {
  413.                 line-height: @baseLineHeight;
  414.             }
  415.         }
  416.     }
  417.  
  418.     .folder-container {
  419.         .flex(1);
  420.         height: 100%;
  421.         min-height: 100%;
  422.     }
  423.  
  424.     .folder-crumb {
  425.         -webkit-flex: none;
  426.         flex: none;
  427.         height: auto;
  428.         padding: 2.4rem 0 1.6rem 2.4rem;
  429.         .box-sizing(border-box);
  430.     }
  431.  
  432.     .folder-view-wrapper {
  433.         .displayflex();
  434.         .flex-direction(column);
  435.         height: calc(~'100% - 6.4rem');
  436.         overflow-y: auto !important;
  437.     }
  438.  
  439.     .folder-view {
  440.         -moz-box-sizing: border-box;
  441.         -webkit-box-sizing: border-box;
  442.         box-sizing: border-box;
  443.         -webkit-flex: 1 0 auto;
  444.         flex: 1 0 auto;
  445.         padding: 0 1.6rem;
  446.     }
  447.  
  448.     .no-items {
  449.         color: @color-gray5;
  450.         padding: 2rem;
  451.         text-align: center;
  452.     }
  453. }
  454.  
  455. .connectDialog {
  456.     .emui-popup {
  457.         .displayflex();
  458.         .flex-direction(column);
  459.         height: 100%;
  460.  
  461.         .popup-content {
  462.             .flex-grow(1);
  463.             height: 100%;
  464.         }
  465.     }
  466. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement