mirror of
https://github.com/zulip/zulip.git
synced 2026-06-24 21:08:25 +08:00
css: Use SCSS nesting in app_components.scss for .clear_search_button.
This commit is contained in:
parent
d0d497fc2d
commit
ff7aedd78a
@ -297,37 +297,39 @@
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.clear_search_button:hover {
|
||||
color: hsl(0, 0%, 0%);
|
||||
}
|
||||
.clear_search_button {
|
||||
&:hover {
|
||||
color: hsl(0, 0%, 0%);
|
||||
}
|
||||
|
||||
.clear_search_button[disabled] {
|
||||
visibility: hidden;
|
||||
}
|
||||
&[disabled] {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.clear_search_button,
|
||||
.clear_search_button:focus,
|
||||
.clear_search_button:active,
|
||||
.clear_search_button[disabled]:hover {
|
||||
position: relative;
|
||||
right: 20px;
|
||||
background: none;
|
||||
border: none;
|
||||
text-align: center;
|
||||
padding-top: 8px;
|
||||
padding-left: 4px;
|
||||
color: hsl(0, 0%, 80%);
|
||||
text-shadow: none;
|
||||
outline: none !important;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
-moz-box-shadow: none;
|
||||
z-index: 5;
|
||||
&,
|
||||
&:focus,
|
||||
&:active,
|
||||
&[disabled]:hover {
|
||||
position: relative;
|
||||
right: 20px;
|
||||
background: none;
|
||||
border: none;
|
||||
text-align: center;
|
||||
padding-top: 8px;
|
||||
padding-left: 4px;
|
||||
color: hsl(0, 0%, 80%);
|
||||
text-shadow: none;
|
||||
outline: none !important;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
-moz-box-shadow: none;
|
||||
z-index: 5;
|
||||
|
||||
.user_status_overlay & {
|
||||
margin-left: -26px;
|
||||
right: 0;
|
||||
padding-top: 6px;
|
||||
.user_status_overlay & {
|
||||
margin-left: -26px;
|
||||
right: 0;
|
||||
padding-top: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user