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 | table { |
---|
19 | td.action { |
---|
20 | width: 8em; |
---|
21 | text-align: right; |
---|
22 | } |
---|
23 | |
---|
24 | td.type { |
---|
25 | width: 5em; |
---|
26 | } |
---|
27 | } |
---|
28 | |
---|
29 | table.moving { |
---|
30 | |
---|
31 | tr:hover td { |
---|
32 | border-top: 6px solid $red !important; |
---|
33 | } |
---|
34 | |
---|
35 | tr.moving:hover td { |
---|
36 | border-top: 0px !important; |
---|
37 | } |
---|
38 | } |
---|
39 | |
---|
40 | table.resourcesTable { |
---|
41 | |
---|
42 | width: 800px; |
---|
43 | table-layout: fixed; |
---|
44 | |
---|
45 | td.move { |
---|
46 | width: 5em; |
---|
47 | } |
---|
48 | |
---|
49 | tr.moving { |
---|
50 | background-color: $red !important; |
---|
51 | |
---|
52 | td, td a { |
---|
53 | background-color: $red !important; |
---|
54 | color: white !important; |
---|
55 | } |
---|
56 | } |
---|
57 | |
---|
58 | } //table.resourcesTable |
---|
59 | |
---|
60 | table.creatorsTable { |
---|
61 | |
---|
62 | width: 800px; |
---|
63 | table-layout: fixed; |
---|
64 | |
---|
65 | td { |
---|
66 | width: 252px; |
---|
67 | overflow: hidden; |
---|
68 | } |
---|
69 | } //table.creatorsTable |
---|
70 | |
---|
71 | table.collectionsTable { |
---|
72 | |
---|
73 | width: 100%; |
---|
74 | table-layout: fixed; |
---|
75 | position: static !important; |
---|
76 | |
---|
77 | th, td { |
---|
78 | vertical-align: top; |
---|
79 | padding-left: .5em; |
---|
80 | |
---|
81 | &.state { |
---|
82 | width: 5em; |
---|
83 | } |
---|
84 | |
---|
85 | &.type { |
---|
86 | width: 7em; |
---|
87 | } |
---|
88 | |
---|
89 | &.created { |
---|
90 | width: 7em; |
---|
91 | } |
---|
92 | |
---|
93 | &.action { |
---|
94 | width: 2em; |
---|
95 | } |
---|
96 | } |
---|
97 | |
---|
98 | td.name { |
---|
99 | |
---|
100 | width: auto; |
---|
101 | |
---|
102 | div.name { |
---|
103 | padding-left: 16px; |
---|
104 | /* icon from GLYPHICONS.com */ |
---|
105 | background-image: url('../icons/glyphicons_367_expand.png'); |
---|
106 | background-size: $iconsize; |
---|
107 | background-repeat: no-repeat; |
---|
108 | background-position: center left; |
---|
109 | cursor: pointer; |
---|
110 | |
---|
111 | |
---|
112 | |
---|
113 | &:hover { |
---|
114 | color: #AE0000; |
---|
115 | background-color: inherit; |
---|
116 | } |
---|
117 | |
---|
118 | &.detailsShown { |
---|
119 | padding-left: 16px; |
---|
120 | /* icon from GLYPHICONS.com */ |
---|
121 | background-image: url('../icons/glyphicons_369_collapse_top.png'); |
---|
122 | background-size: $iconsize; |
---|
123 | background-repeat: no-repeat; |
---|
124 | background-position: center left; |
---|
125 | } |
---|
126 | |
---|
127 | &.noDetails{ |
---|
128 | background-image: none; |
---|
129 | } |
---|
130 | |
---|
131 | } |
---|
132 | |
---|
133 | div.details { |
---|
134 | margin-left: 16px; |
---|
135 | margin-right: -248px; |
---|
136 | width: 964px; |
---|
137 | } |
---|
138 | |
---|
139 | div.desc { |
---|
140 | text-align: justify; |
---|
141 | padding: 4px 0 0 0; |
---|
142 | } |
---|
143 | |
---|
144 | div.actions { |
---|
145 | margin: 4px 0 2px 0; |
---|
146 | } |
---|
147 | } //td.name |
---|
148 | |
---|
149 | |
---|
150 | &.public td.action span, |
---|
151 | &.private td.action div.popupTrigger span { |
---|
152 | display: none; |
---|
153 | } |
---|
154 | |
---|
155 | &.public td.action a, &.private td.action div.popupTrigger { |
---|
156 | display: block; |
---|
157 | width: $iconsize; |
---|
158 | height: $iconsize; |
---|
159 | background: transparent no-repeat center center; |
---|
160 | background-size: $iconsize; |
---|
161 | margin-right: 2px; |
---|
162 | margin-top: 3px; |
---|
163 | } |
---|
164 | |
---|
165 | &.public td.action a { |
---|
166 | /* icon from GLYPHICONS.com */ |
---|
167 | background-image: url('../icons/glyphicons_236_zoom_in.png'); |
---|
168 | } |
---|
169 | |
---|
170 | &.private td.action div.popupTrigger { |
---|
171 | /* icon from GLYPHICONS.com */ |
---|
172 | background-image: url('../icons/glyphicons_136_cogwheel.png'); |
---|
173 | } |
---|
174 | } //table.collectionsTable |
---|
175 | |
---|
176 | /* ORDERING */ |
---|
177 | |
---|
178 | tr.headers { |
---|
179 | |
---|
180 | a.wicket_orderNone, a.wicket_orderUp, a.wicket_orderDown { |
---|
181 | padding-right: 18px; |
---|
182 | background-color: transparent; |
---|
183 | background-repeat: no-repeat; |
---|
184 | background-position: center right; |
---|
185 | } |
---|
186 | |
---|
187 | a.wicket_orderNone { |
---|
188 | background-image: url('../icons/sort_both.png'); |
---|
189 | } |
---|
190 | |
---|
191 | a.wicket_orderUp { |
---|
192 | background-image: url('../icons/sort_asc.png'); |
---|
193 | } |
---|
194 | |
---|
195 | a.wicket_orderDown { |
---|
196 | background-image: url('../icons/sort_desc.png'); |
---|
197 | } |
---|
198 | } |
---|