Dotclear

source: admin/style/scss/partials/_tables.scss @ 3439:640a478849cf

Revision 3439:640a478849cf, 1.2 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

Prettify scss code

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     img {
57          margin-bottom: -2px;
58     }
59     a {
60          border: none;
61     }
62}
63
64.noborder td,
65td.noborder,
66.noborder th,
67th.noborder {
68     border-width: 0 0 1px 0;
69     border-color: #dfdfdf;
70     line-height: 2em;
71     padding-bottom: 0;
72}
73
74.noborder p {
75     margin-bottom: 0;
76}
77
78table.posts-list {
79     min-width: 50%;
80}
81
82table.settings,
83table.prefs {
84     margin-bottom: 3em;
85     th:first-child {
86          width: 20%;
87     }
88     th + th {
89          width: 30%;
90          + th {
91               width: 10%;
92          }
93     }
94     th:last-child {
95          width: 40%;
96     }
97}
98
99
100/* js */
101
102td.expand {
103     padding: 1em;
104     td {
105          border-bottom: none;
106     }
107}
108
109.handle {
110     padding: 0;
111}
112
113.handler {
114     cursor: move;
115     background: transparent url(drag.png) no-repeat 0 50%;
116     padding-left: 15px;
117}
Note: See TracBrowser for help on using the repository browser.

Sites map