Skip to content

Commit

Permalink
Changed to color codes using less
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernd Erk committed Nov 6, 2014
1 parent f300c12 commit 7aef058
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 30 deletions.
4 changes: 2 additions & 2 deletions modules/monitoring/public/css/module.less
Expand Up @@ -61,7 +61,7 @@ div.contacts div.contact {
}

div.contacts div.contact a{
color: #666;
color: @colorTextDefault;
}

div.contacts div.contact > img {
Expand All @@ -81,7 +81,7 @@ h3.tinystatesummary {
padding-left: 1em;
margin-right: 1em;
background-color: #eee;
color: #666;
color: @colorTextDefault;
border: 1px solid #d9d9d9;
border-left: 5px solid #049baf;
}
Expand Down
3 changes: 2 additions & 1 deletion public/css/icinga/layout-colors.less
Expand Up @@ -41,7 +41,8 @@
}

@colorLinkDefault: #049baf;
@colorTextDefault: #222222;
@colorTextDefault: #666;
@colorTextDarkDefault: #555;
@colorOk: #44bb77;
@colorWarning: #ffaa44;
@colorWarningHandled: #ffcc66;
Expand Down
2 changes: 1 addition & 1 deletion public/css/icinga/layout-structure.less
Expand Up @@ -154,7 +154,7 @@ html {
font-size: 0.95em;
padding-left: 1em;
background-color: #eee;
color: #666;
color: @colorTextDefault;
border: 1px solid #d9d9d9;
border-left: 5px solid #049baf;
}
Expand Down
2 changes: 1 addition & 1 deletion public/css/icinga/main-content.less
Expand Up @@ -67,7 +67,7 @@ img.icon {
}

table.avp {
color: #555;
color: @colorTextDarkDefault;
table-layout: auto;
width: 100%;
font-size: 0.9em;
Expand Down
18 changes: 9 additions & 9 deletions public/css/icinga/menu.less
Expand Up @@ -54,7 +54,7 @@
}

#menu > ul > li.active > a {
color: #666;
color: @colorTextDefault;
text-shadow: none;
}

Expand All @@ -63,11 +63,11 @@
}

#menu > ul > li.active li a:focus {
color: #666;
color: @colorTextDefault;
}

#menu > ul > li > a:focus {
color: #666;
color: @colorTextDefault;
text-shadow: none;
}

Expand All @@ -86,12 +86,12 @@

/* Collapsed menu item color */
#menu > ul > li > a {
color: #666;
color: @colorTextDefault;
}

/* Sub item color */
#menu .active ul li a {
color: #666;
color: @colorTextDefault;
}

#menu ul {
Expand Down Expand Up @@ -219,7 +219,7 @@
background-image: url('../img/icons/search.png');
background-repeat: no-repeat;
background-position: 1.2em center;
color: #666;
color: @colorTextDefault;
border-bottom: 1px solid #d9d9d9;
}

Expand All @@ -228,15 +228,15 @@ html.ie8 #menu input.search {
}

#menu input.search:-ms-input-placeholder {
color: #666;
color: @colorTextDefault;
}

#menu input.search::-webkit-input-placeholder {
color: #666;
color: @colorTextDefault;
}

#menu input.search::-moz-placeholder {
color: #666;
color: @colorTextDefault;
opacity: 1;
}

Expand Down
18 changes: 9 additions & 9 deletions public/css/icinga/monitoring-colors.less
Expand Up @@ -26,7 +26,7 @@ table.action {
width: 100%;
table-layout: fixed;
margin: 0;
color: #666;
color: @colorTextDefault;
}

table.action th {
Expand Down Expand Up @@ -59,7 +59,7 @@ table.action td .pluginoutput {
table.action td a {
color: inherit;
text-decoration: none;
color: #555;
color: @colorTextDarkDefault;
}

table.action td a:hover {
Expand Down Expand Up @@ -290,14 +290,14 @@ a.critical {
margin-top: 0;
margin-bottom: 0.6em;
font-size: 0.8em;
color: #666;
color: @colorTextDefault;
}

.boxview div.box h2:first-child {
margin-top: 0.2em;
padding-bottom: 0.5em;
font-size: inherit;
color: #666;
color: @colorTextDefault;
border-bottom: 1px solid #d9d9d9;
}

Expand Down Expand Up @@ -348,7 +348,7 @@ a.critical {
font-size: 0.9em;
white-space: nowrap;

color: #666;
color: @colorTextDefault;
}

/* Any line of a box entry */
Expand All @@ -359,7 +359,7 @@ a.critical {
}

.boxview div.box.entry a:hover {
color: #666;
color: @colorTextDefault;
}

/* First line of a box entry */
Expand Down Expand Up @@ -423,7 +423,7 @@ div.box.entry.handled {
}

div.box.entry.handled a:hover {
color: #666;
color: @colorTextDefault;
}

/* Tactical overview element styles */
Expand Down Expand Up @@ -593,7 +593,7 @@ table.pivot {
color: black;

&:hover {
color: #666;
color: @colorTextDefault;
}
}

Expand Down Expand Up @@ -747,7 +747,7 @@ div.timeline {
white-space: nowrap;

&:hover {
color: #666;
color: @colorTextDefault;
}
}
}
Expand Down
4 changes: 1 addition & 3 deletions public/css/icinga/pagination.less
Expand Up @@ -34,7 +34,7 @@ ul.pagination {
}

.pagination > li > a {
color: #555;
color: @colorTextDarkDefault;
text-decoration: none;
outline: 0;
}
Expand All @@ -45,12 +45,10 @@ ul.pagination {
}

.pagination > li:last-child > a, .pagination > li:last-child > span {
border-radius: 0 0.5em 0.5em 0;
border-right-width: 1px;
}

.pagination > li:first-child > a, .pagination > li:first-child > span {
border-radius: 0.5em 0 0 0.5em;
}

.pagination > li > a:hover {
Expand Down
8 changes: 4 additions & 4 deletions public/css/icinga/tabs.less
Expand Up @@ -37,13 +37,13 @@ ul.tabs > li > a {
}

ul.tabs > li > a:focus {
color: #666;
color: @colorTextDefault;
text-shadow: none;
}

ul.tabs > li.active > a:focus {
text-shadow: none;
color: #666;
color: @colorTextDefault;
}

ul.tabs li.dropdown > a{
Expand Down Expand Up @@ -107,7 +107,7 @@ ul.tabs ul.dropdown-menu {
}

ul.tabs ul.dropdown-menu li a {
color: #555;
color: @colorTextDarkDefault;
margin: 0em;
}

Expand All @@ -122,7 +122,7 @@ ul.tabs ul.dropdown-menu li a:hover, ul.tabs ul.dropdown-menu li a:focus {

ul.tabs li.dropdown:hover a {
text-decoration: none;
color: #555;
color: @colorTextDarkDefault;
}

li.dropdown:hover ul.dropdown-menu, li.dropdown.hover ul.dropdown-menu {
Expand Down

0 comments on commit 7aef058

Please sign in to comment.