Dotclear

source: admin/style/scss/partials/_tables.scss @ 3517:7db06cb5e221

Revision 3517:7db06cb5e221, 1.2 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

Minor CSS enhancements

RevLine 
[3439]1table {
2     .maximal,
3     &.maximal {
4          width: 100%;
5     }
6     .minimal {
7          width: 1px;
8     }
9     .nowrap {
10          white-space: nowrap;
11          vertical-align: top;
12     }
13     .count {
14          text-align: right;
15          padding-right: 1.5em;
16     }
[3355]17}
18
19th.first input {
[3439]20     padding-right: 34px;
[3355]21}
22
[3439]23th,
24tr.line {
25     img {
26          vertical-align: middle;
27          &.expand {
28               margin-right: 6px;
29               margin-bottom: -2px;
30          }
31     }
[3355]32}
33
[3439]34tr.line {
35     p {
36          margin: 0;
37     }
38     input,
39     select {
40          vertical-align: middle;
41          box-shadow: none;
42     }
43     select {
44          width: 6em;
45     }
46     input[type=text] {
47          background: #fff;
48     }
49     &:hover {
50          background: #f3f3f3;
51     }
[3355]52}
53
54td.status {
[3439]55     vertical-align: middle;
56     a {
57          border: none;
58     }
[3355]59}
60
61.noborder td,
62td.noborder,
63.noborder th,
64th.noborder {
[3439]65     border-width: 0 0 1px 0;
66     border-color: #dfdfdf;
67     line-height: 2em;
68     padding-bottom: 0;
[3355]69}
70
71.noborder p {
[3439]72     margin-bottom: 0;
[3355]73}
74
75table.posts-list {
[3439]76     min-width: 50%;
[3355]77}
78
79table.settings,
80table.prefs {
[3439]81     margin-bottom: 3em;
82     th:first-child {
83          width: 20%;
84     }
85     th + th {
86          width: 30%;
87          + th {
88               width: 10%;
89          }
90     }
91     th:last-child {
92          width: 40%;
93     }
[3355]94}
95
96
97/* js */
98
99td.expand {
[3439]100     padding: 1em;
101     td {
102          border-bottom: none;
103     }
[3355]104}
105
106.handle {
[3439]107     padding: 0;
[3355]108}
109
110.handler {
[3439]111     cursor: move;
112     background: transparent url(drag.png) no-repeat 0 50%;
113     padding-left: 15px;
[3355]114}
Note: See TracBrowser for help on using the repository browser.

Sites map