瀏覽代碼

Update styling of Required fields

Alan Lam 7 年之前
父節點
當前提交
e895f09b1c
共有 2 個文件被更改,包括 4 次插入 和 4 次删除
  1. 0 0
      public/css/bootstrap.min.css
  2. 4 4
      scss/_main.scss

文件差異過大導致無法顯示
+ 0 - 0
public/css/bootstrap.min.css


+ 4 - 4
scss/_main.scss

@@ -102,10 +102,10 @@ ol.breadcrumb {
 	overflow: auto;
 }
 
-input[required], select[required], textarea[required] {
-	background-image: url(/img/bg_required.png);
-	background-position: center right;
-	background-repeat: no-repeat;
+input, select, textarea {
+	&:invalid {
+		border: 1px solid lightcoral;
+	}
 }
 
 .hover-container {

部分文件因文件數量過多而無法顯示