openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

openrat-sidebar.less (1595B)


      1 /*
      2 OpenRat Content Management System
      3 Copyright (C) 2002-2010 Jan Dankert
      4 
      5 This program is free software; you can redistribute it and/or
      6 modify it under the terms of the GNU General Public License
      7 as published by the Free Software Foundation; either version 2
      8 of the License, or (at your option) any later version.
      9 
     10 This program is distributed in the hope that it will be useful,
     11 but WITHOUT ANY WARRANTY; without even the implied warranty of
     12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13 GNU General Public License for more details.
     14 
     15 You should have received a copy of the GNU General Public License
     16 along with this program; if not, write to the Free Software
     17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
     18 */
     19 
     20 /*
     21 Basis-Style for Openrat.
     22 */
     23 
     24 
     25 /* Usage to this variable is safe to be removed */
     26 @color-overridden-by-theme: black;
     27 
     28 @smartphones: ~"only screen and (max-width: 55rem)";
     29 
     30 
     31 
     32 /*
     33 .or {
     34     &-sidebar {
     35 
     36       @media @smartphones {
     37         display: none;
     38       }
     39 
     40       position: fixed;
     41       top: 10em;
     42       right: 0;
     43       z-index: 1;
     44       display: flex;
     45       flex-direction: column;
     46 
     47       &-button {
     48         margin-left: auto;
     49         margin-right: 0;
     50 
     51         width: 2em;
     52         overflow: hidden;
     53         right: 0;
     54         transition: width 0.2s ease-in-out;
     55         margin-bottom: 2em;
     56         white-space: nowrap;
     57 
     58         //&-text {
     59         //  display: none;
     60         //}
     61 
     62         &:hover {
     63           width:9em;
     64 
     65           //.or-sidebar-button-text {
     66           //    display: inline;
     67           //}
     68         }
     69 
     70       }
     71 
     72     }
     73 }
     74 */