mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 08:38:16 -06:00
Revert custom button colors
This commit is contained in:
parent
ea51bdabda
commit
d61387a7cc
BIN
netbox/project-static/dist/netbox.css
vendored
BIN
netbox/project-static/dist/netbox.css
vendored
Binary file not shown.
@ -30,13 +30,6 @@ $rich-black-lightest: #1A2C39;
|
|||||||
$bright-teal: #00F2D4;
|
$bright-teal: #00F2D4;
|
||||||
$dark-teal: #00857D;
|
$dark-teal: #00857D;
|
||||||
|
|
||||||
$cyan: #00D8FF;
|
|
||||||
$green: #5cff5c;
|
|
||||||
$orange: #ff7926;
|
|
||||||
$purple: #f540db;
|
|
||||||
$red: #ff4646;
|
|
||||||
$yellow: #ffc034;
|
|
||||||
|
|
||||||
$primary: $dark-teal;
|
$primary: $dark-teal;
|
||||||
|
|
||||||
// Navbar active dropdown border color
|
// Navbar active dropdown border color
|
||||||
|
@ -92,31 +92,6 @@ table th.orderable a {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Change text color based on button color
|
|
||||||
@each $color, $value in $theme-colors {
|
|
||||||
.btn-#{$color} {
|
|
||||||
@if $color == 'primary'{
|
|
||||||
--#{$prefix}btn-color: var(--#{$prefix}#{$color}-fg);
|
|
||||||
--#{$prefix}btn-hover-color: var(--#{$prefix}#{$color}-fg);
|
|
||||||
--#{$prefix}btn-active-color: var(--#{$prefix}#{$color}-fg);
|
|
||||||
} @else {
|
|
||||||
--#{$prefix}btn-color: inherit;
|
|
||||||
--#{$prefix}btn-hover-color: $gray-800;
|
|
||||||
--#{$prefix}btn-active-color: $gray-800;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Adjust text color for new green
|
|
||||||
.text-bg-green,.text-bg-success,.progress-bar {
|
|
||||||
color: $rich-black!important;
|
|
||||||
}
|
|
||||||
.bg-green {
|
|
||||||
a, i, span {
|
|
||||||
color: $rich-black!important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Dark mode overrides
|
// Dark mode overrides
|
||||||
body[data-bs-theme=dark] {
|
body[data-bs-theme=dark] {
|
||||||
|
|
||||||
@ -133,7 +108,6 @@ body[data-bs-theme=dark] {
|
|||||||
table {
|
table {
|
||||||
a {
|
a {
|
||||||
color: $bright-teal;
|
color: $bright-teal;
|
||||||
|
|
||||||
&.dropdown-item {
|
&.dropdown-item {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
@ -142,8 +116,7 @@ body[data-bs-theme=dark] {
|
|||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
.btn {
|
.btn {
|
||||||
// color: var(--#{$prefix}body-color);
|
color: var(--#{$prefix}body-color);
|
||||||
color: $rich-black;
|
|
||||||
}
|
}
|
||||||
// Stops table headers from appearing as primary link color
|
// Stops table headers from appearing as primary link color
|
||||||
th.orderable a {
|
th.orderable a {
|
||||||
|
Loading…
Reference in New Issue
Block a user