mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
#6797: Improve controls & custom link styling
This commit is contained in:
@@ -261,6 +261,33 @@ div.title-container {
|
||||
}
|
||||
}
|
||||
|
||||
// Object list control buttons (Add/Clone/Import/Export)
|
||||
.controls {
|
||||
margin-bottom: map.get($spacers, 2);
|
||||
|
||||
// Each group of buttons.
|
||||
.control-group {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
|
||||
> * {
|
||||
// Pad each control button.
|
||||
margin: map.get($spacers, 1);
|
||||
|
||||
&:first-child {
|
||||
// Don't pad the left side of the first control button.
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
// Don't pad the right side of the last control button.
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Global Search
|
||||
nav.search {
|
||||
// Don't overtake dropdowns
|
||||
|
@@ -21,6 +21,14 @@ $theme-colors: (
|
||||
'danger': $danger,
|
||||
'light': $light,
|
||||
'dark': $dark,
|
||||
'red': $red-300,
|
||||
'yellow': $yellow-300,
|
||||
'green': $green-300,
|
||||
'blue': $blue-300,
|
||||
'cyan': $cyan-300,
|
||||
'indigo': $indigo-300,
|
||||
'purple': $purple-300,
|
||||
'pink': $pink-300,
|
||||
);
|
||||
|
||||
$theme-colors: map-merge($theme-colors, $theme-color-addons);
|
||||
|
@@ -4,6 +4,20 @@
|
||||
|
||||
$input-border-color: $gray-200;
|
||||
|
||||
$theme-colors: map-merge(
|
||||
$theme-colors,
|
||||
(
|
||||
'red': $red-500,
|
||||
'yellow': $yellow-500,
|
||||
'green': $green-500,
|
||||
'blue': $blue-500,
|
||||
'cyan': $cyan-500,
|
||||
'indigo': $indigo-500,
|
||||
'purple': $purple-500,
|
||||
'pink': $pink-500,
|
||||
)
|
||||
);
|
||||
|
||||
$theme-colors: map-merge($theme-colors, $theme-color-addons);
|
||||
|
||||
$light: $gray-200;
|
||||
|
Reference in New Issue
Block a user