Skip to content

Commit

Permalink
Added 'Glass' theme (replaces Frosty in #82)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersevenrud committed Aug 14, 2015
1 parent 1162457 commit 2999855
Show file tree
Hide file tree
Showing 7 changed files with 80 additions and 0 deletions.
Binary file added src/themes/styles/glass/gui/progressbar.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/themes/styles/glass/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "glass",
"title": "Glass",
"style": {
"window": {
"margin": 29,
"border": 3
}
}
}
70 changes: 70 additions & 0 deletions src/themes/styles/glass/style.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
@import "../../../stylesheets/theme.less";

@base_background_color : #fefefe;
@base_foreground_color : #656565;
@gui_border_color : #c3c3c3;

@gui_input_border_color : #c3c3c3;

application-window-buttons > .application-window-button-entry {
margin : 2px;
width : 10px;
height : 18px;
padding : 4px;
text-align : center;
}

application-window-content {
background : @base_background_color;
}

application-window:before {
top : -30px;
left : -5px;
right : -5px;
bottom : -5px;
opacity : .7;
border : 1px solid @base_background_color;
}

application-window-buttons {
height : 10px;
top : 50%;
margin-top : -6px;
}
application-window-buttons > .application-window-button-entry {
height : 10px;
width : 20px;
padding : 0;
}

/* Max */
application-window-button-maximize,
application-window-button-maximize:hover,
application-window-button-maximize:active,
application-window[data-focused="true"] application-window-button-maximize,
application-window[data-focused="true"] application-window-button-maximize:hover,
application-window[data-focused="true"] application-window-button-maximize:active {
background : url('glas/wm/maximize.png') no-repeat bottom center;
}

/* Min */
application-window-button-minimize,
application-window-button-minimize:hover,
application-window-button-minimize:active,
application-window[data-focused="true"] application-window-button-minimize,
application-window[data-focused="true"] application-window-button-minimize:hover,
application-window[data-focused="true"] application-window-button-minimize:active {
background : url('glas/wm/minimize.png') no-repeat bottom center;
}

/* Close */
application-window-button-close,
application-window-button-close:hover,
application-window-button-close:active,
application-window[data-focused="true"] application-window-button-close,
application-window[data-focused="true"] application-window-button-close:hover,
application-window[data-focused="true"] application-window-button-close:active {
background : url('glas/wm/close.png') no-repeat bottom center;
}

Binary file added src/themes/styles/glass/wm/close.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/themes/styles/glass/wm/maximize.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/themes/styles/glass/wm/minimize.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/themes/styles/glass/wm/wm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit 2999855

@khoaakt
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice 😄 !

Please sign in to comment.