Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
知鸟1号
AdminLTE
提交
f3b2f0d4
A
AdminLTE
项目概览
知鸟1号
/
AdminLTE
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
AdminLTE
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
f3b2f0d4
编写于
3月 23, 2016
作者:
J
John Berberich
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Apply form validation state colors to help blocks
上级
bd61a3b6
变更
4
展开全部
隐藏空白更改
内联
并排
Showing
4 changed file
with
22 addition
and
1 deletion
+22
-1
build/less/forms.less
build/less/forms.less
+9
-0
dist/css/AdminLTE.css
dist/css/AdminLTE.css
+9
-0
dist/css/AdminLTE.min.css
dist/css/AdminLTE.min.css
+1
-1
pages/forms/general.html
pages/forms/general.html
+3
-0
未找到文件。
build/less/forms.less
浏览文件 @
f3b2f0d4
...
...
@@ -33,6 +33,9 @@
border-color: @green;
box-shadow: none;
}
.help-block {
color: @green;
}
}
&.has-warning {
...
...
@@ -43,6 +46,9 @@
border-color: @yellow;
box-shadow: none;
}
.help-block {
color: @yellow;
}
}
&.has-error {
...
...
@@ -53,6 +59,9 @@
border-color: @red;
box-shadow: none;
}
.help-block {
color: @red;
}
}
}
...
...
dist/css/AdminLTE.css
浏览文件 @
f3b2f0d4
...
...
@@ -1260,6 +1260,9 @@ a:focus {
border-color
:
#00a65a
;
box-shadow
:
none
;
}
.form-group.has-success
.help-block
{
color
:
#00a65a
;
}
.form-group.has-warning
label
{
color
:
#f39c12
;
}
...
...
@@ -1267,6 +1270,9 @@ a:focus {
border-color
:
#f39c12
;
box-shadow
:
none
;
}
.form-group.has-warning
.help-block
{
color
:
#f39c12
;
}
.form-group.has-error
label
{
color
:
#dd4b39
;
}
...
...
@@ -1274,6 +1280,9 @@ a:focus {
border-color
:
#dd4b39
;
box-shadow
:
none
;
}
.form-group.has-error
.help-block
{
color
:
#dd4b39
;
}
/* Input group */
.input-group
.input-group-addon
{
border-radius
:
0
;
...
...
dist/css/AdminLTE.min.css
浏览文件 @
f3b2f0d4
此差异已折叠。
点击以展开。
pages/forms/general.html
浏览文件 @
f3b2f0d4
...
...
@@ -746,16 +746,19 @@
<div
class=
"form-group has-success"
>
<label
class=
"control-label"
for=
"inputSuccess"
><i
class=
"fa fa-check"
></i>
Input with success
</label>
<input
type=
"text"
class=
"form-control"
id=
"inputSuccess"
placeholder=
"Enter ..."
>
<span
class=
"help-block"
>
Help block with success
</span>
</div>
<div
class=
"form-group has-warning"
>
<label
class=
"control-label"
for=
"inputWarning"
><i
class=
"fa fa-bell-o"
></i>
Input with
warning
</label>
<input
type=
"text"
class=
"form-control"
id=
"inputWarning"
placeholder=
"Enter ..."
>
<span
class=
"help-block"
>
Help block with warning
</span>
</div>
<div
class=
"form-group has-error"
>
<label
class=
"control-label"
for=
"inputError"
><i
class=
"fa fa-times-circle-o"
></i>
Input with
error
</label>
<input
type=
"text"
class=
"form-control"
id=
"inputError"
placeholder=
"Enter ..."
>
<span
class=
"help-block"
>
Help block with error
</span>
</div>
<!-- checkbox -->
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录