Adwaita: minor fixes.

This commit is contained in:
Lapo Calamandrei 2014-06-18 10:01:24 +02:00
parent 1566a5d9dd
commit 0011c5c5e3
3 changed files with 16 additions and 11 deletions

View File

@ -917,7 +917,7 @@ GtkPopover {
} }
//here's the interesting stuff //here's the interesting stuff
&:hover { &:hover, &:prelight-page {
border-color: $borders_color; border-color: $borders_color;
} }
&:active, &:backdrop:active { &:active, &:backdrop:active {
@ -931,7 +931,7 @@ GtkPopover {
border-color: transparent; border-color: transparent;
border-left: 1px solid transparent; border-left: 1px solid transparent;
border-right: 1px solid transparent; border-right: 1px solid transparent;
&:hover { &:hover, &.prelight-page {
border-color: transparentize($borders_color,0.7); border-color: transparentize($borders_color,0.7);
border-bottom-color: transparentize($borders_color,0.7); border-bottom-color: transparentize($borders_color,0.7);
background-color: transparentize($bg_color,0.8); background-color: transparentize($bg_color,0.8);
@ -959,7 +959,7 @@ GtkPopover {
// this doesn't affect labels on reorderable pages, not css fault. // this doesn't affect labels on reorderable pages, not css fault.
padding: 0 2px; // needed for a nicer focus ring padding: 0 2px; // needed for a nicer focus ring
font-weight: bold; font-weight: bold;
color: $insensitive_fg_color; color: $insensitive_fg_color; /* color: inherit doesn't work here */
// prelight tab text // prelight tab text
&.prelight-page { &.prelight-page {
@ -1748,6 +1748,7 @@ GtkInfoBar {
.tooltip * { //Yeah this is ugly .tooltip * { //Yeah this is ugly
padding: 4px; padding: 4px;
background-color: transparent; background-color: transparent;
color: inherit; // just to be sure
} }
/***************** /*****************

View File

@ -1062,7 +1062,7 @@ GtkPopover {
.notebook tab.right { .notebook tab.right {
padding-left: 17px; padding-left: 17px;
border-left-width: 3px; } border-left-width: 3px; }
.notebook tab:hover { .notebook tab:hover, .notebook tab:prelight-page {
border-color: #1c1f1f; } border-color: #1c1f1f; }
.notebook tab:active, .notebook tab:backdrop:active { .notebook tab:active, .notebook tab:backdrop:active {
border-color: #215d9c; } border-color: #215d9c; }
@ -1073,7 +1073,7 @@ GtkPopover {
border-color: transparent; border-color: transparent;
border-left: 1px solid transparent; border-left: 1px solid transparent;
border-right: 1px solid transparent; } border-right: 1px solid transparent; }
.notebook tab.reorderable-page:hover { .notebook tab.reorderable-page:hover, .notebook tab.reorderable-page.prelight-page {
border-color: rgba(28, 31, 31, 0.3); border-color: rgba(28, 31, 31, 0.3);
border-bottom-color: rgba(28, 31, 31, 0.3); border-bottom-color: rgba(28, 31, 31, 0.3);
background-color: rgba(57, 63, 63, 0.2); } background-color: rgba(57, 63, 63, 0.2); }
@ -1094,7 +1094,8 @@ GtkPopover {
.notebook tab GtkLabel { .notebook tab GtkLabel {
padding: 0 2px; padding: 0 2px;
font-weight: bold; font-weight: bold;
color: #939695; } color: #939695;
/* color: inherit doesn't work here */ }
.notebook tab GtkLabel.prelight-page { .notebook tab GtkLabel.prelight-page {
color: #c0c2c0; } color: #c0c2c0; }
.notebook tab GtkLabel.active-page { .notebook tab GtkLabel.active-page {
@ -2329,7 +2330,8 @@ GtkInfoBar {
.tooltip * { .tooltip * {
padding: 4px; padding: 4px;
background-color: transparent; } background-color: transparent;
color: inherit; }
/***************** /*****************
* Color Chooser * * Color Chooser *

View File

@ -1062,7 +1062,7 @@ GtkPopover {
.notebook tab.right { .notebook tab.right {
padding-left: 17px; padding-left: 17px;
border-left-width: 3px; } border-left-width: 3px; }
.notebook tab:hover { .notebook tab:hover, .notebook tab:prelight-page {
border-color: #a1a1a1; } border-color: #a1a1a1; }
.notebook tab:active, .notebook tab:backdrop:active { .notebook tab:active, .notebook tab:backdrop:active {
border-color: #4a90d9; } border-color: #4a90d9; }
@ -1073,7 +1073,7 @@ GtkPopover {
border-color: transparent; border-color: transparent;
border-left: 1px solid transparent; border-left: 1px solid transparent;
border-right: 1px solid transparent; } border-right: 1px solid transparent; }
.notebook tab.reorderable-page:hover { .notebook tab.reorderable-page:hover, .notebook tab.reorderable-page.prelight-page {
border-color: rgba(161, 161, 161, 0.3); border-color: rgba(161, 161, 161, 0.3);
border-bottom-color: rgba(161, 161, 161, 0.3); border-bottom-color: rgba(161, 161, 161, 0.3);
background-color: rgba(237, 237, 237, 0.2); } background-color: rgba(237, 237, 237, 0.2); }
@ -1094,7 +1094,8 @@ GtkPopover {
.notebook tab GtkLabel { .notebook tab GtkLabel {
padding: 0 2px; padding: 0 2px;
font-weight: bold; font-weight: bold;
color: #8d9091; } color: #8d9091;
/* color: inherit doesn't work here */ }
.notebook tab GtkLabel.prelight-page { .notebook tab GtkLabel.prelight-page {
color: #5d6263; } color: #5d6263; }
.notebook tab GtkLabel.active-page { .notebook tab GtkLabel.active-page {
@ -2327,7 +2328,8 @@ GtkInfoBar {
.tooltip * { .tooltip * {
padding: 4px; padding: 4px;
background-color: transparent; } background-color: transparent;
color: inherit; }
/***************** /*****************
* Color Chooser * * Color Chooser *