瀏覽代碼

style(toasts): most recent darker than rest

Owen Diffey 5 年之前
父節點
當前提交
9595dad15f
共有 1 個文件被更改,包括 9 次插入2 次删除
  1. 9 2
      frontend/App.vue

+ 9 - 2
frontend/App.vue

@@ -124,8 +124,15 @@ export default {
 	right: 20px;
 }
 
-.toast:not(:first-of-type) {
-	margin-top: 5px;
+.toast {
+	background-color: $dark-grey !important;
+
+	&:last-of-type {
+		background-color: $dark-grey-2 !important;
+	}
+	&:not(:first-of-type) {
+		margin-top: 5px;
+	}
 }
 
 html {