Change dynamic placeholder color in focus (link-hover-color). Add rules for size of container.
This commit is contained in:
parent
32040ce807
commit
c80b737180
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
// Layout
|
// Layout
|
||||||
@import "section";
|
@import "section";
|
||||||
|
@import "container";
|
||||||
@import "tile";
|
@import "tile";
|
||||||
@import "card";
|
@import "card";
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
.hook-container-misc() {
|
||||||
|
@media (max-width: @container-xlarge-max-width) {
|
||||||
|
.uk-container-large {
|
||||||
|
max-width: @container-max-width;
|
||||||
|
}
|
||||||
|
|
||||||
|
.uk-container-xlarge {
|
||||||
|
max-width: @container-large-max-width;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -26,6 +26,7 @@
|
||||||
--input-background-focus: var(--input-background);
|
--input-background-focus: var(--input-background);
|
||||||
--input-shadow-focus: var(--input-shadow);
|
--input-shadow-focus: var(--input-shadow);
|
||||||
--input-border-focus: var(--input-border);
|
--input-border-focus: var(--input-border);
|
||||||
|
--input-color-focus: @global-link-hover-color;
|
||||||
--input-border-style-focus: var(--input-border-style);
|
--input-border-style-focus: var(--input-border-style);
|
||||||
/* Disabled */
|
/* Disabled */
|
||||||
--input-color-disabled: @global-muted-color;
|
--input-color-disabled: @global-muted-color;
|
||||||
|
@ -163,6 +164,10 @@
|
||||||
& > .input-box {
|
& > .input-box {
|
||||||
box-shadow: var(--input-shadow-focus);
|
box-shadow: var(--input-shadow-focus);
|
||||||
background: var(--input-background-focus);
|
background: var(--input-background-focus);
|
||||||
|
|
||||||
|
& > .placeholder > label {
|
||||||
|
color: var(--input-color-focus);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -182,7 +187,7 @@
|
||||||
&.danger {
|
&.danger {
|
||||||
border-color: var(--input-danger-color);
|
border-color: var(--input-danger-color);
|
||||||
& > .input-box {
|
& > .input-box {
|
||||||
& .input::placeholder, & .placeholder {
|
& .input::placeholder, & .placeholder, & > .placeholder > label {
|
||||||
color: var(--input-danger-color);
|
color: var(--input-danger-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue