2014-09-08 17:39:43 +00:00
|
|
|
/**
|
2015-04-02 10:20:13 +00:00
|
|
|
* @file
|
|
|
|
* Seven styles for Tables.
|
2014-09-08 17:39:43 +00:00
|
|
|
*/
|
2015-04-02 10:20:13 +00:00
|
|
|
|
2014-09-08 17:39:43 +00:00
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
margin: 0 0 10px;
|
|
|
|
}
|
|
|
|
caption {
|
|
|
|
text-align: left; /* LTR */
|
|
|
|
}
|
|
|
|
[dir="rtl"] caption {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
th {
|
|
|
|
text-align: left; /* LTR */
|
|
|
|
padding: 10px 12px;
|
|
|
|
}
|
|
|
|
[dir="rtl"] th {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
thead th {
|
|
|
|
background: #f5f5f2;
|
|
|
|
border: solid #bfbfba;
|
|
|
|
border-width: 1px 0;
|
|
|
|
color: #333;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
tr {
|
|
|
|
border-bottom: 1px solid #e6e4df;
|
|
|
|
padding: 0.1em 0.6em;
|
|
|
|
}
|
|
|
|
thead > tr {
|
|
|
|
border-bottom: 1px solid #000;
|
|
|
|
}
|
2014-10-07 16:09:03 +00:00
|
|
|
tbody tr:hover,
|
|
|
|
tbody tr:focus {
|
2014-09-08 17:39:43 +00:00
|
|
|
background: #f7fcff;
|
|
|
|
}
|
2015-01-23 12:28:58 +00:00
|
|
|
|
|
|
|
/* See colors.css */
|
|
|
|
tbody tr.color-warning:hover,
|
|
|
|
tbody tr.color-warning:focus {
|
|
|
|
background: #fdf8ed;
|
|
|
|
}
|
|
|
|
tbody tr.color-error:hover,
|
|
|
|
tbody tr.color-error:focus {
|
|
|
|
background: #fcf4f2;
|
|
|
|
}
|
2014-09-08 17:39:43 +00:00
|
|
|
td,
|
|
|
|
th {
|
2014-10-03 10:12:29 +00:00
|
|
|
vertical-align: middle;
|
2014-09-08 17:39:43 +00:00
|
|
|
}
|
|
|
|
td {
|
|
|
|
padding: 10px 12px;
|
|
|
|
text-align: left; /* LTR */
|
|
|
|
}
|
|
|
|
[dir="rtl"] td {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
th > a {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 1. Must match negative bottom padding of the parent <th> */
|
|
|
|
th > a:after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: -10px; /* 1. */
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
border-bottom: 2px solid transparent;
|
2014-09-11 16:56:28 +00:00
|
|
|
-webkit-transition: all 0.1s;
|
2014-09-08 17:39:43 +00:00
|
|
|
transition: all 0.1s;
|
|
|
|
}
|
Issue #2031641 by aburrows, lauriii, nlisgo, Pol, redsquid, tuutti, LewisNyman, akalata, agviu, kallehauge, _nolocation, rpayanm, saki007ster, mdrummond, RavindraSingh, brahmjeet789: Change active class to is-active
2015-04-16 14:25:55 +00:00
|
|
|
th.is-active > a {
|
2014-09-08 17:39:43 +00:00
|
|
|
color: #004875;
|
|
|
|
}
|
Issue #2031641 by aburrows, lauriii, nlisgo, Pol, redsquid, tuutti, LewisNyman, akalata, agviu, kallehauge, _nolocation, rpayanm, saki007ster, mdrummond, RavindraSingh, brahmjeet789: Change active class to is-active
2015-04-16 14:25:55 +00:00
|
|
|
th.is-active img {
|
2014-09-08 17:39:43 +00:00
|
|
|
position: absolute;
|
|
|
|
right: 0; /* LTR */
|
|
|
|
top: 50%;
|
|
|
|
}
|
Issue #2031641 by aburrows, lauriii, nlisgo, Pol, redsquid, tuutti, LewisNyman, akalata, agviu, kallehauge, _nolocation, rpayanm, saki007ster, mdrummond, RavindraSingh, brahmjeet789: Change active class to is-active
2015-04-16 14:25:55 +00:00
|
|
|
[dir="rtl"] th.is-active img {
|
2014-09-08 17:39:43 +00:00
|
|
|
right: auto;
|
|
|
|
left: 0;
|
|
|
|
}
|
Issue #2031641 by aburrows, lauriii, nlisgo, Pol, redsquid, tuutti, LewisNyman, akalata, agviu, kallehauge, _nolocation, rpayanm, saki007ster, mdrummond, RavindraSingh, brahmjeet789: Change active class to is-active
2015-04-16 14:25:55 +00:00
|
|
|
th.is-active > a:after {
|
2014-09-08 17:39:43 +00:00
|
|
|
border-bottom-color: #004875;
|
|
|
|
}
|
|
|
|
th > a:hover,
|
2014-10-07 16:09:03 +00:00
|
|
|
th > a:focus,
|
Issue #2031641 by aburrows, lauriii, nlisgo, Pol, redsquid, tuutti, LewisNyman, akalata, agviu, kallehauge, _nolocation, rpayanm, saki007ster, mdrummond, RavindraSingh, brahmjeet789: Change active class to is-active
2015-04-16 14:25:55 +00:00
|
|
|
th.is-active > a:hover,
|
|
|
|
th.is-active > a:focus {
|
2014-09-08 17:39:43 +00:00
|
|
|
color: #008ee6;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
th > a:hover:after,
|
2014-10-07 16:09:03 +00:00
|
|
|
th > a:focus:after,
|
Issue #2031641 by aburrows, lauriii, nlisgo, Pol, redsquid, tuutti, LewisNyman, akalata, agviu, kallehauge, _nolocation, rpayanm, saki007ster, mdrummond, RavindraSingh, brahmjeet789: Change active class to is-active
2015-04-16 14:25:55 +00:00
|
|
|
th.is-active > a:hover:after,
|
|
|
|
th.is-active > a:focus:after {
|
2014-09-08 17:39:43 +00:00
|
|
|
border-bottom-color: #008ee6;
|
|
|
|
}
|
2014-10-06 18:40:59 +00:00
|
|
|
td .item-list ul {
|
2014-09-08 17:39:43 +00:00
|
|
|
margin: 0;
|
|
|
|
}
|
Issue #2031641 by aburrows, lauriii, nlisgo, Pol, redsquid, tuutti, LewisNyman, akalata, agviu, kallehauge, _nolocation, rpayanm, saki007ster, mdrummond, RavindraSingh, brahmjeet789: Change active class to is-active
2015-04-16 14:25:55 +00:00
|
|
|
td.is-active {
|
2014-09-08 17:39:43 +00:00
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Force browsers to calculate the width of a 'select all' TH element. */
|
|
|
|
th.select-all {
|
|
|
|
width: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Captions.
|
|
|
|
*/
|
|
|
|
.caption {
|
|
|
|
margin-bottom: 1.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Responsive tables.
|
|
|
|
*/
|
|
|
|
@media screen and (max-width: 37.5em) { /* 600px */
|
|
|
|
th.priority-low,
|
|
|
|
td.priority-low,
|
|
|
|
th.priority-medium,
|
|
|
|
td.priority-medium {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 60em) { /* 920px */
|
|
|
|
th.priority-low,
|
|
|
|
td.priority-low {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|