Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Commit

Permalink
Update _lightdm.scss (#34)
Browse files Browse the repository at this point in the history
* Update _lightdm.scss

make all selectors compatible to work with GTK 3.20

* Update _lightdm.scss

- change GtkComboBox to combobox
- hostname in menubar touches the screen frame --> set the left padding to 5px

* Update _lightdm.scss

I set the padding wrongly for the menuitem and not for the menubar. This should fix it. (Can't test it, because I have currently no build environment.)
  • Loading branch information
jeweloper authored and lots0logs committed May 7, 2016
1 parent 8a22c46 commit b84b315
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions gtk-3.20/scss/apps/_lightdm.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@
text-shadow: 0 1px alpha($black, .5);
-gtk-icon-shadow: 0 1px alpha($black, .5);

.menubar {
&, > .menuitem {
menubar {
padding-left: 5px;

&, > menuitem {
background-color: transparent;
background-image: none;
color: $white;
Expand All @@ -31,10 +33,10 @@

&:disabled { color: alpha($white, .7); }

.menu {
menu {
border-radius: 1px;

.menuitem {
menuitem {
font: normal;
text-shadow: none;
}
Expand All @@ -57,7 +59,7 @@
inset 0 1px mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21),
inset 0 -1px mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21);

.button {
button {
padding: 3px 15px;
border-width: 1px;
border-radius: $roundness;
Expand All @@ -84,9 +86,9 @@


#login_window {
.menu { border-radius: 1px; }
menu { border-radius: 1px; }

GtkComboBox .button {
combobox button {
&, &:hover, &:active, &:active:hover,
&:focus, &:hover:focus, &:active:focus, &:active:hover:focus {
padding: 0;
Expand All @@ -96,7 +98,7 @@
}
}

.entry {
entry {
padding: 3px 5px;
border-width: 1px;
border-style: solid;
Expand All @@ -123,9 +125,9 @@
color: $lightdm_fg_color;
font: 18px;

.menu { font: normal; }
menu { font: normal; }

.arrow { color: mix($lightdm_fg_color, $lightdm_bg_color, .5); }
arrow { color: mix($lightdm_fg_color, $lightdm_bg_color, .5); }
}

#user_image {
Expand Down

0 comments on commit b84b315

Please sign in to comment.