summaryrefslogtreecommitdiff
path: root/docs/index.css
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2018-02-21 23:20:04 +0300
committerRasmus Andersson <rasmus@notion.se>2018-02-21 23:20:04 +0300
commit2e929794e7095cb9a4552f9a8a53917fcbfe06e6 (patch)
treeeaf5afe1b5015e6bd60798fdd06c95cadd7f49f7 /docs/index.css
parentbd425b8fb85efebfae31e45b0c30b521ecd82a79 (diff)
downloadinter-2e929794e7095cb9a4552f9a8a53917fcbfe06e6.tar.xz
website
Diffstat (limited to 'docs/index.css')
-rw-r--r--docs/index.css61
1 files changed, 61 insertions, 0 deletions
diff --git a/docs/index.css b/docs/index.css
new file mode 100644
index 000000000..9fb3c5d45
--- /dev/null
+++ b/docs/index.css
@@ -0,0 +1,61 @@
+
+#hidden-text-input {
+ position: absolute;
+ left:0;
+ top:0;
+ background: none;
+ border: none;
+ opacity: 0;
+ pointer-events: none;
+}
+
+.dynmet-calc {
+ font-size: 18px;
+ line-height: 26px;
+ user-select: text;
+}
+ .dynmet-calc input {
+ border: none;
+ box-shadow: inset 0 -1px 0 0 rgba(255, 255, 255, 0.3);
+ background: transparent;
+ font: inherit;
+ color: inherit;
+ outline: none;
+ margin: 0 0.2em;
+ width: 40px;
+ text-align: center;
+ line-height: inherit;
+ color: #eee;
+ user-select: text;
+ }
+ .dynmet-calc input:focus {
+ color: #fff;
+ box-shadow: inset 0 -2px 0 0 rgb(43, 139, 247);
+ }
+ .dynmet-calc input[type=number]::-webkit-inner-spin-button,
+ .dynmet-calc input[type=number]::-webkit-outer-spin-button {
+ -webkit-appearance: none;
+ margin: 0;
+ }
+
+ .dynmet-calc .arrow {
+ margin: 0 0.8em;
+ color: #eee;
+ }
+
+ .dynmet-calc #dynmet-tracking {
+ box-shadow: none;
+ width: 57px;
+ margin-right: 0.1em;
+ color: #eee;
+ }
+ .dynmet-calc #dynmet-tracking.percent {
+ width: 34px;
+ }
+
+ .dynmet-calc #dynmet-unit:hover {
+ color: rgb(43, 139, 247);
+ }
+ .dynmet-calc #dynmet-unit:active {
+ color: white;
+ }