themes: fixed some colors mainly for code tag

This commit is contained in:
Xu 2020-12-07 21:02:43 +01:00 committed by msquare
parent ca5a952d19
commit b77c163aad
10 changed files with 60 additions and 2 deletions

View File

@ -420,4 +420,3 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
}
}
}

View File

@ -201,7 +201,7 @@ THE SOFTWARE.
//** `<input>` background color
@input-bg: @gray-darker;
//** `<input disabled>` background color
@input-bg-disabled: @gray-lighter;
@input-bg-disabled: lighten(@gray-lighter,15%);
//** Text color for `<input>`s
@input-color: @text-color;
@ -1042,3 +1042,9 @@ a.thumbnail.active {
color: #fff;
}
}
// code tag
code {
background-color: @state-info-bg;
color: @state-info-text;
}

View File

@ -1039,6 +1039,12 @@ a.thumbnail.active {
}
}
// code tag
code {
background-color: @input-bg-disabled;
color: @input-color;
}
// Specials for cccamp19 design

View File

@ -1050,3 +1050,9 @@ a.thumbnail.active {
.panel-info .panel-title {
color: #000;
}
// code tag
code {
background-color: @btn-default-bg;
color: @input-color;
}

View File

@ -1062,3 +1062,9 @@ a.thumbnail.active {
}
}
}
// code tag
code {
background-color: @btn-default-bg;
color: @input-color;
}

View File

@ -1048,3 +1048,9 @@ a.thumbnail.active {
.panel-success .panel-heading, .panel-success .panel-heading a {
color: @gray-darker;
}
// code tag
code {
background-color: @state-info-bg;
color: @state-info-text;
}

View File

@ -1055,3 +1055,9 @@ a.thumbnail.active {
color: #fff;
}
}
// code tag
code {
background-color: @input-bg;
color: @input-color;
}

View File

@ -1068,3 +1068,14 @@ a.thumbnail.active {
.label-warning {
color: #000;
}
// code tag
code {
background-color: @state-info-bg;
color: @state-info-text;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
code {
color: @headings-color;
}
}

View File

@ -1039,6 +1039,12 @@ a.thumbnail.active {
}
}
// code tag
code {
background-color: @input-bg-disabled;
color: @input-color;
}
// Specials for cccamp19 design

View File

@ -1039,6 +1039,12 @@ a.thumbnail.active {
}
}
// code tag
code {
background-color: @input-bg-disabled;
color: @input-color;
}
// Specials for cccamp19 design