[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,11 +1,13 @@
/****************** /******************
! Budgie Desktop * ! Budgie Desktop *
*******************/ *******************/
.budgie-container {
background-color: transparent;
}
.raven { @include exports("budgie-desktop") {
.budgie-container {
background-color: transparent;
}
.raven {
background-color: transparentize($bg_color, .07); background-color: transparentize($bg_color, .07);
.raven-header { .raven-header {
@ -17,8 +19,9 @@
.raven-background { .raven-background {
background-color: transparentize($bg_color, .07); background-color: transparentize($bg_color, .07);
} }
} }
.raven-mpris { .raven-mpris {
background-color: transparentize($bg_color, .3); 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;