Merging explore-redesign branch into develop for Explore July release #3

Merged
konstantina.galouni merged 6 commits from explore-redesign into develop 2023-07-05 11:15:39 +02:00
1 changed files with 40 additions and 6 deletions
Showing only changes of commit 856e482724 - Show all commits

View File

@ -10,9 +10,14 @@
--search-input-border-focus: var(--search-input-border);
--search-input-border-style-focus: var(--search-input-border-style);
/* Icon */
--search-input-icon-ratio: 1.3;
--search-input-icon-color: @global-secondary-background;
--search-input-icon-color-collapsed: @global-color;
--search-input-icon-color-disabled: @global-muted-color;
--search-input-icon-display: inline;
--search-input-icon-background-color: transparent;
--search-input-icon-background-color-disabled: transparent;
--search-input-icon-background-padding: 0px;
--search-input-divider: @global-border-width solid @global-border;
--search-input-icon-padding-horizontal: 15px;
--search-input-icon-padding-vertical: 16px;
@ -37,7 +42,7 @@
}
&.collapsed {
width: calc(2 * var(--search-input-icon-padding-horizontal) + 26px);
width: calc(2 * (var(--search-input-icon-padding-horizontal) + var(--search-input-icon-background-padding)) + var(--search-input-icon-ratio)*20px);
& .search-icon {
color: var(--search-input-icon-color-collapsed);
@ -66,10 +71,22 @@
cursor: pointer;
user-select: none;
& > icon {
padding: var(--search-input-icon-background-padding);
border-radius: 50%;
display: var(--search-input-icon-display);
background-color: var(--search-input-icon-background-color);
}
&.disabled {
color: var(--search-input-icon-color-disabled);
cursor: default;
pointer-events: none;
& > icon {
background-color: var(--search-input-icon-background-color-disabled);
}
}
}
@ -115,13 +132,30 @@
--input-font-size: 14px;
}
}
}
&.small-vertical {
--search-input-icon-padding-vertical: 10px;
&.small-vertical {
--search-input-icon-padding-vertical: 10px;
& .search {
--input-padding-vertical: 10px;
& .search {
--input-padding-vertical: 10px;
}
}
&.background {
--search-input-icon-ratio: 1;
--search-input-icon-color: @global-inverse-color;
--search-input-icon-color-collapsed: @global-inverse-color;
--search-input-icon-color-disabled: @global-meta-color;
--search-input-icon-display: inline-block;
--search-input-icon-background-color: @global-secondary-background;
--search-input-icon-background-color-disabled: @global-muted-color;
--search-input-icon-background-padding: 7px;
--search-input-icon-padding-horizontal: 10px;
--search-input-icon-padding-vertical: 10px;
&.small-vertical {
--search-input-icon-padding-vertical: 6px;
}
}
}
}