Skip to content

Commit bd098e9

Browse files
authored
Unifying search box styling across the entire app (#4301)
1 parent d8caec4 commit bd098e9

5 files changed

Lines changed: 26 additions & 2 deletions

File tree

pontoon/administration/static/css/admin_project.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@ form .controls .button.manage-resources[disabled]:hover {
145145
width: 150px;
146146
}
147147

148+
.admin-project .search-wrapper {
149+
background: var(--input-background-1);
150+
}
151+
148152
#admin-strings-form .controls .add-inline {
149153
float: left;
150154
margin-left: 0;

pontoon/base/static/css/style.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,10 @@ time {
303303
z-index: 19; /* Must be lower than for the (popup) .menu */
304304
}
305305

306+
.select.opened .menu .search-wrapper {
307+
background: var(--black-3);
308+
}
309+
306310
.project.select,
307311
.locale.select,
308312
.part.select,
@@ -494,16 +498,17 @@ time {
494498
}
495499

496500
.search-wrapper {
497-
border-bottom: 1px solid var(--main-border-1);
501+
border: 1px solid var(--main-border-1);
498502
margin-bottom: 10px;
499503
position: relative;
504+
border-radius: 3px;
500505
}
501506

502507
.search-wrapper .icon {
503508
color: var(--light-grey-7);
504509
font-size: 1.2em;
505510
position: absolute;
506-
left: 3px;
511+
left: 6px;
507512
top: 5px;
508513
}
509514

pontoon/contributors/static/css/settings.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ form.user-locales-settings div {
66
text-align: right;
77
}
88

9+
form.user-locales-settings .search-wrapper {
10+
background: var(--input-background-1);
11+
}
12+
913
form a:link,
1014
form a:visited {
1115
color: var(--status-translated-alt);

pontoon/messaging/static/css/messaging.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
section {
1010
padding: 20px;
1111
}
12+
.search-wrapper {
13+
background: var(--black-3);
14+
}
1215
}
1316

1417
.controls {

pontoon/teams/static/css/team.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,10 @@
230230
width: 100%;
231231
}
232232

233+
#permissions-form .search-wrapper {
234+
background: var(--dark-grey-1);
235+
}
236+
233237
#permissions-form .user.select .menu ul {
234238
height: 168px;
235239
margin-bottom: 0;
@@ -296,3 +300,7 @@
296300
#project-selector .menu li:not(.limited) {
297301
display: none;
298302
}
303+
304+
#project-selector.select.opened .menu .search-wrapper {
305+
background: var(--black-3);
306+
}

0 commit comments

Comments
 (0)