Revision 3775:6c367dee2de0,
1.9 KB
checked in by franck <carnet.franck.paul@…>, 7 years ago
(diff) |
Add module description to title attribute of raw, hide description column on small displays (<= 1280px wide) ; should fixes #2268
|
Line | |
---|
1 | /* ------------------------------------------------------------------------------------ |
---|
2 | UN POIL DE MEDIA QUERIES |
---|
3 | ------------------------------------------------------------------------------------ */ |
---|
4 | |
---|
5 | @media screen and (max-width: $xl-screen) { |
---|
6 | #header, |
---|
7 | h1 { |
---|
8 | background: $header-background-alt; |
---|
9 | } |
---|
10 | #top-info-user { |
---|
11 | background: $header-background; |
---|
12 | a.active { |
---|
13 | color: $header-active-color-alt; |
---|
14 | background: $header-active-background-alt; |
---|
15 | } |
---|
16 | } |
---|
17 | #wrapper { |
---|
18 | background: $wrapper-background; |
---|
19 | } |
---|
20 | .modules { |
---|
21 | th.module-desc, |
---|
22 | td.module-desc { |
---|
23 | display: none; // Module description is also in title of the raw |
---|
24 | } |
---|
25 | } |
---|
26 | } |
---|
27 | |
---|
28 | @media screen and (max-width: $s-screen) { |
---|
29 | #help-button { |
---|
30 | background-color: $header-border; |
---|
31 | padding: 0; |
---|
32 | font-size: .83em; |
---|
33 | line-height: 68px; |
---|
34 | } |
---|
35 | } |
---|
36 | |
---|
37 | @media screen and (max-width: $xs-screen) { |
---|
38 | h1 a { |
---|
39 | &:link { |
---|
40 | border-right: 1px solid $tabs-border; |
---|
41 | } |
---|
42 | &:hover, |
---|
43 | &:focus { |
---|
44 | border-right: 1px solid $tabs-border; |
---|
45 | } |
---|
46 | } |
---|
47 | #dashboard-main { |
---|
48 | padding: 0; |
---|
49 | } |
---|
50 | #content, |
---|
51 | .hide-mm #content { |
---|
52 | padding: 0 .5em !important; |
---|
53 | } |
---|
54 | #main #content > h2 { |
---|
55 | padding: 6px 30px 4px .5em; |
---|
56 | } |
---|
57 | .cell, |
---|
58 | #filters-form .cell { |
---|
59 | border: none; |
---|
60 | padding: 1em; |
---|
61 | } |
---|
62 | .pseudo-tabs li { |
---|
63 | border-top: 1px solid $tabs-border; |
---|
64 | padding: .25em; |
---|
65 | &:first-child, |
---|
66 | &:nth-of-type(2) { |
---|
67 | border-top: none; |
---|
68 | } |
---|
69 | } |
---|
70 | } |
---|
71 | |
---|
72 | @media screen and (max-width: $xxs-screen) { |
---|
73 | h1, |
---|
74 | h1 a { |
---|
75 | border-right: $header-border-alt !important; |
---|
76 | } |
---|
77 | #content.with-help #help { |
---|
78 | font-size: 1.2rem // 12px; |
---|
79 | } |
---|
80 | p.top-add { |
---|
81 | text-align: center; |
---|
82 | } |
---|
83 | .multi-part { |
---|
84 | padding-left: 0; |
---|
85 | } |
---|
86 | .part-tabs ul { |
---|
87 | padding: 0 .5em; |
---|
88 | } |
---|
89 | #icons p { |
---|
90 | padding: 1em .25em; |
---|
91 | } |
---|
92 | .box.current-theme { |
---|
93 | padding: 10px; |
---|
94 | } |
---|
95 | th, |
---|
96 | td { |
---|
97 | padding: 0.3em 1em 0.3em 0; |
---|
98 | } |
---|
99 | .pseudo-tabs li { |
---|
100 | border-top: 1px solid $tabs-border !important; |
---|
101 | } |
---|
102 | .pseudo-tabs li:first-child { |
---|
103 | border-top: none; |
---|
104 | } |
---|
105 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.