mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Refactor: Theme & Removed the last rems (#16245)
* repalced rems with pixels and variables * replaced rems with pixels and variables * removed last rems by deleting unused classes or replacing with pixels and variables * restored edit-sidemenu etc with comment
This commit is contained in:
parent
52851a38b8
commit
fbcc10994e
@ -195,7 +195,7 @@ $input-bg-disabled: $dark-6;
|
||||
|
||||
$input-color: $gray-4;
|
||||
$input-border-color: $dark-6;
|
||||
$input-box-shadow: inset 1px 0px 0.3rem 0px rgba(150, 150, 150, 0.1);
|
||||
$input-box-shadow: inset 1px 0px 4px 0px rgba(150, 150, 150, 0.1);
|
||||
$input-border-focus: $dark-6 !default;
|
||||
$input-box-shadow-focus: $blue-light !default;
|
||||
$input-color-placeholder: $gray-1 !default;
|
||||
|
@ -198,7 +198,7 @@ $input-bg-disabled: $dark-6;
|
||||
|
||||
$input-color: $gray-4;
|
||||
$input-border-color: $dark-6;
|
||||
$input-box-shadow: inset 1px 0px 0.3rem 0px rgba(150, 150, 150, 0.1);
|
||||
$input-box-shadow: inset 1px 0px 4px 0px rgba(150, 150, 150, 0.1);
|
||||
$input-border-focus: $dark-6 !default;
|
||||
$input-box-shadow-focus: $blue-light !default;
|
||||
$input-color-placeholder: $gray-1 !default;
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
.footer {
|
||||
color: $footer-link-color;
|
||||
padding: 1rem 0 1rem 0;
|
||||
padding: $space-md 0 $space-md 0;
|
||||
font-size: $font-size-sm;
|
||||
position: relative;
|
||||
width: 98%; /* was causing horiz scrollbars - need to examine */
|
||||
@ -51,14 +51,14 @@
|
||||
.footer {
|
||||
bottom: $spacer;
|
||||
position: absolute;
|
||||
padding: 1rem 0 1rem 0;
|
||||
padding: $space-md 0 $space-md 0;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(sm) {
|
||||
.login-page {
|
||||
.footer {
|
||||
padding: 5rem 0 1rem 0;
|
||||
padding: 70px 0 $space-md 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -52,20 +52,6 @@
|
||||
margin-bottom: -1px;
|
||||
}
|
||||
|
||||
// Actual tabs (as links)
|
||||
.nav-tabs > li > a {
|
||||
padding: 0.4rem 1rem 0.35rem 1rem;
|
||||
margin-right: $spacer/2;
|
||||
line-height: $line-height-base;
|
||||
border: 1px solid transparent;
|
||||
position: relative;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $link-hover-color;
|
||||
}
|
||||
}
|
||||
|
||||
// Active state, and it's :hover/:focus to override normal :hover/:focus
|
||||
.nav-tabs > .active > a,
|
||||
.nav-tabs > .active > a:hover,
|
||||
|
@ -8,10 +8,12 @@
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
//Deprecated class but maybe used by plugins (in panel settings)
|
||||
.edit-sidemenu-aside {
|
||||
margin-right: $spacer * 2;
|
||||
}
|
||||
|
||||
//Deprecated class but maybe used by plugins (in panel settings)
|
||||
.edit-sidemenu {
|
||||
width: 100%;
|
||||
list-style: none;
|
||||
@ -37,11 +39,13 @@
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
//Deprecated class but maybe used by plugins (in panel settings)
|
||||
.edit-sidemenu-aside {
|
||||
width: 100%;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
//Deprecated class but maybe used by plugins (in panel settings)
|
||||
.edit-sidemenu {
|
||||
li {
|
||||
float: left;
|
||||
|
Loading…
Reference in New Issue
Block a user