瀏覽代碼

Style buttons

master
Immanuel Onyeka 2 年之前
父節點
當前提交
fa03abed94
共有 1 個檔案被更改,包括 22 行新增0 行删除
  1. +22
    -0
      assets/main.css

+ 22
- 0
assets/main.css 查看文件

@@ -2,6 +2,7 @@
--primary-bg: white;
--secondary-bg: #F7F9FA;
--text: #4C555E;
--text-dark: #394046;
--text-light: #1D262E;
--text-lighter: #28323B;
--text-lightest: #A1A7AD;
@@ -24,6 +25,27 @@ label {
font-size: 16px;
}

button {
background: var(--text);
color: white;
border: none;
padding: 7px;
border-radius: 3px;
font-weight: bold;
}

button:not(:disabled) {
cursor: pointer;
}

button:disabled {
background: grey;
}

/* button:not(:disabled):hover { */
/* background: var(--text-dark); */
/* } */

input, select {
border: 2px solid var(--outline);
border-radius: 3px;


Loading…
取消
儲存