source: VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/webapp/css/table.scss @ 5562

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

modularised VCR SCSS. Tweaked layout of collections table
Refs #594

File size: 3.8 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
18table td.action {
19    width: 8em;
20    text-align: right;
21}
22
23table.resourcesTable td.move {
24    width: 5em;
25}
26
27table.resourcesTable tr.moving {
28    background: #ccc;
29}
30
31table.moving tr:hover td {
32    border-top: 6px solid #ccc;
33}
34
35table.moving tr.moving:hover td {
36    border-top: 0px;
37}
38
39table.resourcesTable tr.moving td, table.resourcesTable tr.moving td a {
40    color: #333;
41}
42
43/*
44table td.norecords-td {
45    text-align: center;
46    color: inherit;
47    background-color: #FFFFFF;
48}
49
50table thead tr.navigation {
51    border-bottom: 1px dotted #BBBBBB;
52}
53
54table tr.navigation div {
55    clear: none !important;
56}
57*/
58
59table.creatorsTable,
60table.resourcesTable {
61    width: 805px;
62}
63
64table.creatorsTable td {
65    width: 252px;
66    overflow: hidden;
67}
68
69table td.type {
70    width: 60px;
71}
72
73/* ORDERING */
74
75tr.headers a.wicket_orderNone {
76    padding-right: 7px;
77    background: transparent url('../icons/order_none.png') no-repeat center right;
78}
79
80tr.headers a.wicket_orderUp {
81    padding-right: 7px;
82    background: transparent url('../icons/order_up.png') no-repeat center right;
83}
84
85tr.headers a.wicket_orderDown {
86    padding-right: 7px;
87    background: transparent url('../icons/order_down.png') no-repeat center right;
88}
89
90/* COLLECTIONS TABLE */
91
92table.collectionsTable {
93    width: 100%;
94    table-layout: fixed;
95}
96
97table.collectionsTable th,
98table.collectionsTable td {
99    vertical-align: top;
100}
101
102table.collectionsTable td.name div.name {
103    padding-left: 16px;
104    background-image: url('../icons/bullet_arrow_down.png');
105    background-repeat: no-repeat;
106    background-position: center left;
107    cursor: pointer;
108}
109
110table.collectionsTable td.name div.name:hover {
111    color: #AE0000;
112    background-color: inherit;
113}
114
115table.collectionsTable td.name div.name.detailsShown {
116    padding-left: 16px;
117    background-image: url('../icons/bullet_arrow_up.png');
118    background-repeat: no-repeat;
119    background-position: center left;
120}
121
122table.collectionsTable td.name div.name.noDetails{
123    background-image: none;
124}
125
126table.collectionsTable td.name div.details {
127    margin-left: 16px;
128    margin-right: -248px;
129    width: 964px;
130}
131
132table.collectionsTable td.name div.desc {
133    text-align: justify;
134    padding: 4px 0 0 0;
135}
136
137table.collectionsTable td.name div.actions {
138    margin: 4px 0 2px 0;
139}
140
141table.collectionsTable th.state,
142table.collectionsTable td.state {
143    width: 5em;
144}
145
146table.collectionsTable th.type,
147table.collectionsTable td.type {
148    width: 7em;
149}
150
151table.collectionsTable th.created,
152table.collectionsTable td.created {
153    width: 7em;
154}
155
156table.collectionsTable td.action,
157table.collectionsTable th.action {
158    width: 2em;
159}
160
161table.collectionsTable.public td.action span,
162table.collectionsTable.private td.action div.popupTrigger span {
163    display: none;
164}
165
166table.collectionsTable.public td.action a {
167    display: block;
168    width: 12px;
169    height: 12px;
170    margin-right: 2px;
171    background: transparent url('../icons/magnifier.png') no-repeat center center;
172}
173
174table.collectionsTable.private td.action div.popupTrigger {
175    display: block;
176    width: 12px;
177    height: 12px;
178    margin-right: 2px;
179    background: transparent url('../icons/wrench.png') no-repeat center center;
180}
Note: See TracBrowser for help on using the repository browser.