49
49
}
50
50
.titlebar-spacer [type = "post-tabs" ] {
51
51
width : 50px !important ;
52
+ display : flex !important ;
52
53
}
53
54
/* Window */
54
55
/* Temporal fix for top border */
269
270
.tab-audio-button {
270
271
height : 26px !important ;
271
272
}
272
- button : has (> span [type = "icon ghost" ].button-background ) {
273
+ button : has (> span [type = "icon ghost" ].button-background : not (. labelled ) ) {
273
274
border : none !important ;
274
275
border-width : 0px !important ;
275
276
padding : 0px !important ;
@@ -903,6 +904,22 @@ panel .text-link {
903
904
/* Sidebar */
904
905
# sidebar-box {
905
906
background-color : transparent !important ;
907
+ @media -moz-pref("sidebar.revamp" ) {
908
+ & {
909
+ padding-block-end : 0px !important ;
910
+ padding-inline-end : 0px !important ;
911
+ }
912
+ }
913
+ }
914
+ # sidebar {
915
+ @media -moz-pref("sidebar.revamp" ) {
916
+ & {
917
+ box-shadow : none !important ;
918
+ border-radius : 0px !important ;
919
+ border : none !important ;
920
+ background : transparent !important ;
921
+ }
922
+ }
906
923
}
907
924
body [lwt-sidebar ] {
908
925
background-color : transparent !important ;
@@ -1049,32 +1066,33 @@ notification {
1049
1066
1050
1067
/* Sidebar */
1051
1068
/* Why the hell is this a shadow root */
1052
- .wrapper {
1069
+ .wrapper : has ( > slot [ name = "tabstrip" ]) {
1053
1070
border : none !important ;
1054
1071
background : transparent !important ;
1055
- padding : 8px 3 px !important ;
1072
+ padding : 8px 0 px !important ;
1056
1073
border-inline-end : none !important ;
1057
1074
gap : 4px !important ;
1058
1075
min-width : 0px !important ;
1076
+ margin-right : 1px !important ;
1059
1077
}
1060
1078
.wrapper > * {
1061
1079
padding-inline-end : 0px !important ;
1062
1080
}
1063
1081
.wrapper > .tools-and-extensions {
1064
- gap : 4px !important ;
1065
- }
1066
- .wrapper > .tools-and-extensions > moz-button {
1082
+ gap : 1px !important ;
1067
1083
}
1068
- /* How I'm supposed to unfuck this thing if the damn button is inside a shadow root the hell */
1069
- moz-button button {
1070
-
1071
- }
1072
- # sidebar-box {
1073
-
1084
+ button : has (> span [type = "icon ghost" ].button-background .labelled ) {
1085
+ border-radius : var (--uwp-tags-overlay-radius ) !important ;
1086
+ height : 32px !important ;
1087
+ & : not (: hover , : active ) {
1088
+ border-color : transparent !important ;
1089
+ background-color : transparent !important ;
1090
+ }
1074
1091
}
1075
-
1076
- .sidebar-panel {
1077
- padding : 8px !important ;
1092
+ @-moz-document url("chrome://browser/content/sidebar/sidebar-customize.html" ) {
1093
+ .sidebar-panel {
1094
+ padding : 8px !important ;
1095
+ }
1078
1096
}
1079
1097
/* Move this into another css (?) */
1080
1098
.search-container > .search-icon {
@@ -1136,7 +1154,7 @@ sidebar-tab-row {
1136
1154
}
1137
1155
1138
1156
@media -moz-pref("sidebar.revamp" ) {
1139
- # appcontent {
1157
+ # tabbrowser-tabbox {
1140
1158
border-top-left-radius : var (--uwp-tags-overlay-radius ) !important ;
1141
1159
background-color : var (--uwp-nav-content-background ) !important ;
1142
1160
background-clip : padding-box !important ;
@@ -1161,17 +1179,36 @@ sidebar-tab-row {
1161
1179
# vertical-tabs-newtab-button {
1162
1180
appearance : none !important ;
1163
1181
}
1164
- sidebar-main [ expanded ] > # vertical-tabs > # tabbrowser-tabs [ orient = "vertical" ] . tabbrowser-tab {
1165
- min-width : 100 % !important ;
1182
+ # sidebar-main {
1183
+
1166
1184
}
1167
1185
sidebar-main > # vertical-tabs > # tabbrowser-tabs [orient = "vertical" ] .tabbrowser-tab {
1168
1186
min-height : 36px !important ;
1187
+ & > .tab-stack > .tab-content {
1188
+ padding-left : 17px !important ;
1189
+ padding-right : 9px !important ;
1190
+ --tab-close-button-padding : 5px !important ;
1191
+ }
1192
+ & : not ([expanded ]) {
1193
+ & .tab-background {
1194
+ width : auto !important ;
1195
+ }
1196
+ }
1169
1197
}
1170
- sidebar-main [expanded ] {
1171
- min-width : 280px !important ;
1198
+ .browser-toolbox-background {
1199
+ background : transparent !important ;
1200
+ }
1201
+ @layer input-common {
1202
+ .label-wrapper {
1203
+ padding-inline-start : 0px !important ;
1204
+ }
1172
1205
}
1173
- sidebar-main {
1174
- min-width : 46px !important ;
1206
+ fieldset {
1207
+ & > # inputs {
1208
+ background-color : transparent !important ;
1209
+ border : none !important ;
1210
+ border-radius : 0px !important ;
1211
+ }
1175
1212
}
1176
1213
1177
1214
: root {
0 commit comments