瀏覽代碼

style of disabled button

yusuketk 6 年之前
父節點
當前提交
16af5dd0c1
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      src/client/styles/scss/_override-bootstrap.scss

+ 7 - 0
src/client/styles/scss/_override-bootstrap.scss

@@ -113,3 +113,10 @@
 label {
   font-weight: 700;
 }
+
+// disabled button (reproduction from bootstrap3)
+.btn.disabled,
+.btn[disabled],
+fieldset[disabled] .btn {
+  cursor: not-allowed;
+}