Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(899)

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/slider.css

Issue 2252913002: DevTools: Box-shadow editor initial implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shadowIcon
Patch Set: Merge Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/module.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/ui/slider.css
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/slider.css b/third_party/WebKit/Source/devtools/front_end/ui/slider.css
new file mode 100644
index 0000000000000000000000000000000000000000..29f40327cff28151c5e5df4bb57b2c9f4a1f8ab8
--- /dev/null
+++ b/third_party/WebKit/Source/devtools/front_end/ui/slider.css
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2016 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+.dt-range-input {
+ -webkit-appearance: none;
+ margin: 0;
+ padding: 0;
+ height: 12px;
+ width: 88px;
+ outline: none;
+ background: none;
+}
+
+.dt-range-input::-webkit-slider-thumb {
+ -webkit-appearance: none;
+ margin: 0;
+ padding: 0;
+ border: 0;
+ width: 12px;
+ height: 12px;
+ margin-top: -5px;
+ border-radius: 50%;
+ background-color: #4285F4;
+}
+
+.dt-range-input::-webkit-slider-runnable-track {
+ -webkit-appearance: none;
+ margin: 0;
+ padding: 0;
+ width: 100%;
+ height: 2px;
+ background-color: rgba(0, 0, 0, 0.26);
+}
+
+.dt-range-input:focus::-webkit-slider-thumb {
+ box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.4);
+}
+
+.dt-range-input:disabled::-webkit-slider-thumb {
+ background-color: #bdbdbd;
+}
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/module.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698