Skip to content

Commit

Permalink
Merge pull request #49 from martialblog/fix/css-for-dark-light-theme
Browse files Browse the repository at this point in the history
Improve CSS for dark/light theme
  • Loading branch information
martialblog authored May 13, 2024
2 parents b5acedd + 2fe120a commit d14addb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ please see the documentation on details.

* Icinga Web 2 >= 2.5.0
* and its monitoring module
* php-yaml

Also see [Introduction in docs](doc/01-Introduction.md).

Expand All @@ -30,12 +31,12 @@ Also available inside Icinga Web 2 with the doc module.
## Development Environment

./test/setup_vendor.sh

cp docker-compose.dev.yml docker-compose.yml
# adjust to your needs

docker-compose up -d

Then access [http://localhost:8080](http://localhost:8080).

Default admin user is `icingaadmin` with password `icinga`.
Expand Down
17 changes: 7 additions & 10 deletions public/css/module.less
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@
.badge {
line-height: 1.25em;
font-size: 0.8em;
border: 1px solid white;
border: 1px solid @white;
margin: -0.25em 1px 0 0;
}
}
Expand All @@ -418,13 +418,13 @@
}

.breadcrumb li a {
color: white;
color: @text-color;
margin: 0;
font-size: 1.2em;
text-decoration: none;
padding-left: 2em;
line-height: 2.5em;
background: @icinga-blue;
background: @gray-light;
position: relative;
display: block;
float: left;
Expand All @@ -447,13 +447,13 @@
}

.breadcrumb li a:before {
border-left: 1.2em solid white;
border-left: 1.2em solid @gray-lightest;
margin-left: 1px;
z-index: 1;
}

.breadcrumb li a:after {
border-left: 1.2em solid @icinga-blue;
border-left: 1.2em solid @gray-light;
z-index: 2;
}

Expand All @@ -471,12 +471,11 @@
}

.breadcrumb li:not(:last-child) a:hover {
background: @text-color;
color: white;
background-color: @gray-lighter;
}

.breadcrumb li:not(:last-child) a:hover:after {
border-left-color: @text-color;
border-left-color: @gray-lighter;
}

.breadcrumb li a:focus {
Expand Down Expand Up @@ -513,9 +512,7 @@ textarea.code-editor {
.CodeMirror {
min-height: 60em;
width: 100%;

margin-bottom: 1em;

border: 1px solid @gray-light;

pre {
Expand Down

0 comments on commit d14addb

Please sign in to comment.