Skip to content

Commit

Permalink
Add theming for Unity Greeter (horst3180#466)
Browse files Browse the repository at this point in the history
* Add theming for Unity Greeter

* Generated css files from scss

- Replace alpha() and shade() in Sass with transparentize() and lighten()

* Rebase unity-greeter css code from upstream and drop excessive nesting

* Fix clock color and combo entry field

* Fix and improve Unity Greeter theming

- Fix panel icons
- Make password entry box rounder
- Add a bit of transparency to panel clock
  • Loading branch information
HEXcube authored and horst3180 committed Apr 24, 2016
1 parent 90f1c14 commit 70f77a4
Show file tree
Hide file tree
Showing 28 changed files with 2,340 additions and 0 deletions.
81 changes: 81 additions & 0 deletions common/gtk-3.0/3.14/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -3248,6 +3248,87 @@ UnityPanelWidget,
background-image: linear-gradient(to bottom, #5294E2);
border-bottom: none; }

.lightdm.menu {
background-image: none;
background-color: rgba(0, 0, 0, 0.4);
border-color: rgba(255, 255, 255, 0.8);
border-radius: 4px;
padding: 1px;
color: white; }

.lightdm-combo .menu {
background-color: rgba(64, 71, 86, 0.97);
border-radius: 0px;
padding: 0px;
color: white; }

.lightdm.menu .menuitem *,
.lightdm.menu .menuitem.check:active,
.lightdm.menu .menuitem.radio:active {
color: white; }

.lightdm.menubar {
color: rgba(255, 255, 255, 0.8);
background-image: none;
background-color: rgba(0, 0, 0, 0.5); }
.lightdm.menubar > .menuitem {
padding: 2px 6px; }

.lightdm-combo.combobox-entry .button,
.lightdm-combo .cell,
.lightdm-combo .button,
.lightdm-combo .entry,
.lightdm.button,
.lightdm.entry {
background-image: none;
background-color: rgba(0, 0, 0, 0.3);
border-color: rgba(255, 255, 255, 0.4);
border-radius: 10px;
padding: 7px;
color: white;
text-shadow: none; }

.lightdm.button,
.lightdm.button:hover,
.lightdm.button:active,
.lightdm.button:active:focused,
.lightdm.entry,
.lightdm.entry:hover,
.lightdm.entry:active,
.lightdm.entry:active:focused {
background-image: none;
border-image: none; }

.lightdm.button:focused,
.lightdm.entry:focused {
border-color: rgba(255, 255, 255, 0.1);
border-width: 1px;
border-style: solid;
color: white; }

.lightdm.entry:selected {
background-color: rgba(255, 255, 255, 0.8); }

.lightdm.entry:active {
-gtk-icon-source: -gtk-icontheme("process-working-symbolic");
animation: dashentry_spinner 1s infinite linear; }

.lightdm.option-button {
padding: 2px;
background: none;
border: 0; }

.lightdm.toggle-button {
background: none;
border-width: 0; }
.lightdm.toggle-button.selected {
background-color: rgba(0, 0, 0, 0.7);
border-width: 1px; }

@keyframes dashentry_spinner {
to {
-gtk-icon-transform: rotate(1turn); } }

.overlay-bar {
background-color: #5294E2;
border-color: #5294E2;
Expand Down
81 changes: 81 additions & 0 deletions common/gtk-3.0/3.14/gtk-darker.css
Original file line number Diff line number Diff line change
Expand Up @@ -3251,6 +3251,87 @@ UnityPanelWidget,
background-image: linear-gradient(to bottom, #5294E2);
border-bottom: none; }

.lightdm.menu {
background-image: none;
background-color: rgba(0, 0, 0, 0.4);
border-color: rgba(255, 255, 255, 0.8);
border-radius: 4px;
padding: 1px;
color: white; }

.lightdm-combo .menu {
background-color: rgba(64, 71, 86, 0.97);
border-radius: 0px;
padding: 0px;
color: white; }

.lightdm.menu .menuitem *,
.lightdm.menu .menuitem.check:active,
.lightdm.menu .menuitem.radio:active {
color: white; }

.lightdm.menubar {
color: rgba(255, 255, 255, 0.8);
background-image: none;
background-color: rgba(0, 0, 0, 0.5); }
.lightdm.menubar > .menuitem {
padding: 2px 6px; }

.lightdm-combo.combobox-entry .button,
.lightdm-combo .cell,
.lightdm-combo .button,
.lightdm-combo .entry,
.lightdm.button,
.lightdm.entry {
background-image: none;
background-color: rgba(0, 0, 0, 0.3);
border-color: rgba(255, 255, 255, 0.4);
border-radius: 10px;
padding: 7px;
color: white;
text-shadow: none; }

.lightdm.button,
.lightdm.button:hover,
.lightdm.button:active,
.lightdm.button:active:focused,
.lightdm.entry,
.lightdm.entry:hover,
.lightdm.entry:active,
.lightdm.entry:active:focused {
background-image: none;
border-image: none; }

.lightdm.button:focused,
.lightdm.entry:focused {
border-color: rgba(255, 255, 255, 0.1);
border-width: 1px;
border-style: solid;
color: white; }

.lightdm.entry:selected {
background-color: rgba(255, 255, 255, 0.8); }

.lightdm.entry:active {
-gtk-icon-source: -gtk-icontheme("process-working-symbolic");
animation: dashentry_spinner 1s infinite linear; }

.lightdm.option-button {
padding: 2px;
background: none;
border: 0; }

.lightdm.toggle-button {
background: none;
border-width: 0; }
.lightdm.toggle-button.selected {
background-color: rgba(0, 0, 0, 0.7);
border-width: 1px; }

@keyframes dashentry_spinner {
to {
-gtk-icon-transform: rotate(1turn); } }

.overlay-bar {
background-color: #5294E2;
border-color: #5294E2;
Expand Down
81 changes: 81 additions & 0 deletions common/gtk-3.0/3.14/gtk-solid-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -3248,6 +3248,87 @@ UnityPanelWidget,
background-image: linear-gradient(to bottom, #5294E2);
border-bottom: none; }

.lightdm.menu {
background-image: none;
background-color: rgba(0, 0, 0, 0.4);
border-color: rgba(255, 255, 255, 0.8);
border-radius: 4px;
padding: 1px;
color: white; }

.lightdm-combo .menu {
background-color: #404756;
border-radius: 0px;
padding: 0px;
color: white; }

.lightdm.menu .menuitem *,
.lightdm.menu .menuitem.check:active,
.lightdm.menu .menuitem.radio:active {
color: white; }

.lightdm.menubar {
color: rgba(255, 255, 255, 0.8);
background-image: none;
background-color: rgba(0, 0, 0, 0.5); }
.lightdm.menubar > .menuitem {
padding: 2px 6px; }

.lightdm-combo.combobox-entry .button,
.lightdm-combo .cell,
.lightdm-combo .button,
.lightdm-combo .entry,
.lightdm.button,
.lightdm.entry {
background-image: none;
background-color: rgba(0, 0, 0, 0.3);
border-color: rgba(255, 255, 255, 0.4);
border-radius: 10px;
padding: 7px;
color: white;
text-shadow: none; }

.lightdm.button,
.lightdm.button:hover,
.lightdm.button:active,
.lightdm.button:active:focused,
.lightdm.entry,
.lightdm.entry:hover,
.lightdm.entry:active,
.lightdm.entry:active:focused {
background-image: none;
border-image: none; }

.lightdm.button:focused,
.lightdm.entry:focused {
border-color: rgba(255, 255, 255, 0.1);
border-width: 1px;
border-style: solid;
color: white; }

.lightdm.entry:selected {
background-color: rgba(255, 255, 255, 0.8); }

.lightdm.entry:active {
-gtk-icon-source: -gtk-icontheme("process-working-symbolic");
animation: dashentry_spinner 1s infinite linear; }

.lightdm.option-button {
padding: 2px;
background: none;
border: 0; }

.lightdm.toggle-button {
background: none;
border-width: 0; }
.lightdm.toggle-button.selected {
background-color: rgba(0, 0, 0, 0.7);
border-width: 1px; }

@keyframes dashentry_spinner {
to {
-gtk-icon-transform: rotate(1turn); } }

.overlay-bar {
background-color: #5294E2;
border-color: #5294E2;
Expand Down
81 changes: 81 additions & 0 deletions common/gtk-3.0/3.14/gtk-solid-darker.css
Original file line number Diff line number Diff line change
Expand Up @@ -3251,6 +3251,87 @@ UnityPanelWidget,
background-image: linear-gradient(to bottom, #5294E2);
border-bottom: none; }

.lightdm.menu {
background-image: none;
background-color: rgba(0, 0, 0, 0.4);
border-color: rgba(255, 255, 255, 0.8);
border-radius: 4px;
padding: 1px;
color: white; }

.lightdm-combo .menu {
background-color: #404756;
border-radius: 0px;
padding: 0px;
color: white; }

.lightdm.menu .menuitem *,
.lightdm.menu .menuitem.check:active,
.lightdm.menu .menuitem.radio:active {
color: white; }

.lightdm.menubar {
color: rgba(255, 255, 255, 0.8);
background-image: none;
background-color: rgba(0, 0, 0, 0.5); }
.lightdm.menubar > .menuitem {
padding: 2px 6px; }

.lightdm-combo.combobox-entry .button,
.lightdm-combo .cell,
.lightdm-combo .button,
.lightdm-combo .entry,
.lightdm.button,
.lightdm.entry {
background-image: none;
background-color: rgba(0, 0, 0, 0.3);
border-color: rgba(255, 255, 255, 0.4);
border-radius: 10px;
padding: 7px;
color: white;
text-shadow: none; }

.lightdm.button,
.lightdm.button:hover,
.lightdm.button:active,
.lightdm.button:active:focused,
.lightdm.entry,
.lightdm.entry:hover,
.lightdm.entry:active,
.lightdm.entry:active:focused {
background-image: none;
border-image: none; }

.lightdm.button:focused,
.lightdm.entry:focused {
border-color: rgba(255, 255, 255, 0.1);
border-width: 1px;
border-style: solid;
color: white; }

.lightdm.entry:selected {
background-color: rgba(255, 255, 255, 0.8); }

.lightdm.entry:active {
-gtk-icon-source: -gtk-icontheme("process-working-symbolic");
animation: dashentry_spinner 1s infinite linear; }

.lightdm.option-button {
padding: 2px;
background: none;
border: 0; }

.lightdm.toggle-button {
background: none;
border-width: 0; }
.lightdm.toggle-button.selected {
background-color: rgba(0, 0, 0, 0.7);
border-width: 1px; }

@keyframes dashentry_spinner {
to {
-gtk-icon-transform: rotate(1turn); } }

.overlay-bar {
background-color: #5294E2;
border-color: #5294E2;
Expand Down
Loading

0 comments on commit 70f77a4

Please sign in to comment.