Skip to content

Commit

Permalink
updated styles
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkv committed Jun 24, 2019
1 parent f3aa9fc commit 5cc3e9f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 27 deletions.
2 changes: 1 addition & 1 deletion debian/local/octoprint-tft-environment
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ OCTOPRINT_HOST=http://localhost:5000
OCTOPRINT_APIKEY=

# Location of the application theme.
OCTOPRINT_TFT_STYLE_PATH=/opt/octoprint-tft/styles/default/
OCTOPRINT_TFT_STYLE_PATH=/opt/octoprint-tft/styles/z-bolt/

# Resolution of the application, should be configured to the resolution of your
# screen, for example 800x480. By default 480x320.
Expand Down
58 changes: 32 additions & 26 deletions styles/z-bolt/style.css
Original file line number Diff line number Diff line change
@@ -1,46 +1,25 @@

.dialog {
border: 2px solid black;
font-size: 20px;
padding: 40px;
}

.dialog button {
padding: 30px 20px 30px 20px;
}

.notification {
background-clip: padding-box;
padding: 5px;
border-radius: 0 0 5px 5px;
opacity: 0.8;
}

.warning {
background-color:rgba(30, 204, 39, 0.7);
* {
font-size: 20px;
}

.error {
background-color:rgba(204, 30, 30, 0.7);
window {
background-color: #000;
}

scrollbar, scrollbar button {
border: none;
background-color: #000;
}

window {
background-color: #000;
font-size: 20px;
}

scrollbar slider {
/* -GtkScrollbar-has-backward-stepper: true; */
/* -GtkScrollbar-has-forward-stepper: true; */
min-width: 80px;
min-width: 88px;
border-radius: 8px;
background-color: #FFF;

}

progress, trough {
Expand All @@ -56,8 +35,35 @@ GtkButton, button {
background-color:#000;
margin:2px;
border-radius:0;
border:0;
}



.dialog {
border: 2px solid black;
font-size: 20px;
padding: 40px;
}

.dialog button {
padding: 30px 20px 30px 20px;
}

.notification {
background-clip: padding-box;
padding: 5px;
border-radius: 0 0 5px 5px;
opacity: 0.8;
}

.warning {
background-color:rgba(30, 204, 39, 0.7);
}

.error {
background-color:rgba(204, 30, 30, 0.7);
}

/* GtkWindow {
background-color: green;
Expand Down

0 comments on commit 5cc3e9f

Please sign in to comment.