Skip to content

Commit

Permalink
Some minor icon styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Birkbjo committed Nov 15, 2017
1 parent 2d98e18 commit eded3c7
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 8 deletions.
27 changes: 23 additions & 4 deletions octoprint_themeify/static/css/themeify.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@
.themeify input[type="number"],
.themeify .input-append .add-on,
.themeify textarea,
.themeify input[type="text"],
.themeify input[type="password"],
.themeify input[type="datetime"],
.themeify input[type="datetime-local"],
Expand Down Expand Up @@ -178,6 +177,12 @@
.themeify .input-prepend .add-on {
padding-bottom: 6px;
}
.themeify .input-prepend .add-on.add-on-limited {
background-color: #656b76;
color: #e7e7e8;
border: none;
text-shadow: none;
}
.themeify .slider .slider-selection {
background: #7289DA;
}
Expand All @@ -187,17 +192,23 @@
}
.themeify .octoprint-container .accordion-heading [class*=" icon-"],
.themeify table td.settings_printerProfiles_profiles_action a,
.themeify table th.settings_printerProfiles_profiles_action a {
.themeify table th.settings_printerProfiles_profiles_action a,
.themeify table th.settings_plugin_plugin_manager_plugins_actions a,
.themeify table td.settings_plugin_plugin_manager_plugins_actions a {
color: #dadadc;
}
.themeify .octoprint-container .accordion-heading [class*=" icon-"]:hover,
.themeify table td.settings_printerProfiles_profiles_action a:hover,
.themeify table th.settings_printerProfiles_profiles_action a:hover {
.themeify table th.settings_printerProfiles_profiles_action a:hover,
.themeify table th.settings_plugin_plugin_manager_plugins_actions a:hover,
.themeify table td.settings_plugin_plugin_manager_plugins_actions a:hover {
color: #fff;
}
.themeify .octoprint-container .accordion-heading [class*=" icon-"].disabled,
.themeify table td.settings_printerProfiles_profiles_action a.disabled,
.themeify table th.settings_printerProfiles_profiles_action a.disabled {
.themeify table th.settings_printerProfiles_profiles_action a.disabled,
.themeify table th.settings_plugin_plugin_manager_plugins_actions a.disabled,
.themeify table td.settings_plugin_plugin_manager_plugins_actions a.disabled {
color: #595e68;
}
.themeify .icon-sd-black-14 {
Expand Down Expand Up @@ -389,3 +400,11 @@
.themeify .modal-backdrop.fade.in {
background: #000;
}
.themeify .alert h1,
.themeify .alert h2,
.themeify .alert h3,
.themeify .alert h4,
.themeify .alert h5,
.themeify .alert h6 {
color: inherit;
}
19 changes: 15 additions & 4 deletions octoprint_themeify/static/less/themeify.less
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
}
}

select, textarea, input[type="search"],input[type="text"], input[type="number"], .input-append .add-on, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
select, textarea, input[type="search"],input[type="text"], input[type="number"], .input-append .add-on, textarea, input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
background-color: @lighterish;
border:none;
color: lighten(@notquiteWhite,5);
Expand All @@ -149,6 +149,13 @@
.input-append .add-on, .input-prepend .add-on {
padding-bottom: 6px;
}
//upload archive field
.input-prepend .add-on.add-on-limited {
background-color: @lighterish;
color: lighten(@notquiteWhite, 5);
border: none;
text-shadow: none;
}

.slider .slider-selection {
background: @blurple;
Expand All @@ -158,7 +165,7 @@
}
}

.octoprint-container .accordion-heading [class*=" icon-"], table td.settings_printerProfiles_profiles_action a, table th.settings_printerProfiles_profiles_action a {
.octoprint-container .accordion-heading [class*=" icon-"], table td.settings_printerProfiles_profiles_action a, table th.settings_printerProfiles_profiles_action a, table th.settings_plugin_plugin_manager_plugins_actions a, table td.settings_plugin_plugin_manager_plugins_actions a {
color: @notquiteWhite;
&:hover {
color: #fff;
Expand All @@ -167,13 +174,11 @@
color: darken(@lighterish,5);
}
}
//table td.settings_printerProfiles_profiles_action a.disabled, table th.settings_printerProfiles_profiles_action a.disabled

.icon-sd-black-14 {
background-image: url(../img/ic_sd_card_white_18dp_1x.png);
background-image: url(../img/ic_sd_card_white_18px.svg);
background-position: 0 0px;
//background-size: cover;
margin-top: 1px;
width: 15px;
height: 17px;
Expand Down Expand Up @@ -379,4 +384,10 @@
.modal-backdrop, .modal-backdrop.fade.in {
background: #000;
}

.alert {
h1, h2, h3, h4, h5, h6 {
color: inherit;
}
}
}

0 comments on commit eded3c7

Please sign in to comment.