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

Line 
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     }
17}
18
19th.first input {
20     padding-right: 34px;
21}
22
23th,
24tr.line {
25     img {
26          vertical-align: middle;
27          &.expand {
28               margin-right: 6px;
29               margin-bottom: -2px;
30          }
31     }
32}
33
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     }
52}
53
54td.status {
55     vertical-align: middle;
56     a {
57          border: none;
58     }
59}
60
61.noborder td,
62td.noborder,
63.noborder th,
64th.noborder {
65     border-width: 0 0 1px 0;
66     border-color: #dfdfdf;
67     line-height: 2em;
68     padding-bottom: 0;
69}
70
71.noborder p {
72     margin-bottom: 0;
73}
74
75table.posts-list {
76     min-width: 50%;
77}
78
79table.settings,
80table.prefs {
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     }
94}
95
96
97/* js */
98
99td.expand {
100     padding: 1em;
101     td {
102          border-bottom: none;
103     }
104}
105
106.handle {
107     padding: 0;
108}
109
110.handler {
111     cursor: move;
112     background: transparent url(drag.png) no-repeat 0 50%;
113     padding-left: 15px;
114}
Note: See TracBrowser for help on using the repository browser.

Sites map