[GTK-3.20] Code Cleanup

* * Clean code.

* * Bluetooth code padding clean.
pull/626/head
Csaba Jakosa 2016-10-31 18:58:14 +01:00 committed by Khurshid Alam
parent bbf9dd699f
commit 6d54958dac
8 changed files with 28 additions and 24 deletions

View File

@ -1,24 +1,27 @@
/****************** /******************
! Budgie Desktop * ! Budgie Desktop *
*******************/ *******************/
.budgie-container {
background-color: transparent;
}
.raven { @include exports("budgie-desktop") {
background-color: transparentize($bg_color, .07); .budgie-container {
background-color: transparent;
.raven-header {
background-color: $bg_color;
border: solid $borders_color;
border-width: 1px 0;
} }
.raven-background { .raven {
background-color: transparentize($bg_color, .07); background-color: transparentize($bg_color, .07);
.raven-header {
background-color: $bg_color;
border: solid $borders_color;
border-width: 1px 0;
}
.raven-background {
background-color: transparentize($bg_color, .07);
}
}
.raven-mpris {
background-color: transparentize($bg_color, .3);
} }
} }
.raven-mpris {
background-color: transparentize($bg_color, .3);
}

View File

@ -108,7 +108,7 @@
-NemoPlacesTreeView-disk-full-fg-color: $selected_bg_color; -NemoPlacesTreeView-disk-full-fg-color: $selected_bg_color;
-NemoPlacesTreeView-disk-full-bar-width: 2px; -NemoPlacesTreeView-disk-full-bar-width: 2px;
-NemoPlacesTreeView-disk-full-bar-radius: 1px; -NemoPlacesTreeView-disk-full-bar-radius: 1px;
-NemoPlacesTreeView-disk-full-bottom-padding: 0px; -NemoPlacesTreeView-disk-full-bottom-padding: 0;
-NemoPlacesTreeView-disk-full-max-length: 75px; -NemoPlacesTreeView-disk-full-max-length: 75px;
&:selected { &:selected {

View File

@ -17,7 +17,7 @@
} }
row { row {
transition: all 150ms cubic-bezier(0.25, 0.46, 0.45, 0.94); transition: all 150ms cubic-bezier(.25, .46, .45, .94);
&:hover { transition: none; } &:hover { transition: none; }

View File

@ -165,7 +165,7 @@
border-top-left-radius: 0; border-top-left-radius: 0;
} }
.button { button {
border: 0; border: 0;
background-color: transparent; background-color: transparent;
background-image: none; background-image: none;
@ -235,8 +235,8 @@
entry.entry.pin-entry { entry.entry.pin-entry {
font-style: normal; font-style: normal;
font-size: 50px; font-size: 50px;
padding-left: 25px; padding-left: $spacing * 5;
padding-right: 25px; padding-right: $spacing * 5;
} }
label.pin-label { label.pin-label {

View File

@ -75,6 +75,7 @@
$_bg_pos: $position center; $_bg_pos: $position center;
} }
// Disable
/*background-image: linear-gradient(to $_gradient_dir, // this is the dashed line /*background-image: linear-gradient(to $_gradient_dir, // this is the dashed line
$_undershoot_color_light 50%, $_undershoot_color_light 50%,
$_undershoot_color_dark 50%);*/ $_undershoot_color_dark 50%);*/

View File

@ -92,7 +92,7 @@
border: 1px solid alpha(border_normal($bg_color), .5); border: 1px solid alpha(border_normal($bg_color), .5);
border-radius: $roundness; border-radius: $roundness;
padding: 2px; //make discrete block appear inside levelbar padding: 2px; // make discrete block appear inside levelbar
} }
&.horizontal.discrete block { &.horizontal.discrete block {
@ -125,7 +125,7 @@
} }
&.full { &.full {
background-color: shade($selected_bg_color, 0.8); background-color: shade($selected_bg_color, .8);
border-color: transparent; border-color: transparent;
} }

View File

@ -105,7 +105,7 @@ $suffix: if($variant == "dark", "-dark", "");
@include exports("switch") { @include exports("switch") {
switch { switch {
border-radius: $roundness; border-radius: $roundness;
padding: $spacing - 1; padding: $spacing - 1px;
border: none; border: none;
outline: none; outline: none;
transition: background-color .3s linear; transition: background-color .3s linear;

View File

@ -179,7 +179,7 @@
background-color: $selected_bg_color; background-color: $selected_bg_color;
//background-image: linear-gradient(to bottom, $selected_bg_color, darken($selected_bg_color, .1)); //background-image: linear-gradient(to bottom, $selected_bg_color, darken($selected_bg_color, .1));
box-shadow: inset 0 1px if($variant == 'light', transparentize($white, .7), transparentize($white, .85)), box-shadow: inset 0 1px if($variant == 'light', transparentize($white, .7), transparentize($white, .85)),
0 1px if($variant == 'light', transparentize($black, .8), transparentize($black, .9)); 0 1px if($variant == 'light', transparentize($black, .8), transparentize($black, .9));
&:selected { &:selected {
&:focus, & { &:focus, & {