diff options
author | Greta Doci <gretadoci@gmail.com> | 2019-05-23 18:44:07 +0200 |
---|---|---|
committer | Greta Doci <gretadoci@gmail.com> | 2019-05-26 17:03:40 +0200 |
commit | bb811ee3e1d46def80c112242343264b2622779e (patch) | |
tree | 4df29cb58fdf59b6323160a93d422c6cfa4ba14a /core | |
parent | 74ad4cce838172a51d441ffd53b7cae936f9dbb3 (diff) | |
download | nextcloud-server-bb811ee3e1d46def80c112242343264b2622779e.tar.gz nextcloud-server-bb811ee3e1d46def80c112242343264b2622779e.zip |
Change text color in search box in darktheme, ref #15598
Signed-off-by: Greta Doci <gretadoci@gmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/css/header.scss | 5 | ||||
-rw-r--r-- | core/templates/layout.user.php | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/core/css/header.scss b/core/css/header.scss index 159083da912..c1e89b5cc8e 100644 --- a/core/css/header.scss +++ b/core/css/header.scss @@ -631,7 +631,7 @@ nav[role='navigation'] { width: 155px; cursor: text; background-color: transparent !important; - border: 1px solid var(--color-border) !important; + border: 1px solid var(--color-primary-text) !important; } &:hover, &:focus, &:active { opacity: 1; @@ -656,6 +656,9 @@ nav[role='navigation'] { -webkit-appearance: none; } } + .icon-search-force-white { + @include icon-color('search', 'actions', '#fffffe', 1, true); + } } /* Empty content messages in the header e.g. notifications, contacts menu, … */ diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 9b558b198ee..458af24696b 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -105,7 +105,7 @@ <?php p($l->t('Search'));?> </label> <input id="searchbox" type="search" name="query" - value="" required class="hidden icon-search-white" + value="" required class="hidden icon-search-white icon-search-force-white" autocomplete="off"> <button class="icon-close-white" type="reset"><span class="hidden-visually"><?php p($l->t('Reset search'));?></span></button> </form> |