summaryrefslogtreecommitdiffstats
path: root/app/assets/stylesheets
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-12-08 23:52:31 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-12-08 23:52:31 +0000
commit899a93af2a5a9a3889fabed4289769cf66e0b0dd (patch)
treefe999701a3498ff0eb21a9ff32bb6dfe0fecb590 /app/assets/stylesheets
parent52f3cb58dc4dc0dc4375e6ba542a6f6891442ca0 (diff)
downloadredmine-899a93af2a5a9a3889fabed4289769cf66e0b0dd.tar.gz
redmine-899a93af2a5a9a3889fabed4289769cf66e0b0dd.zip
Replaces legacy magnifier icon with SVG icon in project jump and in search field from mobile view (#41714).
git-svn-id: https://svn.redmine.org/redmine/trunk@23368 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r--app/assets/stylesheets/application.css4
-rw-r--r--app/assets/stylesheets/responsive.css19
2 files changed, 8 insertions, 15 deletions
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index 89d385ca0..f0044fc66 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -268,7 +268,9 @@ a#toggle-completed-versions {color:#999;}
}
.drdn.expanded .drdn-content {display:block;}
-.drdn-content .quick-search {margin:8px;}
+.drdn-content .quick-search {margin:8px; display: flex; align-items: center;}
+.drdn-content .quick-search svg {margin-left: 5px; position: absolute;}
+.drdn-content .quick-search input.autocomplete {background: none; padding-left: 24px !important;}
.drdn-content .autocomplete {box-sizing: border-box; width:100% !important; height:28px;}
.drdn-content .autocomplete:focus {border-color:#5ad;}
.drdn-items {max-height:400px; overflow:auto;}
diff --git a/app/assets/stylesheets/responsive.css b/app/assets/stylesheets/responsive.css
index ea30ab86c..4eff84187 100644
--- a/app/assets/stylesheets/responsive.css
+++ b/app/assets/stylesheets/responsive.css
@@ -184,9 +184,14 @@
font-size:0.9375rem;
font-weight:normal;
}
+ #project-jump .drdn-content svg {
+ width: 1.25rem;
+ height: 1.25rem;
+ }
#project-jump .drdn-content .autocomplete {
height:40px;
font-size:1.25rem;
+ padding-left: 28px !important;
}
#project-jump .drdn-content a {
padding:8px;
@@ -259,21 +264,7 @@
content: '\2261';
}
- /* search magnifier icon */
- .search-magnifier {
- font-family: var(--fonts-main);
- color: #bbb;
-
- cursor: pointer;
- -webkit-transform: rotate(-45deg);
- -moz-transform: rotate(45deg);
- -o-transform: rotate(45deg);
- }
-
.search-magnifier--flyout {
- font-size: 1.5625rem;
- line-height: 54px;
-
position: absolute;
z-index: 1;
left: 12px;