3
3
@import " utils/_keyframes.import.less" ;
4
4
@import " utils/_loading.import.less" ;
5
5
6
+ @smartphones : ~ " only screen and (max-width: 480px)" ;
7
+ @footer-min-height-media : 65px ;
8
+
6
9
* {
7
10
box-sizing : border-box ;
8
11
-moz-box-sizing : border-box ;
@@ -77,6 +80,10 @@ input:focus {
77
80
color : rgba (255 , 255 , 255 , 0.85 );
78
81
background-color : lighten (desaturate (@primary-background-color , 15% ), 12.5% );
79
82
83
+ @media @smartphones {
84
+ font-size : 15px ;
85
+ }
86
+
80
87
span {
81
88
position : relative ;
82
89
z-index : 2 ;
@@ -158,27 +165,54 @@ input:focus {
158
165
cursor : pointer ;
159
166
padding : 0 10px ;
160
167
168
+ @media @smartphones {
169
+ border-top-right-radius : 0px ;
170
+ border-top-left-radius : 0px ;
171
+ flex : 1 0 50px ;
172
+ line-height : 50px ;
173
+ }
174
+
161
175
h1 {
162
176
margin : 0 ;
163
177
font-size : 10pt ;
164
178
display : inline-block ;
179
+
180
+ @media @smartphones {
181
+ font-size : 13pt ;
182
+ }
183
+
165
184
}
166
185
167
186
.toolbar {
168
187
display : inline-block ;
169
188
float : right ;
170
189
171
190
svg {
172
- cursor : pointer ;
173
- fill : currentColor ;
174
- width : 14px ;
175
- margin : 0 5px ;
176
- vertical-align : middle ;
177
-
178
- & :last-of-type {
179
- margin-right : 0 ;
180
- }
191
+ cursor : pointer ;
192
+ fill : currentColor ;
193
+ width : 14px ;
194
+ margin : 0 5px ;
195
+ vertical-align : middle ;
196
+
197
+ @media @smartphones {
198
+ width : 20px ;
199
+ }
200
+
201
+ & :last-of-type {
202
+ margin-right : 0 ;
203
+ }
181
204
}
205
+ svg .maximize {
206
+ @media @smartphones {
207
+ display : none ;
208
+ }
209
+ }
210
+ svg .popout {
211
+ @media @smartphones {
212
+ display : none ;
213
+ }
214
+ }
215
+
182
216
}
183
217
}
184
218
@@ -205,14 +239,36 @@ input:focus {
205
239
.info {
206
240
flex : 1 ;
207
241
padding : 5px 0 ;
242
+ }
243
+
244
+ ul {
245
+
246
+ @media @smartphones {
247
+ width : 95% ;
248
+ margin-right : -10px ;
249
+
250
+ }
208
251
209
252
h2 {
210
253
color : @primary-font-color ;
211
254
font-size : 14px ;
255
+
256
+ @media @smartphones {
257
+ font-size : 16px ;
258
+ margin-bottom : 7px ;
259
+ margin-top : 5px ;
260
+ }
212
261
}
213
262
214
263
li {
215
264
font-size : 11px ;
265
+
266
+ @media @smartphones {
267
+ font-size : 14px ;
268
+ text-overflow : ellipsis ;
269
+ overflow : hidden ;
270
+ white-space : nowrap ;
271
+ }
216
272
}
217
273
}
218
274
}
@@ -224,9 +280,17 @@ input:focus {
224
280
border-right : 1px solid @window-border-color ;
225
281
overflow-y : auto ;
226
282
283
+ @media @smartphones {
284
+ margin-bottom : 64px ;
285
+ }
286
+
227
287
.wrapper {
228
288
padding-bottom : 6px ;
229
289
290
+ @media @smartphones {
291
+ padding-bottom : 13px ;
292
+ }
293
+
230
294
ul {
231
295
list-style-type : none ;
232
296
padding : 0 ;
@@ -243,6 +307,10 @@ input:focus {
243
307
line-height : 18px ;
244
308
min-height : 36px ;
245
309
310
+ @media @smartphones {
311
+ line-height : 18px ;
312
+ }
313
+
246
314
& ::after {
247
315
content : ' ' ;
248
316
display : block ;
@@ -299,6 +367,10 @@ input:focus {
299
367
padding : 0 10px ;
300
368
background-color : #ffffff ;
301
369
min-width : 120px ;
370
+
371
+ @media @smartphones {
372
+ font-size :12px ;
373
+ }
302
374
}
303
375
304
376
.content {
@@ -354,6 +426,11 @@ input:focus {
354
426
margin-right : 5px ;
355
427
outline : none ;
356
428
429
+ @media @smartphones {
430
+ font-size : 15px ;
431
+ margin-bottom : 5px ;
432
+ }
433
+
357
434
& :hover {
358
435
color : #333333 ;
359
436
}
@@ -378,6 +455,10 @@ input:focus {
378
455
left : -10px ;
379
456
width : 55px ;
380
457
458
+ @media @smartphones {
459
+ font-size : 10px ;
460
+ }
461
+
381
462
.edited {
382
463
display : inline-block ;
383
464
}
@@ -433,6 +514,10 @@ input:focus {
433
514
.body {
434
515
opacity : 1 ;
435
516
transition : opacity 1s linear ;
517
+
518
+ @media @smartphones {
519
+ font-size : 15px ;
520
+ }
436
521
}
437
522
438
523
& .temp .body {
@@ -476,9 +561,19 @@ input:focus {
476
561
z-index : 5 ;
477
562
transition : transform 0.3s ease-out ;
478
563
transform : translateY (-40px );
564
+ visibility : visible ;
565
+
566
+ @media @smartphones {
567
+ width : 145px ;
568
+ height : 34px ;
569
+ font-size : 14px ;
570
+ line-height : 33px ;
571
+ bottom : 30px ;
572
+ }
479
573
480
574
& .not {
481
575
transform : translateY (100% );
576
+ visibility : hidden ;
482
577
}
483
578
}
484
579
@@ -491,9 +586,15 @@ input:focus {
491
586
z-index : 8 ;
492
587
transition : transform 0.2s ease-out ;
493
588
transform : translateY (100% );
589
+ visibility : hidden ;
590
+
591
+ @media @smartphones {
592
+ bottom : @footer-min-height-media ;
593
+ }
494
594
495
595
& .show {
496
596
transform : translateY (0 );
597
+ visibility : visible ;
497
598
}
498
599
}
499
600
}
@@ -506,6 +607,13 @@ input:focus {
506
607
border-left : 1px solid @window-border-color ;
507
608
border-right : 1px solid @window-border-color ;
508
609
610
+ @media @smartphones {
611
+ flex : 1 0 @footer-min-height-media ;
612
+ position : fixed ;
613
+ bottom : 0 ;
614
+ width : 100% ;
615
+ }
616
+
509
617
.message-bar {
510
618
display : flex ;
511
619
flex-direction : row ;
@@ -530,6 +638,12 @@ input:focus {
530
638
line-height : normal ;
531
639
background-color : #ffffff ;
532
640
position : relative ;
641
+
642
+ @media @smartphones {
643
+ padding-top :7px ;
644
+ font-size : 15px ;
645
+ height : 35px !important ;
646
+ }
533
647
}
534
648
}
535
649
@@ -547,6 +661,11 @@ input:focus {
547
661
cursor : pointer ;
548
662
transition : fill 0.15s ease-out ;
549
663
664
+ @media @smartphones {
665
+ width : 23px ;
666
+ height : 23px ;
667
+ }
668
+
550
669
& :hover {
551
670
fill : @primary-font-color ;
552
671
}
@@ -561,6 +680,11 @@ input:focus {
561
680
outline : none ;
562
681
margin-top : 5px ;
563
682
font-size : 0.65rem ;
683
+
684
+ @media @smartphones {
685
+ margin-top : 5px ;
686
+ margin-bottom : 6px ;
687
+ }
564
688
}
565
689
566
690
.typing {
@@ -570,6 +694,11 @@ input:focus {
570
694
outline : none ;
571
695
margin-top : 2px ;
572
696
font-size : 0.65rem ;
697
+
698
+ @media @smartphones {
699
+ margin-top : 4px ;
700
+ margin-bottom : 4px ;
701
+ }
573
702
}
574
703
575
704
.options-menu {
@@ -609,6 +738,10 @@ input:focus {
609
738
display : block ;
610
739
padding : 4px 2px ;
611
740
outline : none ;
741
+
742
+ @media @smartphones {
743
+ font-size : 14px ;
744
+ }
612
745
}
613
746
}
614
747
}
@@ -622,6 +755,10 @@ input:focus {
622
755
border-left : 1px solid @window-border-color ;
623
756
border-right : 1px solid @window-border-color ;
624
757
758
+ @media @smartphones {
759
+ font-size : 15px ;
760
+ }
761
+
625
762
.offline-message {
626
763
padding : 1em 0 ;
627
764
}
@@ -635,10 +772,18 @@ input:focus {
635
772
textarea {
636
773
display : block ;
637
774
width : 100% ;
775
+
776
+ @media @smartphones {
777
+ width : 85% ;
778
+ margin : 15px auto ;
779
+ }
638
780
}
639
781
640
782
.buttons {
641
783
text-align : center ;
784
+ @media @smartphones {
785
+ font-size : 15px !important ;
786
+ }
642
787
}
643
788
644
789
.error {
@@ -685,6 +830,15 @@ input:focus {
685
830
input ,
686
831
select {
687
832
width : 100% ;
833
+
834
+ @media @smartphones {
835
+ font-size : 15px ;
836
+ }
837
+
838
+ @media @smartphones {
839
+ margin : 15px auto ;
840
+ width : 85% ;
841
+ }
688
842
}
689
843
}
690
844
}
@@ -774,6 +928,8 @@ input:focus {
774
928
opacity : 0.5 ;
775
929
align-self : flex-end ;
776
930
transition : opacity 0.15s ease-out ;
931
+ bottom : 0 ;
932
+ position : fixed ;
777
933
778
934
& :hover {
779
935
opacity : 1 ;
0 commit comments