aboutsummaryrefslogtreecommitdiff
path: root/styles
diff options
context:
space:
mode:
Diffstat (limited to 'styles')
-rw-r--r--styles/gameSettings.css25
-rw-r--r--styles/navbar.css25
-rw-r--r--styles/notifications.css5
3 files changed, 48 insertions, 7 deletions
diff --git a/styles/gameSettings.css b/styles/gameSettings.css
index d9ba262..3c45fb4 100644
--- a/styles/gameSettings.css
+++ b/styles/gameSettings.css
@@ -29,7 +29,7 @@
}
.editGameSettings .editableRules {
- margin-top: var(--spacing-large);
+ margin: var(--spacing-large) 0;
max-height: 500px;
overflow-y: scroll;
}
@@ -43,11 +43,14 @@
html.dark .editGameSettings .editableRules .editableRulesSection {
background-color: var(--gray-800);
}
-
-.editGameSettings .button {
- line-height: normal;
+.editGameSettings .editableRules .editableRulesSection:last-child {
+ margin-bottom: 0;
}
+.editGameSettings .button { line-height: normal; }
+
+.editGameSettings .checkboxWrapper { margin: -3px; }
+
.editGameSettings .editableRules .editableRulesSection .timeControls {
margin: var(--spacing-medium);
margin-left: 0;
@@ -56,7 +59,19 @@ html.dark .editGameSettings .editableRules .editableRulesSection {
.editGameSettings .editableRules .editableRulesSection .timeControls input {
background-color: var(--background);
-
width: calc(100% - 2 * var(--spacing-medium));
}
+.editGameSettings .editableRules .gamerule {
+ margin-top: var(--spacing-medium);
+}
+
+.editGameSettings .editableRules .gamerule h1 {
+ color: var(--accent);
+ font-size: 2.5rem;
+}
+
+#timelimit .valignsup {
+ margin-left: var(--spacing-small);
+}
+
diff --git a/styles/navbar.css b/styles/navbar.css
index 5866b8f..baf9fd6 100644
--- a/styles/navbar.css
+++ b/styles/navbar.css
@@ -9,3 +9,28 @@
bottom: -4px;
left: 0;
}
+
+.navbar {
+ width: 48px;
+ line-height: 0;
+ overflow: visible;
+ white-space: nowrap;
+ z-index: 2;
+}
+
+.navbar .bottomArea .item.notifications {
+ overflow: visible;
+}
+
+.navbar .bottomArea .item.notifications > .iconWrapper {
+ cursor: pointer;
+}
+
+.notifications .notificationDot {
+ background-color: var(--accent);
+ width: 8px;
+ height: 8px;
+ border-radius: 4px;
+ top: 2px;
+ right: 2px;
+}
diff --git a/styles/notifications.css b/styles/notifications.css
index ec47836..db1598d 100644
--- a/styles/notifications.css
+++ b/styles/notifications.css
@@ -1,4 +1,5 @@
-.notificationsArea {
+/* a tags are here because of css specificity */
+a.notificationsArea {
left: calc(48px + var(--spacing-medium));
top: 92px;
transform: translateY(-100%);
@@ -7,7 +8,7 @@
height: 450px;
}
-.notificationsArea .tuitje {
+a.notificationsArea .tuitje {
left: var(--spacing-medium);
bottom: 86px;
transform: translate(-100%, 100%) rotate(90deg);