22// * Combo Viewer (shamelessly rippped from Invoker kid persona page)
33// ******************************************************************************
44
5+ @use " sass:color" ;
6+
57@use " ../button" as btn ;
68@use " ../dota2" ;
79@use " ../layout" ;
1214@include dota2 .style ;
1315@include layout .flow ;
1416
15- $cl-text : #3c1b18 ;
17+ $cl-accent : #af5417 ;
18+ $cl-text : color .change ($cl-accent , $lightness : 17% );
1619
1720.--viewer {
1821 width : 100% ;
@@ -41,7 +44,6 @@ $cl-text: #3c1b18;
4144 margin-top : -4px ;
4245 margin-right : -4px ;
4346 horizontal-align : right ;
44- wash-color : #fff ;
4547 }
4648
4749 #btn-reload {
@@ -52,7 +54,6 @@ $cl-text: #3c1b18;
5254 height : 36px ;
5355 margin-top : -4px ;
5456 margin-left : -4px ;
55- wash-color : #fff ;
5657 }
5758
5859 & .development #btn-reload {
@@ -95,7 +96,17 @@ $cl-text: #3c1b18;
9596 padding-right : 20px ;
9697 padding-bottom : 10px ;
9798 overflow : squish scroll ;
98- opacity-mask : v .$mask-softedge-vscroll-wide ;
99+ opacity-mask : v .$mask-softedge-vertical ;
100+
101+ #VerticalScrollBar {
102+ .ScrollThumb {
103+ background-color : color .change ($cl-accent , $alpha : 0.66 );
104+
105+ & :hover {
106+ background-color : color .change ($cl-accent , $alpha : 0.95 );
107+ }
108+ }
109+ }
99110 }
100111
101112 #properties-section {
@@ -196,15 +207,15 @@ $cl-text: #3c1b18;
196207 width : 206px ;
197208 height : 49px ;
198209 border-top : 1px solid #faa46a ;
199- background-color : util .gradient-vertical (#af5417cc , #af5417cc );
210+ background-color : util .gradient-vertical (#af541766 , #af5417cc , $top : 100 % , $bottom : 0 % );
200211 box-shadow : #27110250 0 0 12px ;
201212 opacity : 0.9 ;
202213 wash-color : #9992 ;
203214 transition-duration : 0.2s ;
204215 transition-property : background-color ;
205216
206217 & :hover {
207- background-color : util . gradient-vertical ( #af5417 , #af5417 ) ;
218+ background-color : #af5417 ;
208219 }
209220
210221 & :active {
0 commit comments