summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/components/follower/follower.scss
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/mail/static/src/components/follower/follower.scss
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/mail/static/src/components/follower/follower.scss')
-rw-r--r--addons/mail/static/src/components/follower/follower.scss55
1 files changed, 55 insertions, 0 deletions
diff --git a/addons/mail/static/src/components/follower/follower.scss b/addons/mail/static/src/components/follower/follower.scss
new file mode 100644
index 00000000..509a119f
--- /dev/null
+++ b/addons/mail/static/src/components/follower/follower.scss
@@ -0,0 +1,55 @@
+// ------------------------------------------------------------------
+// Layout
+// ------------------------------------------------------------------
+
+.o_Follower {
+ display: flex;
+ flex-flow: row;
+ justify-content: space-between;
+ padding: map-get($spacers, 0);
+}
+
+.o_Follower_avatar {
+ width: 24px;
+ height: 24px;
+ margin-inline-end: map-get($spacers, 2);
+}
+
+.o_Follower_details {
+ align-items: center;
+ display: flex;
+ flex: 1;
+ padding-left: map-get($spacers, 3);
+ padding-right: map-get($spacers, 3);
+}
+
+// ------------------------------------------------------------------
+// Style
+// ------------------------------------------------------------------
+
+.o_Follower_avatar {
+ border-radius: 50%;
+}
+
+.o_Follower_button {
+ border-radius: 0;
+
+ &:hover {
+ background: gray('400');
+ color: $black;
+ }
+}
+
+.o_Follower_details {
+ color: gray('700');
+
+ &:hover {
+ background: gray('400');
+ color: $black;
+ }
+
+ &.o-inactive {
+ opacity: 0.25;
+ font-style: italic;
+ }
+}