File tree Expand file tree Collapse file tree 2 files changed +35
-10
lines changed Expand file tree Collapse file tree 2 files changed +35
-10
lines changed Original file line number Diff line number Diff line change @@ -342,6 +342,8 @@ class AbstractApp extends AbstractBoot
342
342
343
343
if ( ! mobile )
344
344
{
345
+ $html . addClass ( 'rl-desktop' ) ;
346
+
345
347
ssm . addState ( {
346
348
id : 'mobile' ,
347
349
query : '(max-width: 767px)' ,
Original file line number Diff line number Diff line change @@ -276,11 +276,11 @@ html.rl-no-preview-pane {
276
276
z-index : 2 ;
277
277
cursor : pointer ;
278
278
border-radius : 5px ;
279
- opacity : 0.3 ;
279
+ .opacity ( 50 ) ;
280
280
281
281
& :hover {
282
282
.opacity (80 );
283
- border-color : #000 ;
283
+ border-color : #666 ;
284
284
background-color : #888 ;
285
285
color : #fff ;
286
286
}
@@ -637,17 +637,40 @@ html.rl-message-fullscreen {
637
637
z-index : 10000 !important ;
638
638
border : @rlLowBorderSize solid @rlMainDarkColor !important ;
639
639
border-radius : @rlLowBorderRadius !important ;
640
+ }
641
+ }
640
642
641
- .buttonUnFull {
642
- display : inline-block !important ;
643
- }
643
+ html .messageItem {
644
+ .buttonUp , .buttonUp {
645
+ display : none !important ;
646
+ }
647
+ & .scroller-shadow-top .buttonUp {
648
+ display : inline-block !important ;
649
+ }
650
+ }
644
651
645
- .buttonFull {
646
- display : none !important ;
652
+ html .rl-desktop .messageItem {
653
+ .buttonUp , .buttonFull {
654
+ display : none !important ;
655
+ }
656
+ & :hover {
657
+ & .scroller-shadow-top .buttonUp , .buttonFull {
658
+ display : inline-block !important ;
647
659
}
648
660
}
649
661
}
650
662
651
- .nano.scroller-shadow-top .buttonUp {
652
- display : inline-block !important ;
653
- }
663
+ html .rl-message-fullscreen .messageItem {
664
+ .buttonUnFull {
665
+ display : inline-block !important ;
666
+ }
667
+ .buttonFull {
668
+ display : none !important ;
669
+ }
670
+ .buttonUp {
671
+ display : none !important ;
672
+ }
673
+ & .scroller-shadow-top .buttonUp {
674
+ display : inline-block !important ;
675
+ }
676
+ }
You can’t perform that action at this time.
0 commit comments