summaryrefslogtreecommitdiff
path: root/assets/css/src
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-19 11:17:58 -0400
committerFrederic Guillot <fred@kanboard.net>2016-03-19 11:17:58 -0400
commit9d4ba1471dd8410e1597a18478dbb3b7789d4ec7 (patch)
treeb8de40fa34954fd624816795d535bae1df7286c8 /assets/css/src
parentfa86542f90774d7a7d8f3e81ee35821ca25b7fd4 (diff)
Added letter based avatar provider
Diffstat (limited to 'assets/css/src')
-rw-r--r--assets/css/src/avatar.css17
-rw-r--r--assets/css/src/base.css5
2 files changed, 17 insertions, 5 deletions
diff --git a/assets/css/src/avatar.css b/assets/css/src/avatar.css
new file mode 100644
index 00000000..a30689e8
--- /dev/null
+++ b/assets/css/src/avatar.css
@@ -0,0 +1,17 @@
+.avatar {
+ float: left;
+ margin-right: 10px;
+}
+
+.avatar img,
+.avatar div {
+ border-radius: 30px;
+}
+
+.avatar-letter {
+ color: #fff;
+ line-height: 48px;
+ width: 48px;
+ font-size: 25px;
+ text-align: center;
+}
diff --git a/assets/css/src/base.css b/assets/css/src/base.css
index 7f5642e7..591af72b 100644
--- a/assets/css/src/base.css
+++ b/assets/css/src/base.css
@@ -47,11 +47,6 @@ hr {
min-height: 27px; /* Reserve some space to avoid re-layout due to chosen */
}
-.avatar {
- float: left;
- margin-right: 10px;
-}
-
#ui-datepicker-div {
font-size: 0.8em;
}