Production release (for EOSC EXPLORE) December 2023 #8

Merged
konstantina.galouni merged 8 commits from develop into master 2023-12-12 11:45:27 +01:00
1 changed files with 7 additions and 3 deletions
Showing only changes of commit bdc26845e4 - Show all commits

View File

@ -5,6 +5,8 @@
--input-placeholder-color: @global-meta-color;
--input-placeholder-weight: 400;
--input-placeholder-padding-horizontal: 5px;
--input-placeholder-top: 0px;
--input-placeholder-transform: translateY(-50%);
--input-hint-color: @global-meta-color;
--input-color: @global-emphasis-color;
--input-border-radius: @global-border-radius;
@ -61,7 +63,7 @@
background: var(--input-background);
border-radius: var(--input-border-radius);
position: relative;
padding: var(--input-padding-vertical) 0 var(--input-padding-vertical) var(--input-padding-horizontal);
padding: calc(var(--input-padding-vertical) + var(--input-placeholder-top)) 0 calc(var(--input-padding-vertical) - var(--input-placeholder-top)) var(--input-padding-horizontal);
cursor: pointer;
color: var(--input-color);
@ -264,8 +266,8 @@
&.active > .input-box > .placeholder > label,
&.focused > .input-box > .placeholder > label,
&.hint > .input-box > .placeholder > label {
transform: translateY(-50%);
top: calc(var(--input-border-width) * -1);
transform: var(--input-placeholder-transform);
top: calc(var(--input-placeholder-top) + var(--input-border-width) * -1);
font-size: 12px;
line-height: 18px;
}
@ -305,6 +307,8 @@
--input-placeholder-weight: 700;
--input-placeholder-color: @global-color;
--input-border-radius: 54px;
--input-placeholder-top: 10px;
--input-placeholder-transform: none;
--input-padding-horizontal: 30px;
--input-padding-vertical: var(--search-input-icon-padding-vertical);
--input-background-hover: @global-muted-background;