github.com/readium/readium-lcp-server@v0.0.0-20240101192032-6e95190e99f1/frontend/manage/assets/sass/app.scss (about)

     1  // Variables
     2  $header-bg-color: #222;
     3  $header-color: #eee;
     4  $sidebar-bg-color: #222;
     5  $sidebar-color: #999;
     6  $sidebar-item-over-bg-color: #000;
     7  $sidebar-item-over-color: #fff;
     8  
     9  a:hover {
    10      text-decoration: none;
    11  }
    12  
    13  a:focus,
    14  a:active,
    15  a:hover {
    16      color: inherit;
    17  }
    18  
    19  #sidebar-toggler {
    20      display: none;
    21      position: fixed;
    22      left: 0;
    23      top: 10px;
    24      color: $header-color;
    25      z-index: 3;
    26      border: none;
    27      background: transparent;
    28  }
    29  
    30  
    31  
    32  .drop-zone
    33  {
    34      height: 200px;
    35      width: 400px;
    36      text-align: center;
    37      border: 2px dashed grey;
    38      padding-top: 80px;
    39      border-radius: 25px;
    40  }
    41  
    42  .nv-file-over
    43  {
    44      border-color: green;
    45  }
    46  
    47  .nv-bad-file
    48  {
    49      border-color: red;
    50  }
    51  
    52  lcp-header {
    53      position: fixed;
    54      z-index: 2;
    55      top: 0;
    56      right: 0;
    57      left: 0;
    58      border: none;
    59      border-radius: 0;
    60      padding : 6px;
    61      background: $header-bg-color;
    62      color: $header-color;
    63      text-align: left
    64  
    65      a {
    66          color: $header-color;
    67      }
    68  
    69      a:visited {
    70          color: inherit;
    71      }
    72  }
    73  
    74  #sidebar {
    75      position: fixed;
    76      z-index: 3;
    77      top: 50px;
    78      left: 225px;
    79      width: 225px;
    80      bottom: 0;
    81      margin-left: -225px;
    82      border: none;
    83      border-radius: 0;
    84      overflow-y: auto;
    85      overflow-x: hidden;
    86      background: $sidebar-bg-color;
    87      color: $sidebar-color;
    88      padding-bottom: 40px;
    89      -webkit-transition: all 0.2s ease-in-out;
    90      -moz-transition: all 0.2s ease-in-out;
    91      -ms-transition: all 0.2s ease-in-out;
    92      -o-transition: all 0.2s ease-in-out;
    93      transition: all 0.2s ease-in-out;
    94  
    95      ul {
    96          display: block;
    97          padding: 20px 0 0 0;
    98      }
    99  
   100      li {
   101          display: block;
   102          padding: 0;
   103      }
   104  
   105      li:hover,
   106      li.active {
   107          background: $sidebar-item-over-bg-color;
   108          color: $sidebar-item-over-color;
   109      }
   110  
   111      .fa {
   112          width: 20px;
   113          text-align: center;
   114      }
   115  
   116      a {
   117          display: block;
   118          padding: 5px 10px;
   119      }
   120  
   121      a:visited {
   122          color: inherit;
   123      }
   124  }
   125  
   126  #main-container {
   127      position: relative;
   128      margin: 50px 0 0 225px;
   129      padding: 10px;
   130  }
   131  
   132  @media screen and (max-width: 768px) {
   133      #sidebar-toggler {
   134          display: block;
   135      }
   136  
   137      lcp-header {
   138          text-align: center;
   139      }
   140  
   141      lcp-header .navbar-brand {
   142          float: none;
   143          display: inline-block;
   144          cursor: pointer;
   145      }
   146  
   147      #sidebar {
   148          left: 0;
   149      }
   150  
   151      #main-container {
   152          margin-left : 0;
   153      }
   154  
   155      #app.sidebar-open #sidebar {
   156          left: 225px;
   157      }
   158  
   159      #app.sidebar-open #main-container {
   160          margin-left: 225px;
   161      }
   162  }
   163  
   164  // Dashboard
   165  
   166  $dash-color: #222;
   167  $dash-radius: 5px;
   168  
   169  .dash-case
   170  {
   171      
   172      width: 200px;
   173      margin: 10px 10px;
   174      border: 1px solid $dash-color;
   175      border-radius: $dash-radius;
   176      text-align: center;
   177      background-color: $dash-color;
   178      display: inline-block;
   179      
   180  }
   181  
   182  .dash-case-number
   183  {
   184      font-size: 90px;
   185      display: block;
   186      background-color: $dash-color;
   187      border-radius: 0px 0px $dash-radius $dash-radius;
   188      text-shadow: #000 1px 1px, #000 -1px 1px, #000 -1px -1px, #000 1px -1px;
   189      color: white;
   190  }
   191  
   192  .dash-case-title
   193  {
   194      border-bottom: 1px solid $dash-color;
   195      font-size: 110%;
   196      display: block;
   197      padding: 5px 0px;
   198      background-color: white;
   199      border-radius: $dash-radius $dash-radius 0px 0px;
   200      color: black;
   201  }
   202  
   203  #best-table
   204  {
   205      width: 880px;
   206      font-size: 110%;
   207  }
   208  
   209  .dash-title
   210  {
   211      margin: 20px 0px;
   212  }
   213  
   214  // Publication && Purchase
   215  
   216  .table-search-input
   217  {
   218      margin-bottom: 10px;
   219      font-size: 110%;
   220  }
   221  
   222  .table-search-input input
   223  {
   224      width:300px;
   225  }
   226  
   227  .table-search-input label
   228  {
   229      margin-right: 20px;
   230  }
   231  
   232  .order-title
   233  {
   234      cursor: pointer;
   235  }
   236  
   237  // SNACK BAR
   238  
   239  $topDistance : 60px;
   240  $min-width : 250px;
   241  
   242  #snackbar {
   243      visibility: hidden;
   244      min-width: $min-width;
   245      margin-left: -$min-width/2;
   246      background-color: #b33;
   247      color: #fff;
   248      text-align: center;
   249      border-radius: 2px;
   250      padding: 16px;
   251      position: fixed;
   252      z-index: 1;
   253      left: 50%;
   254      top: 60px;
   255      font-size: 17px;
   256  }
   257  
   258  #snackbar.show{
   259      visibility: visible;
   260      -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
   261      animation: fadein 0.5s, fadeout 0.5s 2.5s;
   262  }
   263  
   264  #snackbar.show.stay{
   265      visibility: visible;
   266      -webkit-animation: fadein 0.5s;
   267      animation: fadein 0.5s;
   268  }
   269  
   270  #snackbar.show.quit{
   271      visibility: visible;
   272      animation-name: fadeout;
   273      animation-duration: 0.5s;
   274  }
   275  
   276  #snackbar.show.success{
   277      background-color: #383;;
   278  }
   279  
   280  #snackbar button{
   281      display: inline-block;
   282      margin : 0px 10px 0px 10px;
   283      width: 75px;
   284  }
   285  
   286  @-webkit-keyframes fadein {
   287      from {top: 0; opacity: 0;} 
   288      to {top: $topDistance; opacity: 1;}
   289  }
   290  
   291  @keyframes fadein {
   292      from {top: 0; opacity: 0;}
   293      to {top: $topDistance; opacity: 1;}
   294  }
   295  
   296  @-webkit-keyframes fadeout {
   297      from {top: $topDistance; opacity: 1;} 
   298      to {top: 0; opacity: 0;}
   299  }
   300  
   301  @keyframes fadeout {
   302      from {top: $topDistance; opacity: 1;}
   303      to {top: 0; opacity: 0;}
   304  }