@@ -70,11 +70,11 @@ body {
7070
7171.card-body , .card-custom , .card-footer , .card-img-top , .cr-picker-button , .cr-picker-submenu {
7272 --bs-bg-opacity : 1 ;
73- background-color : var (--navbar-col ) !important ;
73+ background-color : var (--navbar-col );
7474}
7575
7676.modal-content {
77- background-color : var (--footer-col ) !important ;
77+ background-color : var (--footer-col );
7878}
7979
8080/* in line code */
@@ -101,11 +101,11 @@ code {
101101/* shrink logo when navbar shrinks, instead of hiding it */
102102.navbar-custom.top-nav-short .avatar-container {
103103 width : 3.125rem ;
104- opacity : 1 !important ;
105- visibility : visible !important ;
106- transition : none !important ;
107- -webkit-transition : none !important ;
108- -moz-transition : none !important ;
104+ opacity : 1 ;
105+ visibility : visible ;
106+ transition : none ;
107+ -webkit-transition : none ;
108+ -moz-transition : none ;
109109}
110110
111111/* hide search button */
@@ -118,7 +118,7 @@ code {
118118 overflow : hidden ;
119119}
120120.hover-zoom img {
121- transition : all 1.5s ease ;
121+ transition : transform 1.5s ease ;
122122}
123123.hover-zoom :hover img {
124124 transform : scale (1.1 );
@@ -250,12 +250,35 @@ table tr:nth-child(2n) {
250250}
251251
252252/* Gamepad tester */
253+ .gamepad-tester ,
254+ .mouse-tester {
255+ padding-bottom : 1.5rem ;
256+ padding-top : 1.5rem ;
257+ }
258+
259+ @media (min-width : 992px ) {
260+ .gamepad-tester ,
261+ .mouse-tester {
262+ padding-bottom : 3rem ;
263+ padding-top : 3rem ;
264+ }
265+ }
266+
253267.gamepad-tester .container {
254268 max-width : 82rem ;
255269}
256270
257271.gamepad-tester-header {
258272 max-width : 52rem ;
273+ text-align : center ;
274+ }
275+
276+ .gamepad-tester-header > h2 {
277+ margin-bottom : 0.5rem ;
278+ }
279+
280+ #gamepad-info {
281+ margin-top : 0 ;
259282}
260283
261284.gamepad-kicker ,
@@ -282,6 +305,7 @@ table tr:nth-child(2n) {
282305 color : var (--text-col );
283306 display : flex ;
284307 gap : 0.75rem ;
308+ margin-bottom : 0.5rem ;
285309 margin-inline : auto ;
286310 max-width : 46rem ;
287311 padding : 0.8rem 1rem ;
@@ -333,6 +357,10 @@ table tr:nth-child(2n) {
333357 font-size : 0.78rem ;
334358}
335359
360+ .gamepad-selector-panel {
361+ margin-top : 1.5rem ;
362+ }
363+
336364.gamepad-selector-panel ,
337365.gamepad-panel {
338366 background-color : var (--navbar-col );
@@ -725,6 +753,7 @@ table tr:nth-child(2n) {
725753 display : flex ;
726754 flex-wrap : wrap ;
727755 gap : 0.4rem ;
756+ margin-bottom : 1rem ;
728757 min-height : 1.5rem ;
729758}
730759
@@ -780,6 +809,7 @@ table tr:nth-child(2n) {
780809
781810.gamepad-browser-warning {
782811 margin-inline : auto ;
812+ margin-top : 1rem ;
783813 max-width : 46rem ;
784814}
785815
@@ -870,16 +900,16 @@ table tr:nth-child(2n) {
870900/* Fit the complete tester workspace into a typical desktop viewport. */
871901@media (min-width : 1200px ) {
872902 .gamepad-tester.has-gamepad {
873- padding-bottom : 1.25rem !important ;
874- padding-top : 1.25rem !important ;
903+ padding-bottom : 1.25rem ;
904+ padding-top : 1.25rem ;
875905 }
876906
877907 .gamepad-tester.has-gamepad .gamepad-tester-header {
878908 align-items : center ;
879909 display : flex ;
880910 gap : 1rem ;
881911 max-width : none ;
882- text-align : left !important ;
912+ text-align : left ;
883913 }
884914
885915 .gamepad-tester.has-gamepad .gamepad-kicker ,
@@ -891,26 +921,26 @@ table tr:nth-child(2n) {
891921 .gamepad-tester.has-gamepad .gamepad-tester-header > h2 {
892922 flex : 0 0 auto ;
893923 font-size : 1.65rem ;
894- margin-bottom : 0 !important ;
924+ margin-bottom : 0 ;
895925 }
896926
897927 .gamepad-tester.has-gamepad .gamepad-status {
898928 flex : 1 1 auto ;
899- margin : 0 !important ;
929+ margin : 0 ;
900930 max-width : none ;
901931 padding : 0.65rem 0.85rem ;
902932 }
903933
904934 .gamepad-tester.has-gamepad .gamepad-browser-warning {
905- margin-top : 0.75rem !important ;
935+ margin-top : 0.75rem ;
906936 max-width : none ;
907937 padding : 0.55rem 0.75rem ;
908938 }
909939
910940 .gamepad-tester.has-gamepad .gamepad-selector-panel {
911941 display : grid ;
912942 grid-template-columns : 13rem minmax (0 , 1fr );
913- margin-top : 0.85rem !important ;
943+ margin-top : 0.85rem ;
914944 }
915945
916946 .gamepad-tester.has-gamepad .gamepad-selector-heading {
@@ -945,7 +975,7 @@ table tr:nth-child(2n) {
945975 display : grid ;
946976 gap : 0.75rem ;
947977 grid-template-columns : repeat (12 , minmax (0 , 1fr ));
948- margin : 0.75rem 0 0 !important ;
978+ margin : 0.75rem 0 0 ;
949979 }
950980
951981 .gamepad-tester.has-gamepad #gamepad-info > [class *= " col-" ] {
@@ -1079,7 +1109,7 @@ table tr:nth-child(2n) {
10791109 }
10801110
10811111 .gamepad-tester.has-gamepad .gamepad-capability {
1082- margin-bottom : 0.5rem !important ;
1112+ margin-bottom : 0.5rem ;
10831113 }
10841114
10851115 .gamepad-tester.has-gamepad .gamepad-range-control {
@@ -1177,6 +1207,11 @@ table tr:nth-child(2n) {
11771207
11781208.mouse-tester-header {
11791209 max-width : 52rem ;
1210+ text-align : center ;
1211+ }
1212+
1213+ .mouse-tester-header > h2 {
1214+ margin-bottom : 0.5rem ;
11801215}
11811216
11821217.mouse-kicker ,
@@ -1203,6 +1238,7 @@ table tr:nth-child(2n) {
12031238 color : var (--text-col );
12041239 display : flex ;
12051240 gap : 0.75rem ;
1241+ margin-bottom : 0.5rem ;
12061242 margin-inline : auto ;
12071243 max-width : 46rem ;
12081244 padding : 0.8rem 1rem ;
@@ -1267,6 +1303,7 @@ table tr:nth-child(2n) {
12671303
12681304.mouse-browser-warning {
12691305 margin-inline : auto ;
1306+ margin-top : 1rem ;
12701307 max-width : 46rem ;
12711308}
12721309
@@ -1281,7 +1318,7 @@ table tr:nth-child(2n) {
12811318}
12821319
12831320.mouse-workspace {
1284- margin-top : 1.5rem !important ;
1321+ margin-top : 1.5rem ;
12851322}
12861323
12871324.mouse-panel {
@@ -1648,16 +1685,16 @@ table tr:nth-child(2n) {
16481685
16491686@media (min-width : 1200px ) {
16501687 .mouse-tester {
1651- padding-bottom : 1.25rem !important ;
1652- padding-top : 1.25rem !important ;
1688+ padding-bottom : 1.25rem ;
1689+ padding-top : 1.25rem ;
16531690 }
16541691
16551692 .mouse-tester-header {
16561693 align-items : center ;
16571694 display : flex ;
16581695 gap : 1rem ;
16591696 max-width : none ;
1660- text-align : left !important ;
1697+ text-align : left ;
16611698 }
16621699
16631700 .mouse-tester-header .mouse-kicker ,
@@ -1669,22 +1706,22 @@ table tr:nth-child(2n) {
16691706 .mouse-tester-header > h2 {
16701707 flex : 0 0 auto ;
16711708 font-size : 1.65rem ;
1672- margin-bottom : 0 !important ;
1709+ margin-bottom : 0 ;
16731710 }
16741711
16751712 .mouse-status {
16761713 flex : 1 1 auto ;
1677- margin : 0 !important ;
1714+ margin : 0 ;
16781715 max-width : none ;
16791716 padding : 0.65rem 0.85rem ;
16801717 }
16811718
16821719 .mouse-workspace {
1683- margin-top : 0.75rem !important ;
1720+ margin-top : 0.75rem ;
16841721 }
16851722
16861723 .mouse-browser-warning {
1687- margin-top : 0.75rem !important ;
1724+ margin-top : 0.75rem ;
16881725 max-width : none ;
16891726 padding : 0.55rem 0.75rem ;
16901727 }
@@ -1825,15 +1862,16 @@ table tr:nth-child(2n) {
18251862
18261863.commit-bar-active {
18271864 background-color : rgb (64 , 196 , 99 );
1865+ opacity : var (--commit-bar-opacity , 1 );
18281866}
18291867
18301868.commit-bar-active :hover {
1831- opacity : 1 !important ;
1869+ opacity : 1 ;
18321870}
18331871
1834- /* Override Bootstrap's text-muted to use theme colors */
1872+ /* Supply Bootstrap's text-muted utility with the theme color. */
18351873.text-muted {
1836- color : var (--footer-text-col ) !important ;
1874+ --bs-secondary- color : var (--footer-text-col );
18371875}
18381876
18391877/* Theme-aware outline button: dark border/text in light mode, light in dark mode */
0 commit comments