openrat-cms

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

openrat-breadcrumb.less (1870B)


      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 @smartphones: ~"only screen and (max-width: 55rem)";
     21 @wide: ~"only screen and (min-width: 100rem)";
     22 
     23 
     24 .or {
     25 
     26     &-breadcrumb {
     27       margin-left: 0;
     28       margin-right: 0.5em;
     29 
     30       > * {
     31           vertical-align: middle;
     32           display: inline;
     33           margin-right: 0.3em;
     34       }
     35 
     36       &-parent {
     37         @media @wide {
     38           display: none;
     39         }
     40       }
     41 
     42       &-path {
     43         //opacity: 0.55;
     44         display: none;
     45 
     46         @media @wide {
     47           display: inline;
     48         }
     49       }
     50 
     51       &-actual {
     52 
     53         //overflow: hidden;
     54         //max-width: 0;
     55       }
     56 
     57       &-item {
     58             //font-size: 1.15em;
     59 
     60 /*            .or-image-icon {
     61                 margin-right: 0.2em;
     62                 @media @smartphones {
     63                   display: none;
     64                 }
     65             }*/
     66         }
     67       &-text {
     68         //font-size: 1.25em;
     69         font-weight: bold;
     70         width: 12em;
     71         @media @smartphones {
     72           width: 5.5em;
     73         }
     74         white-space: nowrap;
     75         text-overflow: ellipsis;
     76         overflow: hidden;
     77         display: inline-block;
     78       }
     79     }
     80 
     81 
     82 }
     83 
     84