123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183 |
- // Tables
- // --------------------------------------------------
- .table-footer {
- background: none;
- margin-bottom: 0px;
- padding: 0px 8px;
- position: relative;
- bottom: 20px;
-
- .pager {
- margin: 0px 0px;
- margin-top: 9px;
- padding: 0px;
- margin-right: 6px;
-
- &>li {
- margin-right: 6px;
-
- &>a {
- &:link, &:active, &:visited {
- background: darken(@bodyBackground, 8%);
- border: none;
- .border-radius(3px);
- padding: 2px 5px;
- }
-
- &:hover {
- background-color: @linkColor;
-
- i {
- background-image: url("@{iconWhiteSpritePath}");
- }
- }
- }
- }
- }
-
- .table-count {
- padding: 11px 0px;
-
- color: @gray;
- }
-
- .form-inline {
- margin: 0px;
- padding: 6px 0px;
- }
-
- .table-actions-right {
- margin-right: 16px;
- }
- }
- // Cell colors
- .table {
- td {
- &.perm-show,
- &.perm-read,
- &.perm-start,
- &.perm-reply,
- &.perm-upload,
- &.perm-download {
- text-align: center;
- }
- }
-
- tr:nth-child(even) {
- .perm-show {background-color: lighten(@blue, 40%);}
- .perm-read {background-color: lighten(@red, 40%);}
- .perm-start {background-color: lighten(@green, 40%);}
- .perm-reply {background-color: lighten(@yellow, 40%);}
- .perm-upload {background-color: lighten(@pink, 40%);}
- .perm-download {background-color: lighten(@orange, 40%);}
- }
-
- tr:nth-child(odd) {
- .perm-show {background-color: lighten(@blue, 30%);}
- .perm-read {background-color: lighten(@red, 30%);}
- .perm-start {background-color: lighten(@green, 30%);}
- .perm-reply {background-color: lighten(@yellow, 30%);}
- .perm-upload {background-color: lighten(@pink, 30%);}
- .perm-download {background-color: lighten(@orange, 30%);}
- }
- }
- // Checkbox cell
- td, th {
- &.check-cell {
- width: 32px;
- }
-
- .checkbox {
- margin-bottom: 0px;
- position: relative;
- bottom: 1px;
-
- input {
- position: relative;
- left: 9px;
- }
- }
- }
- // Lead cell
- td.lead-cell {
- font-size: 120%;
- }
- // Vertically centered table
- .table {
- td {
- vertical-align: middle;
- }
-
- select, .yes-no-switch {
- margin: 0px;
- }
-
- input {
- width: 90% !important;
- }
-
- .yes-no-switch {
- position: relative;
- top: 2px;
- }
- }
- // Table sorting styles
- th.table-sort {
- padding: 0px;
-
- a:link, a:active, a:visited a:hover{
- display: block;
- padding: 8px;
- }
-
- &.sort-active-asc {
- a:link, a:active, a:visited {
- border-bottom: 3px solid @blue;
- padding-bottom: 5px;
- }
-
- a:hover {
- border-bottom: 3px solid lighten(@red, 30%);
- padding-bottom: 5px;
-
- text-decoration: none;
- }
- }
-
- &.sort-active-desc {
- a:link, a:active, a:visited {
- border-bottom: 3px solid lighten(@red, 20%);
- padding-bottom: 5px;
- }
-
- a:hover {
- border-bottom: 3px solid lighten(@blue, 10%);
- padding-bottom: 5px;
-
- text-decoration: none;
- }
- }
-
- &.sort-asc {
- a:hover {
- border-bottom: 3px solid lighten(@blue, 40%);
- padding-bottom: 5px;
-
- text-decoration: none;
- }
- }
-
- &.sort-desc {
- a:hover {
- border-bottom: 3px solid lighten(@red, 40%);
- padding-bottom: 5px;
-
- text-decoration: none;
- }
- }
- }
|