]> git.immae.eu Git - github/wallabag/wallabag.git/blob - src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css
fix #1282
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / material / public / css / main.css
1 /* ==========================================================================
2 Sommaire
3
4 0 = Common
5 1 = Nav
6 2 = Side-nav
7
8 2 = Layout
9 3 = Pictos
10 4 = Messages
11 5 = Article
12
13 6 = Media queries
14
15 ========================================================================== */
16
17
18 /* ==========================================================================
19 0 = Common
20 ========================================================================== */
21
22 body {
23 display: flex;
24 min-height: 100vh;
25 flex-direction: column;
26 background: #f0f0f0;
27 }
28
29 .border-bottom {
30 border-bottom: 1px solid #DDD;
31 }
32
33 nav, main, footer {
34 padding-left: 240px;
35 }
36
37 #main {
38 flex: 1 0 auto;
39 }
40
41 .results {
42 height: 1em;
43 line-height: 30px;
44 }
45
46 .results .nb-results, .results .pagination {
47 margin: 15px;
48 margin-bottom: 0;
49 }
50
51 .page-footer .footer-copyright p {
52 display: inline;
53 }
54
55 .hidden {
56 display: none;
57 }
58
59 /* ==========================================================================
60 1 = Nav
61 ========================================================================== */
62
63 .nav-wrapper .button-collapse {
64 padding: 0px 15px;
65 }
66
67 .nav-input {
68 display: none;
69 }
70
71 .nav-panels {
72 overflov: hidden;
73 }
74
75 .nav-panel-buttom li {
76 max-height: 64px;
77 }
78
79 .nav-panel-buttom {
80 float: right;
81 }
82
83 .nav-panels {
84 transition: background 0.2s ease;
85 }
86
87 .nav-panel-search .mdi-navigation-close, .nav-panel-search .mdi-action-search {
88 color: #444 !important;
89 }
90
91 /* ==========================================================================
92 2 = Side-nav
93 ========================================================================== */
94
95 .side-nav.fixed a {
96 font-size: 13px;
97 line-height: 44px;
98 height: 44px;
99 }
100
101 .bold > a {
102 font-weight: bold;
103 }
104
105 .side-nav > li.logo {
106 line-height: 0;
107 text-align: center;
108 }
109
110 #main .logo a {
111 height: 100pt;
112 }
113
114 #main .logo img {
115 height: 100pt;
116 width: 100pt;
117 }
118
119 .side-nav li {
120 padding: 0px;
121 }
122
123 .side-nav a {
124 margin: 0px 1rem;
125 }
126
127 /* ==========================================================================
128 3 = Cards
129 ========================================================================== */
130
131 main #content {
132 padding: 0px 0.5rem;
133 }
134
135 main ul.row {
136 padding: 0px 0.75rem;
137 }
138
139 .data .card .card-content {
140 min-height: 25em;
141 }
142
143 .card .card-content .card-title {
144 line-height: 32px;
145 }
146
147 .card .card-content .estimatedTime {
148 margin-bottom: 10px;
149 }
150
151 .card .card-action .original {
152 line-height: 24px;
153 }
154
155 .card .card-action ul.links {
156 margin: 0;
157 font-size: 24px;
158 line-height: 24px;
159 }
160
161 .card .card-action a {
162 margin: 0;
163 }
164
165 .settings .div_tabs {
166 padding-bottom: 15px;
167 }
168
169 .card.sw {
170 max-width: 370px;
171 margin-left: auto;
172 margin-right: auto;
173 }
174
175 /* ==========================================================================
176 4 = Article
177 ========================================================================== */
178
179 #article {
180 font-size: 20px;
181 margin: 0px auto;
182 max-width: 30em;
183 }
184
185 .reader-mode {
186 width: 95px !important;
187 transition: width 0.2s ease;
188 }
189
190 .reader-mode:hover {
191 width: 240px !important;
192 }
193
194 .reader-mode span {
195 opacity: 0;
196 transition: opacity 0.2s ease;
197 }
198
199 .reader-mode:hover span {
200 opacity: 1;
201 }
202
203 /* ==========================================================================
204 6 = Media queries
205 ========================================================================== */
206
207 @media only screen and (max-width : 992px) {
208 header, main, footer {
209 padding-left: 0;
210 }
211 nav, main, footer {
212 padding-left: 0;
213 }
214 .pagination {
215 width: auto;
216 }
217 .reader-mode {
218 width: 240px !important;
219 }
220 .reader-mode span {
221 opacity: 1;
222 }
223 }
224
225 @media only screen and (min-width : 993px) and (max-width : 1180px) {
226 .row .col.l1 {
227 width: 25%;
228 margin-left: 0; }
229 .row .col.l2 {
230 width: 33.33333%;
231 margin-left: 0; }
232 .row .col.l3 {
233 width: 41.66667%;
234 margin-left: 0; }
235 .row .col.l4 {
236 width: 50%;
237 margin-left: 0; }
238 .row .col.l5 {
239 width: 58.33333%;
240 margin-left: 0; }
241 .row .col.l6 {
242 width: 66.66667%;
243 margin-left: 0; }
244 .row .col.l7 {
245 width: 75%;
246 margin-left: 0; }
247 .row .col.l8 {
248 width: 83.33333%;
249 margin-left: 0; }
250 .row .col.l9 {
251 width: 91.66667%;
252 margin-left: 0; }
253 .row .col.l10 {
254 width: 100%;
255 margin-left: 0; }
256 }
257
258 @media only screen and (max-width : 350px) {
259 .nb-results {
260 display: none;
261 }
262 }