summaryrefslogtreecommitdiff
path: root/assets/sass/_input_addon.sass
diff options
context:
space:
mode:
authorJLGC @monolinux <monolinux@junglacode.org>2016-08-15 23:13:16 -0500
committerJLGC @monolinux <monolinux@junglacode.org>2016-08-15 23:13:16 -0500
commit683c0464093f6a7976236c68653c2a2cc5dae280 (patch)
treebf176ecd82415cc4952eea071b7d264dd5fd68b4 /assets/sass/_input_addon.sass
parentb1e795fc5b45369f7b9b565b1e106d2673361977 (diff)
parent5f82a942c0011bf91947b2c1d627c0907bda0c92 (diff)
Merge https://github.com/kanboard/kanboard
Diffstat (limited to 'assets/sass/_input_addon.sass')
-rw-r--r--assets/sass/_input_addon.sass35
1 files changed, 35 insertions, 0 deletions
diff --git a/assets/sass/_input_addon.sass b/assets/sass/_input_addon.sass
new file mode 100644
index 00000000..6be78fdf
--- /dev/null
+++ b/assets/sass/_input_addon.sass
@@ -0,0 +1,35 @@
+@import mixins
+
+.input-addon
+ display: flex
+
+.input-addon-field
+ flex: 1
+ font-size: size('normal')
+ color: color('light')
+ margin: 0
+ +appearance
+
+.input-addon-item
+ background-color: rgba(147, 128, 108, 0.1)
+ color: #666
+ font: inherit
+ font-weight: normal
+
+ @include xs-device
+ .dropdown
+ .fa-caret-down
+ display: none
+
+.input-addon-field, .input-addon-item
+ border: 1px solid rgba(147, 128, 108, 0.25)
+ padding: 4px 0.75em
+
+ &:not(:first-child)
+ border-left: 0
+
+.input-addon-field:first-child, .input-addon-item:first-child
+ border-radius: 5px 0 0 5px
+
+.input-addon-field:last-child, .input-addon-item:last-child
+ border-radius: 0 5px 5px 0