Merge branch 'main' of github.com:vinceliuice/Colloid-gtk-theme into main

This commit is contained in:
Vince
2022-10-05 22:49:06 +08:00
4 changed files with 27 additions and 52 deletions

View File

@@ -19,7 +19,7 @@
@if ($state == 'primary') { @return rgba($black, 0.87); } @if ($state == 'primary') { @return rgba($black, 0.87); }
@if ($state == 'secondary') { @return rgba($black, 0.6); } @if ($state == 'secondary') { @return rgba($black, 0.6); }
@if ($state == 'disabled') { @return rgba($black, 0.38); } @if ($state == 'disabled') { @return rgba($black, 0.38); }
@if ($state == 'secondary-disabled') { @return rgba($black, 0.26); } @if ($state == 'secondary-disabled') { @return rgba($black, 0.3); }
@if ($state == 'track') { @return rgba($black, 0.26); } @if ($state == 'track') { @return rgba($black, 0.26); }
@if ($state == 'track-disabled') { @return rgba($black, 0.12); } @if ($state == 'track-disabled') { @return rgba($black, 0.12); }
@if ($state == 'divider') { @return rgba($black, 0.12); } @if ($state == 'divider') { @return rgba($black, 0.12); }
@@ -29,7 +29,7 @@
@if ($state == 'primary') { @return $white; } @if ($state == 'primary') { @return $white; }
@if ($state == 'secondary') { @return rgba($white, 0.7); } @if ($state == 'secondary') { @return rgba($white, 0.7); }
@if ($state == 'disabled') { @return rgba($white, 0.5); } @if ($state == 'disabled') { @return rgba($white, 0.5); }
@if ($state == 'secondary-disabled') { @return rgba($white, 0.3); } @if ($state == 'secondary-disabled') { @return rgba($white, 0.32); }
@if ($state == 'track') { @return rgba($white, 0.3); } @if ($state == 'track') { @return rgba($white, 0.3); }
@if ($state == 'track-disabled') { @return rgba($white, 0.12); } @if ($state == 'track-disabled') { @return rgba($white, 0.12); }
@if ($state == 'divider') { @return rgba($white, 0.12); } @if ($state == 'divider') { @return rgba($white, 0.12); }

View File

@@ -339,8 +339,8 @@ entry {
} }
} }
.osd & { // .osd & {
} // }
} }
progress { progress {
@@ -527,9 +527,6 @@ button {
min-width: 32px; min-width: 32px;
padding-left: $space-size * 2 + 4px; padding-left: $space-size * 2 + 4px;
padding-right: $space-size * 2 + 4px; padding-right: $space-size * 2 + 4px;
&.flat {
}
} }
&.image-button { &.image-button {
@@ -651,8 +648,6 @@ button {
&:checked { background-color: rgba($b_color, 0.3); } &:checked { background-color: rgba($b_color, 0.3); }
} }
.osd & { }
} }
} }
@@ -740,10 +735,6 @@ button.color {
min-height: $small-size; min-height: $small-size;
min-width: $small-size; min-width: $small-size;
padding: $space-size; padding: $space-size;
colorswatch:only-child {
// &, overlay { border-radius: 0; }
}
} }
@@ -3514,12 +3505,6 @@ tooltip {
border-radius: $corner-radius/2; border-radius: $corner-radius/2;
box-shadow: none; // otherwise it gets inherited by windowframe.csd box-shadow: none; // otherwise it gets inherited by windowframe.csd
&:not(.csd):not(.unity-csd) {
// border: 1px solid $divider;
// border-radius: $corner-radius + 1px;
// background-clip: $background-clip-extra;
}
// FIXME: we need a border or tooltips vanish on black background. // FIXME: we need a border or tooltips vanish on black background.
decoration { background-color: transparent; } decoration { background-color: transparent; }
@@ -3528,11 +3513,6 @@ tooltip {
min-height: 32px - 4px * 2; min-height: 32px - 4px * 2;
padding: 4px 8px; padding: 4px 8px;
} }
* {
// workaround for Eclipse.
// do not include any declaration here.
}
} }
@@ -3993,20 +3973,6 @@ stackswitcher {
} }
/*************
* App Icons *
*************/
// Outline for low res icons
.lowres-icon {
// -gtk-icon-shadow: none;
}
// Drapshadow for large icons
.icon-dropshadow {
// -gtk-icon-shadow: none;
}
/********* /*********
* Emoji * * Emoji *
*********/ *********/

View File

@@ -700,8 +700,6 @@ button {
&:checked { background-color: rgba($b_color, 0.3); } &:checked { background-color: rgba($b_color, 0.3); }
} }
.osd & { }
} }
} }
@@ -1034,9 +1032,9 @@ button.color {
min-width: $small-size; min-width: $small-size;
padding: $space-size; padding: $space-size;
colorswatch:only-child { // colorswatch:only-child {
// &, overlay { border-radius: 0; } // &, overlay { border-radius: 0; }
} // }
} }
%list_button, %list_button,

View File

@@ -168,8 +168,8 @@ carousel.card {
} }
.context-tile-lozenge { .context-tile-lozenge {
min-height: 24px; min-height: 28px;
min-width: 24px; min-width: 28px;
padding: $space-size; padding: $space-size;
&.grey { &.grey {
@@ -177,20 +177,31 @@ carousel.card {
background-color: $divider; background-color: $divider;
} }
&.green { &.green, &.details-rating-0 {
color: $success; color: darken($success, 15%);
background-color: rgba($success, 0.15); background-color: rgba($success, 0.15);
} }
&.red { &.blue,
color: $error; &.details-rating-5 {
background-color: rgba($error, 0.15); color: $blue-light;
background-color: rgba($blue-light, 0.15);
} }
&.details-rating-12 { &.yellow, &.details-rating-12 {
color: $warning; color: darken($warning, 15%);
background-color: rgba($warning, 0.15); background-color: rgba($warning, 0.15);
} }
&.details-rating-15 {
color: $orange-light;
background-color: rgba($orange-light, .15);
}
&.red, &.details-rating-18 {
color: darken($error, 15%);
background-color: rgba($error, 0.15);
}
} }
screenshot-carousel box.frame.view { screenshot-carousel box.frame.view {