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