source: VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/webapp/css/_toggleborder.scss @ 5571

Last change on this file since 5571 was 5571, checked in by Twan Goosen, 10 years ago

styling of toggle border
Refs #594

File size: 2.1 KB
Line 
1/*
2Copyright (C) 2014 CLARIN
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 3 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program.  If not, see <http://www.gnu.org/licenses/>.
16*/
17
18div.toggleBorder {
19
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    }
64}
Note: See TracBrowser for help on using the repository browser.