aboutsummaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-11-17 15:20:49 +0100
committerdec05eba <dec05eba@protonmail.com>2018-11-17 15:20:52 +0100
commit64ab3253562be80e726b3d69e4c3e556b055c965 (patch)
tree97d5b68f90ca8176fc58ec16eb79dbbef2920abd /css
parent7873b7555f1f8fe72732f64b35a8116390b981b3 (diff)
Auto reload css on modify, improve design
Diffstat (limited to 'css')
-rw-r--r--css/style.css100
1 files changed, 75 insertions, 25 deletions
diff --git a/css/style.css b/css/style.css
index 1c34440..64244fa 100644
--- a/css/style.css
+++ b/css/style.css
@@ -1,3 +1,9 @@
+@keyframes ripple_effect {
+ to {
+ background-size: 1000% 1000%;
+ }
+}
+
* {
font-family: Lato;
}
@@ -14,7 +20,7 @@ entry {
caret-color: #f7f7f7;
background-color: #444444;
border-color: #444444;
- border-radius: 10px;
+ border-radius: 4px;
color: #f7f7f7;
box-shadow: none;
}
@@ -44,17 +50,59 @@ scrollbar {
}
button {
- background-image: none;
- background-color: #36393e;
- color: #f7f7f7;
- border-style: none;
- outline-style: none;
+ /*
+ min-height: 24px;
+ min-width: 16px;
+ */
+ /*padding: 6px 10px;*/
+ border: none;
+ font-weight: 500;
+ transition: 100ms, background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 1200ms cubic-bezier(0, 0, 0.2, 1);
+ /*box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24), inset 0 0 0 9999px transparent;*/
box-shadow: none;
text-shadow: none;
+ background-color: #36393e;
+ background-image: radial-gradient(circle farthest-corner at center, transparent 10%, transparent 0%);
+ background-repeat: no-repeat;
+ background-position: center;
+ background-size: 1000% 1000%;
+ color: rgba(0, 0, 0, 0.62);
+}
+
+button:hover {
+ background-color: #4c5057;
+ /*box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23), inset 0 0 0 9999px transparent;*/
+ color: rgba(0, 0, 0, 0.87);
+}
+
+button:active {
+ transition: 100ms, background-size 0, background-image 0;
+ animation: ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1) forwards;
+ /*box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23), inset 0 0 0 9999px alpha(currentColor, 0.08);*/
+ background-image: radial-gradient(circle farthest-corner at center, alpha(currentColor, 0.12) 10%, transparent 0%);
+ background-size: 0% 0%;
+ color: rgba(0, 0, 0, 0.87);
+}
+
+button:disabled {
+ box-shadow: none;
+ background-color: rgba(0, 0, 0, 0.12);
+ color: rgba(0, 0, 0, 0.26);
+}
+
+button:checked {
+ background-color: #4c5057;
+ color: white;
+}
+
+button:checked:disabled {
+ background-color: rgba(66, 133, 244, 0.3);
+ color: rgba(66, 133, 244, 0.5);
}
.confirm-button {
background-color: #3060d8;
+ color: #f7f7f7;
}
menu {
@@ -102,13 +150,15 @@ treeview {
}
.side-panels separator {
- border: 1px solid #2f3136;
- background-color: #2f3136;
+ border: none;
+ background-color: #36393e;
+ box-shadow: 0px 0px 3px #1d1d1d;
}
#top-bar {
background: none;
- box-shadow: 0px 0px 5px #1d1d1d;
+ box-shadow: 0px 0px 3px #1d1d1d;
+ border: none;
}
#top-bar-search {
@@ -141,8 +191,9 @@ treeview {
.left-panel separator {
border: 1px solid #36393e;
- border-top: 3px solid #444444;
+ border-top: 3px dashed #444444;
background-color: #36393e;
+ box-shadow: none;
}
#channels-title {
@@ -151,39 +202,33 @@ treeview {
font-size: 16px;
}
-.room-button {
- background: none;
-}
-
.users-title {
color: #f7f7f7;
font-weight: bold;
font-size: 16px;
}
-#chat-panel {
- background-color: #444444;
-}
-
-#chat-area-layout {
+#message-area-layout {
margin-top: 10px;
margin-bottom: 10px;
}
-.chat-message {
+.message-message {
color: white;
background-color: #36393e;
padding: 15px 15px 15px 15px;
margin: 10px 20px 10px 20px;
- box-shadow: 0px 0px 5px #1d1d1d;
+ box-shadow: 2px 2px 3px #1d1d1d;
+ border: 3px solid transparent;
+ border-radius: 3px;
}
-.chat-message-username {
+.message-message-username {
color: #0fc0fc;
font-size: 14px;
}
-.chat-message-text {
+.message-message-text {
font-size: 13px;
}
@@ -223,6 +268,10 @@ textview text {
}
*/
+#chat-area {
+ border-top: 2px solid #2f3136;
+}
+
#chat-scroll-view {
background-color: #444444;
/*
@@ -232,7 +281,6 @@ textview text {
margin-right: 20px;
*/
padding: 15px;
- box-shadow: 0px 0px 5px #1d1d1d;
}
/*
#chat-input {
@@ -259,4 +307,6 @@ textview text {
.username-list-username {
color: #0fc0fc;
font-weight: bold;
-} \ No newline at end of file
+}
+
+undershoot.top, undershoot.right, undershoot.bottom, undershoot.left { background-size: 0px 0px; } \ No newline at end of file