提交 5a243863 编写于 作者: C Catouse

* change alerts style.

上级 20adb7ec
......@@ -552,8 +552,7 @@
// -------------------------
.alert-variant(@background; @border; @text-color) {
background-color: @background;
// border-color: darken(@background, 10%);
border-color: @border;
// border-color: @border;
color: darken(@text-color, 5%);
hr {
border-top-color: @border;
......@@ -629,7 +628,9 @@
&.active,
.open .dropdown-toggle& {
background-image: none;
.box-shadow(inset 0 1px 2px rgba(0,0,0,0.1));
background-color: darken(@background, 15%);
border-color: darken(@border, 10%);
.box-shadow(inset 0 4px 6px rgba(0,0,0,0.15));
}
&.disabled,
&[disabled],
......
......@@ -10,7 +10,6 @@
{
padding: @alert-padding;
margin-bottom: @line-height-computed;
border: 1px solid transparent;
border-radius: @alert-border-radius;
.alert-variant(@alert-default-bg; @alert-default-border; @alert-default-text);
.transition;
......@@ -49,7 +48,7 @@
font-size: 42px;
opacity: 0.6;
margin-top: -5px;
.transition(opacity,@animation-speed-fast,@animation-type);
.transition(opacity, @animation-speed-fast, @animation-type);
}
>[class*="icon-"] + .content
......@@ -104,7 +103,7 @@
.close
{
position: relative;
top: -2px;
top: -6px;
right: -21px;
color: inherit;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册