summaryrefslogtreecommitdiff
path: root/assets/sass/_avatar.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/_avatar.sass
parentb1e795fc5b45369f7b9b565b1e106d2673361977 (diff)
parent5f82a942c0011bf91947b2c1d627c0907bda0c92 (diff)
Merge https://github.com/kanboard/kanboard
Diffstat (limited to 'assets/sass/_avatar.sass')
-rw-r--r--assets/sass/_avatar.sass32
1 files changed, 32 insertions, 0 deletions
diff --git a/assets/sass/_avatar.sass b/assets/sass/_avatar.sass
new file mode 100644
index 00000000..2041c326
--- /dev/null
+++ b/assets/sass/_avatar.sass
@@ -0,0 +1,32 @@
+@import variables
+
+.avatar img
+ vertical-align: bottom
+
+.avatar-left
+ float: left
+ margin-right: 10px
+
+.avatar-inline
+ display: inline-block
+ margin-right: 3px
+
+.avatar-48
+ img, div
+ border-radius: 30px
+ .avatar-letter
+ line-height: 48px
+ width: 48px
+ font-size: 25px
+
+.avatar-20
+ img, div
+ border-radius: 10px
+ .avatar-letter
+ line-height: 20px
+ width: 20px
+ font-size: 11px
+
+.avatar-letter
+ color: #fff
+ text-align: center