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 | @include roundborder(6px); |
---|
31 | |
---|
32 | span { |
---|
33 | font-weight: bold; |
---|
34 | padding: 2px 2px 2px ($iconsize + 4px); |
---|
35 | /* icon from GLYPHICONS.com */ |
---|
36 | background-image: url('../icons/glyphicons_369_collapse_top_white.png'); |
---|
37 | background-size: $iconsize; |
---|
38 | background-repeat: no-repeat; |
---|
39 | background-position: center left; |
---|
40 | } |
---|
41 | |
---|
42 | &.collapsed span { |
---|
43 | /* icon from GLYPHICONS.com */ |
---|
44 | background-image: url('../icons/glyphicons_367_expand_white.png'); |
---|
45 | } |
---|
46 | } |
---|
47 | |
---|
48 | div.toggleBorderContent { |
---|
49 | margin: 0; |
---|
50 | padding: 5px; |
---|
51 | } |
---|
52 | } |
---|