22 for details. All rights reserved. Use of this source code is governed by a
33 BSD-style license that can be found in the LICENSE file. */
44
5+ @use ' variables' ;
6+
57$info-box-width : 190px ;
68$info-box-margin : 120px ;
79$info-box-tablet-margin : 40px ;
@@ -19,7 +21,7 @@ $detail-tabs-tablet-width: calc(100% - 240px);
1921
2022 .detail-header {
2123 // On desktop this will make the wide header block to be centered.
22- @media (min-width : $device-desktop-min-width ) {
24+ @media (min-width : variables . $device-desktop-min-width ) {
2325 display : flex ;
2426 }
2527 }
@@ -34,7 +36,7 @@ $detail-tabs-tablet-width: calc(100% - 240px);
3436 }
3537
3638 .detail-info-box {
37- @media (max-width : $device-mobile-max-width ) {
39+ @media (max-width : variables . $device-mobile-max-width ) {
3840 display : none ;
3941 }
4042 }
@@ -51,7 +53,7 @@ $detail-tabs-tablet-width: calc(100% - 240px);
5153 top : 0px ;
5254 right : 0px ;
5355
54- @media (min-width : $device-desktop-min-width ) {
56+ @media (min-width : variables . $device-desktop-min-width ) {
5557 width : $info-box-width + 10px ;
5658 }
5759
@@ -60,15 +62,15 @@ $detail-tabs-tablet-width: calc(100% - 240px);
6062 }
6163
6264 .ff-banner-desktop {
63- @media (min-width : $device-desktop-min-width ) {
65+ @media (min-width : variables . $device-desktop-min-width ) {
6466 display : inline-block ;
6567 width : 75px ;
6668 height : 109px ;
6769 }
6870 }
6971
7072 .ff-banner-mobile {
71- @media (max-width : $device-mobile-max-width ) {
73+ @media (max-width : variables . $device-mobile-max-width ) {
7274 display : inline-block ;
7375 width : 47px ;
7476 height : 58px ;
@@ -84,7 +86,7 @@ $detail-tabs-tablet-width: calc(100% - 240px);
8486 margin : 0 ;
8587 font-size : 24px ;
8688
87- @media (min-width : $device-desktop-min-width ) {
89+ @media (min-width : variables . $device-desktop-min-width ) {
8890 font-size : 36px ;
8991 }
9092 }
@@ -102,7 +104,7 @@ $detail-tabs-tablet-width: calc(100% - 240px);
102104 display : none ;
103105 margin-top : 16px ;
104106
105- @media (max-width : $device-mobile-max-width ) {
107+ @media (max-width : variables . $device-mobile-max-width ) {
106108 display : block ;
107109 }
108110
@@ -139,7 +141,7 @@ $detail-tabs-tablet-width: calc(100% - 240px);
139141 max-width : 200px ;
140142 max-height : 200px ;
141143
142- @media (max-width : $device-mobile-max-width ) {
144+ @media (max-width : variables . $device-mobile-max-width ) {
143145 max-width : 100px ;
144146 max-height : 100px ;
145147 }
@@ -153,7 +155,7 @@ $detail-tabs-tablet-width: calc(100% - 240px);
153155 display : flex ;
154156 align-items : center ;
155157
156- @media (min-width : $device-desktop-min-width ) {
158+ @media (min-width : variables . $device-desktop-min-width ) {
157159 display : inline-flex ;
158160 margin-right : 16px ;
159161 }
@@ -234,7 +236,6 @@ $detail-tabs-tablet-width: calc(100% - 240px);
234236 filter : brightness (50% );
235237}
236238
237-
238239.weekly-downloads-sparkline {
239240 display : flex ;
240241 height : 105px ;
@@ -284,7 +285,7 @@ $detail-tabs-tablet-width: calc(100% - 240px);
284285 stroke-width : 2 ;
285286}
286287
287- @media (min-width : $device-desktop-min-width ) {
288+ @media (min-width : variables . $device-desktop-min-width ) {
288289 .detail-body {
289290
290291 >.detail-tabs {
@@ -296,7 +297,7 @@ $detail-tabs-tablet-width: calc(100% - 240px);
296297 margin-left : $info-box-margin ;
297298 width : $info-box-width ;
298299
299- @media (max-width : $device-tablet-max-width ) {
300+ @media (max-width : variables . $device-tablet-max-width ) {
300301 margin-left : $info-box-tablet-margin ;
301302 }
302303 }
@@ -308,7 +309,7 @@ $detail-tabs-tablet-width: calc(100% - 240px);
308309 display : inline-block ;
309310 width : $detail-tabs-width ;
310311
311- @media (max-width : $device-tablet-max-width ) {
312+ @media (max-width : variables . $device-tablet-max-width ) {
312313 width : $detail-tabs-tablet-width ;
313314 }
314315 }
0 commit comments