Revision 3764:b50bf1d2ac95,
2.3 KB
checked in by franck <carnet.franck.paul@…>, 7 years ago
(diff) |
No more images for backgrounds or borders
|
Line | |
---|
1 | #dashboard-main { |
---|
2 | text-align: center; |
---|
3 | } |
---|
4 | |
---|
5 | |
---|
6 | /* raccourcis */ |
---|
7 | |
---|
8 | #icons { |
---|
9 | display: flex; |
---|
10 | flex-wrap: wrap; |
---|
11 | justify-content: center; |
---|
12 | p { |
---|
13 | width: 13em; |
---|
14 | text-align: center; |
---|
15 | margin: 1em 0 2em; |
---|
16 | } |
---|
17 | a { |
---|
18 | &, |
---|
19 | &:link, |
---|
20 | &:visited, |
---|
21 | &:hover, |
---|
22 | &:focus { |
---|
23 | border-bottom-width: 0; |
---|
24 | text-decoration: none; |
---|
25 | } |
---|
26 | span { |
---|
27 | color: $index-link-color; |
---|
28 | border-bottom: 1px dotted $index-link-border; |
---|
29 | } |
---|
30 | img { |
---|
31 | padding: 1.5em; |
---|
32 | background-color: $index-icon-background; |
---|
33 | border-radius: 8px; |
---|
34 | border: 1px solid $index-icon-border; |
---|
35 | display: inline-block; |
---|
36 | } |
---|
37 | &:focus { |
---|
38 | outline: 0; |
---|
39 | span { |
---|
40 | border: 2px solid $index-icon-outline; |
---|
41 | } |
---|
42 | } |
---|
43 | &:focus, |
---|
44 | &:hover { |
---|
45 | img { |
---|
46 | background: $index-icon-outline; |
---|
47 | outline: 0; |
---|
48 | border-color: $index-icon-border; |
---|
49 | } |
---|
50 | span { |
---|
51 | border-bottom-style: solid; |
---|
52 | } |
---|
53 | } |
---|
54 | } |
---|
55 | } |
---|
56 | |
---|
57 | |
---|
58 | /* billet rapide */ |
---|
59 | |
---|
60 | #quick { |
---|
61 | padding: 1em; |
---|
62 | max-width: 72em; |
---|
63 | margin: 0 auto; |
---|
64 | background: $quick-background; |
---|
65 | border: 1px solid $quick-border; |
---|
66 | text-align: left; |
---|
67 | h3 { |
---|
68 | margin-bottom: 0.2em; |
---|
69 | font-size: 1.2em; |
---|
70 | } |
---|
71 | p.qinfo { |
---|
72 | margin: -.7em -1em 1em; |
---|
73 | background: $quick-info-background url(msg-info.png) no-repeat .2em .2em; |
---|
74 | border: 1px solid $quick-info-border; |
---|
75 | padding: .2em 1em .1em 24px; |
---|
76 | color: $quick-info-color; |
---|
77 | } |
---|
78 | #new_cat, |
---|
79 | .q-cat, |
---|
80 | .q-cat label { |
---|
81 | display: inline-block; |
---|
82 | vertical-align: top; |
---|
83 | margin-right: 1em; |
---|
84 | margin-top: 0; |
---|
85 | } |
---|
86 | .q-cat label { |
---|
87 | margin-right: .3em; |
---|
88 | } |
---|
89 | #new_cat { |
---|
90 | margin-bottom: 2em; |
---|
91 | } |
---|
92 | } |
---|
93 | |
---|
94 | |
---|
95 | /* modules additionnels */ |
---|
96 | |
---|
97 | #dashboard-boxes { |
---|
98 | margin: 1em auto 1em; |
---|
99 | padding-top: 2em; |
---|
100 | display: flex; |
---|
101 | flex-wrap: wrap; |
---|
102 | justify-content: center; |
---|
103 | .box { |
---|
104 | padding: 10px; |
---|
105 | border: 1px solid $index-box-border; |
---|
106 | border-radius: 3px; |
---|
107 | min-height: 200px; |
---|
108 | margin: 10px; |
---|
109 | text-align: left; |
---|
110 | } |
---|
111 | } |
---|
112 | |
---|
113 | .db-items, |
---|
114 | .db-contents { |
---|
115 | // display: inline-block; |
---|
116 | // text-align: center; |
---|
117 | display: flex; |
---|
118 | flex-wrap: wrap; |
---|
119 | justify-content: center; |
---|
120 | flex: 1 1 auto; |
---|
121 | img { |
---|
122 | vertical-align: middle; |
---|
123 | } |
---|
124 | ul { |
---|
125 | display: block; |
---|
126 | padding-left: 1.5em; |
---|
127 | list-style: square; |
---|
128 | } |
---|
129 | li { |
---|
130 | margin: 0.25em 0 0 0; |
---|
131 | } |
---|
132 | } |
---|
133 | |
---|
134 | .no-js .outgoing img { |
---|
135 | display: none; |
---|
136 | } |
---|
137 | |
---|
138 | .dc-box { |
---|
139 | background: transparent url(dc_logos/sq-logo-32.png) no-repeat top right; |
---|
140 | } |
---|
141 | |
---|
142 | #news { |
---|
143 | dt { |
---|
144 | font-weight: bold; |
---|
145 | margin: 0 0 0.4em 0; |
---|
146 | } |
---|
147 | dd { |
---|
148 | margin: 0 0 1em 0; |
---|
149 | p { |
---|
150 | margin: 0.2em 0 0 0; |
---|
151 | } |
---|
152 | } |
---|
153 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.