Changeset 5571


Ignore:
Timestamp:
08/19/14 10:20:22 (10 years ago)
Author:
Twan Goosen
Message:

styling of toggle border
Refs #594

Location:
VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/webapp
Files:
2 added
1 moved

Legend:

Unmodified
Added
Removed
  • VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/webapp/css/_toggleborder.scss

    r5569 r5571  
    1616*/
    1717
    18 @import 'globals';
     18div.toggleBorder {
    1919
    20 div.toggleBorder {
    21     border-top: 1px solid #000000;
     20    div.toggleBorderHeader {
     21        margin: 0;
     22        padding-left: 4px;
     23        color: #fff;
     24        font-weight: bolder;
     25        cursor: pointer;
     26
     27        /* mimick header of 'display' table (CLARIN style) */
     28        background-color: $clarin_blue;
     29
     30        border-top-left-radius: 6px !important;
     31        border-bottom-left-radius: 6px !important;
     32        -webkit-border-top-left-radius: 6px !important;
     33        -webkit-border-bottom-left-radius: 6px !important;
     34        -moz-border-top-left-radius: 6px !important;
     35        -moz-border-bottom-left-radius: 6px !important; 
     36
     37        border-top-right-radius: 6px !important;
     38        border-bottom-right-radius: 6px !important;
     39        -webkit-border-top-right-radius: 6px !important;
     40        -webkit-border-bottom-right-radius: 6px !important;
     41        -moz-border-top-right-radius: 6px !important;
     42        -moz-border-bottom-right-radius: 6px !important;
     43
     44        span {
     45            font-weight: bold;
     46            padding: 2px 2px 2px ($iconsize + 4px);
     47            /* icon from GLYPHICONS.com */
     48            background-image: url('../icons/glyphicons_369_collapse_top_white.png');
     49            background-size: $iconsize;
     50            background-repeat: no-repeat;
     51            background-position: center left;
     52        }
     53
     54        &.collapsed span {
     55            /* icon from GLYPHICONS.com */
     56            background-image: url('../icons/glyphicons_367_expand_white.png');
     57        }
     58    }
     59
     60    div.toggleBorderContent {
     61        margin: 0;
     62        padding: 5px;
     63    }
    2264}
    23 
    24 div.toggleBorder div.toggleBorderHeader {
    25     margin: 0;
    26     padding: 2px 2px 2px 16px;
    27     border-bottom: 1px solid #000000;
    28     color: inherit;
    29     background-color: #D4DEEF;
    30     /* icon from GLYPHICONS.com */
    31     background-image: url('../icons/glyphicons_369_collapse_top.png');
    32     background-size: $iconsize;
    33     background-repeat: no-repeat;
    34     background-position: center left;
    35     cursor: pointer;
    36 }
    37 
    38 div.toggleBorder div.toggleBorderHeader span {
    39     font-weight: bold;
    40 }
    41 
    42 div.toggleBorder div.toggleBorderHeader.collapsed {
    43     /* icon from GLYPHICONS.com */
    44     background-image: url('../icons/glyphicons_367_expand.png');
    45     background-size: $iconsize;
    46     background-repeat: no-repeat;
    47     background-position: center left;
    48 }
    49 
    50 div.toggleBorder div.toggleBorderContent {
    51     margin: 0;
    52     padding: 5px;
    53 }
    54 
Note: See TracChangeset for help on using the changeset viewer.