This repository was archived by the owner on Sep 30, 2024. It is now read-only.
File tree 2 files changed +21
-16
lines changed
2 files changed +21
-16
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,11 @@ tab.tabbrowser-tab:nth-child(1) {
87
87
right : var (--tab-rounding-size-neg );
88
88
}
89
89
90
+ /* This overrides our settings for the proton theme */
91
+ # browser # TabsToolbar .tab-background {
92
+ height : var (--tab-min-height );
93
+ }
94
+
90
95
# tabbrowser-arrowscrollbox .tabbrowser-tab {
91
96
/* Specifies the padding to the left and right of the tab */
92
97
padding-inline : var (--tab-padding-inline ) !important ;
@@ -103,11 +108,6 @@ tab.tabbrowser-tab:nth-child(1) {
103
108
border-radius : var (--toolbarbutton-border-radius ) !important ;
104
109
}
105
110
106
- /* Vertical tab new button stuff */
107
- # browser # TabsToolbar # new-tab-button {
108
- margin : 8px ;
109
- }
110
-
111
111
# verticaltabs-splitter {
112
112
background-color : var (--tab-selected-bgcolor , var (--toolbar-bgcolor ));
113
113
background-image : var (--tab-selected-bgimage , var (--toolbar-bgimage ));
Original file line number Diff line number Diff line change 71
71
72
72
/* Stops the tabs from getting squished or stretched */
73
73
min-height : unset;
74
+ height : var (--tab-min-height );
74
75
max-height : var (--tab-min-height );
75
76
76
77
transition : min-height 150ms ease-in-out, max-height 150ms ease-in-out;
77
78
}
78
79
80
+ # browser # TabsToolbar .tab-background {
81
+ height : calc (var (--tab-min-height ) - 2px );
82
+ }
83
+
79
84
/* Work around for tab closing animation whilst in vertical tabs. Without this
80
85
the clean up code (created by 608589) will not work correctly */
81
86
/* TODO: This causes tabs to stick around for longer and trigger a clean up
115
120
116
121
# browser # new-tab-button {
117
122
display : inherit !important ;
123
+ appearance : inherit !important ;
124
+
125
+ border-radius : var (--tab-border-radius );
126
+ margin : 2px ;
127
+ padding : var (--inline-tab-padding );
128
+
129
+ height : calc (var (--tab-min-height ) - 2px );
130
+ }
131
+
132
+ # browser # new-tab-button : hover {
133
+ background : var (--toolbarbutton-hover-background );
118
134
}
119
135
120
136
# browser # tabbrowser-tabs {
136
152
: root[sizemode = 'fullscreen' ] # browser # TabsToolbar {
137
153
display : none;
138
154
}
139
-
140
- # new-tab-button {
141
- appearance : inherit !important ;
142
- border-radius : 5px ;
143
- margin-left : 5px !important ;
144
- margin-right : 5px !important ;
145
- }
146
-
147
- # new-tab-button : hover {
148
- background : var (--toolbarbutton-hover-background );
149
- }
You can’t perform that action at this time.
0 commit comments