Summary Files Commits Branches @commit @diff @stats
path: root / docs / css / spectre-exp.css
diff options
context:
space:
mode:
Commit14439c41a1c5f332d1713fe7c953dbcfeb7be8b7 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-04-03 15:17:22 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-04-03 15:17:22 +0800
Filesaa4012b5ccc4c87113c138f2c273a4b4880f0c91 /docs/css/spectre-exp.css
Spectre-Dark-Gruvbox-14439c41a1c5f332d1713fe7c953dbcfeb7be8b7.tar
Spectre-Dark-Gruvbox-14439c41a1c5f332d1713fe7c953dbcfeb7be8b7.tar.gz
Spectre-Dark-Gruvbox-14439c41a1c5f332d1713fe7c953dbcfeb7be8b7.zip
Parent95983b898151959ab02b397806a195d8b45a3b97 (diff)
Improve :focus state style
1 files changed, 9 insertions, 1 deletions
-rw-r--r--docs/css/spectre-exp.css10
diff --git a/docs/css/spectre-exp.css b/docs/css/spectre-exp.css
index 66d8a45..0d0ea94 100644
--- a/docs/css/spectre-exp.css
+++ b/docs/css/spectre-exp.css
@@ -63,6 +63,7 @@
cursor: pointer;
height: 2.8rem;
line-height: 2rem;
+ outline: none;
padding: .3rem;
position: relative;
text-align: center;
@@ -76,6 +77,9 @@
border-color: #e4e6f6;
color: #5764c6;
}
+.calendar .calendar-date .date-item:focus {
+ box-shadow: 0 0 0 .2rem rgba(87, 100, 198, .15);
+}
.calendar .calendar-date .date-item:focus,
.calendar .calendar-date .date-item:hover {
background: #fbfbfe;
@@ -407,7 +411,7 @@
max-width: 100%;
min-width: 1.6rem;
opacity: 0;
- outline: 0;
+ outline: none;
position: relative;
resize: horizontal;
top: 50%;
@@ -714,6 +718,10 @@
height: 2.4rem;
width: 100%;
}
+.slider:focus {
+ box-shadow: 0 0 0 .2rem rgba(87, 100, 198, .15);
+ outline: none;
+}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
background: #5764c6;