Fixed gnome-web issues

This commit is contained in:
vinceliuice
2022-07-07 00:30:14 +08:00
parent 65f141f226
commit 475c54d482
3 changed files with 18 additions and 21 deletions

View File

@@ -4942,14 +4942,12 @@ window.background.csd scrolledwindow.contacts-contact-form {
* Epiphany (Gnome Web) * * Epiphany (Gnome Web) *
************************/ ************************/
tabbox { tabbox {
background-color: #2C2C2C; background-color: rgba(255, 255, 255, 0.04);
box-shadow: inset 0 -1px rgba(255, 255, 255, 0.12); border-radius: 0;
padding: 3px 3px 0; margin: 0;
} padding: 3px 6px;
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
tabbox > tab { background-clip: border-box;
border-radius: 6px 6px 0 0;
border-bottom: none;
} }
tabbox > tab button { tabbox > tab button {

View File

@@ -4933,14 +4933,12 @@ window.background.csd scrolledwindow.contacts-contact-form {
* Epiphany (Gnome Web) * * Epiphany (Gnome Web) *
************************/ ************************/
tabbox { tabbox {
background-color: #FFFFFF; background-color: rgba(0, 0, 0, 0.04);
box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12); border-radius: 0;
padding: 3px 3px 0; margin: 0;
} padding: 3px 6px;
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
tabbox > tab { background-clip: border-box;
border-radius: 6px 6px 0 0;
border-bottom: none;
} }
tabbox > tab button { tabbox > tab button {

View File

@@ -757,14 +757,15 @@ window.background.csd {
************************/ ************************/
tabbox { // Gnome 40.0 tabbox { // Gnome 40.0
background-color: $background; background-color: $fill;
box-shadow: inset 0 -1px $divider; border-radius: 0;
padding: ($space-size / 2) ($space-size / 2) 0; margin: 0;
padding: $space-size / 2 $space-size;
border-bottom: 1px solid $border;
background-clip: border-box;
> tab { > tab {
@extend %tabs_tab; @extend %tabs_tab;
border-radius: $corner-radius $corner-radius 0 0;
border-bottom: none;
// close button // close button
button { button {