misc: adapt some more themes for focus ring by default (#69762)
This commit is contained in:
parent
4a1f316a0e
commit
70deda86b6
|
@ -698,10 +698,3 @@ div#content div.cancel-button input {
|
|||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
input, input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="tel"], input[type="number"], input[type="search"], input[type="date"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"], textarea, select {
|
||||
&:focus,
|
||||
&:active {
|
||||
border-color: $primary-color;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,6 +32,8 @@ $sidebar-width: 240px;
|
|||
$sidebar-columns-gutter: 30px;
|
||||
$grid-gutter: 0px;
|
||||
$widget-border: 2px solid #b4b4b4;
|
||||
$widget-focus-border: 2px solid $primary-color;
|
||||
$widget-focus-outline: none;
|
||||
$wcs-steps-spacing: 0.5rem;
|
||||
$wcs-step-border-bottom: none;
|
||||
$wcs-step-background: white;
|
||||
|
|
|
@ -337,16 +337,10 @@ div#side {
|
|||
|
||||
input, input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="tel"], input[type="number"], input[type="search"], input[type="date"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"], textarea, select {
|
||||
&:focus:not([readonly]) {
|
||||
outline: 1px dashed $primary-color;
|
||||
outline-offset: 0;
|
||||
border-bottom-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
div.file-upload-widget div.file-button {
|
||||
border: 1px dashed $primary-color;
|
||||
}
|
||||
|
||||
button.cancel-button, div.cancel-button button {
|
||||
background: #aaaaaa;
|
||||
}
|
||||
|
|
|
@ -20,6 +20,7 @@ $form-style: light;
|
|||
$form-sidebar-position: right;
|
||||
$form-sidebar-width: 180px;
|
||||
$form-sidebar-gutter: 20px;
|
||||
$widget-focus-outline: 1px dashed $primary-color;
|
||||
|
||||
$wcs-steps-spacing: 0.7rem;
|
||||
$wcs-steps-background: #e3e3e3;
|
||||
|
|
|
@ -58,6 +58,7 @@ $button-border-radius: 25px;
|
|||
$widget-background: transparent;
|
||||
$widget-border-radius: 15px;
|
||||
$widget-border: 1px solid #3c4393;
|
||||
$widget-focus-outline: 1px solid #3c4393;
|
||||
|
||||
$carrousel-arrows: none;
|
||||
$carrousel-text-position: bottom left;
|
||||
|
|
|
@ -276,13 +276,6 @@ div#content div.cancel-button input {
|
|||
}
|
||||
}
|
||||
|
||||
input, input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="tel"], input[type="number"], input[type="search"], input[type="date"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"], textarea, select {
|
||||
&:focus,
|
||||
&:active {
|
||||
border-color: $primary-color;
|
||||
}
|
||||
}
|
||||
|
||||
div#welcome {
|
||||
width: 50%;
|
||||
float: left;
|
||||
|
|
|
@ -29,6 +29,8 @@ $sidebar-width: 240px;
|
|||
$sidebar-columns-gutter: 10px;
|
||||
$grid-gutter: 0px;
|
||||
$widget-border: 2px solid #b4b4b4;
|
||||
$widget-focus-border: 2px solid $primary-color;
|
||||
$widget-focus-outline: none;
|
||||
|
||||
$wcs-step-background: #fff;
|
||||
$wcs-steps-spacing: 0.7rem;
|
||||
|
|
Loading…
Reference in New Issue