projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88a7f93
)
search bar shadow on focus
author
Rigel Kent
<sendmemail@rigelk.eu>
Thu, 12 Dec 2019 09:42:46 +0000
(10:42 +0100)
committer
Chocobozzz
<chocobozzz@cpy.re>
Fri, 13 Dec 2019 08:13:43 +0000
(09:13 +0100)
client/src/app/header/header.component.scss
patch
|
blob
|
history
diff --git
a/client/src/app/header/header.component.scss
b/client/src/app/header/header.component.scss
index cea415d9b229001eaeeb91da515d2179caa21a2a..736035b72ba776b6a60bef4b6c31aa0f7cec6c54 100644
(file)
--- a/
client/src/app/header/header.component.scss
+++ b/
client/src/app/header/header.component.scss
@@
-8,6
+8,16
@@
padding-right: 40px; // For the search icon
font-size: 14px;
+ transition: box-shadow .3s ease;
+
+ /* light border style */
+ border: 1px solid var(--mainBackgroundColor);
+ box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 20px 0px;
+
+ &:focus {
+ box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 20px 0px;
+ }
+
&::placeholder {
color: var(--inputPlaceholderColor);
}