!important declarations in messages. closes #3649
This commit is contained in:
parent
e6304f881b
commit
694199b2b2
File diff suppressed because one or more lines are too long
|
@ -31,83 +31,6 @@
|
|||
|
||||
/* =Global styles/layout
|
||||
-------------------------------------------------------------- */
|
||||
.woocommerce-message, .woocommerce-error, .woocommerce-info {
|
||||
padding: 1em 1em 1em 3.5em;
|
||||
margin: 0 0 2em;
|
||||
position: relative;
|
||||
.border_radius(4px);
|
||||
.vertical_gradient( lighten( @secondary, 2 ), @secondary );
|
||||
color: @secondarytext;
|
||||
.text_shadow( 0, 1px, 0, lighten( @secondary, 4 ) );
|
||||
list-style:none outside;
|
||||
.clearfix();
|
||||
width: auto;
|
||||
-webkit-box-shadow:
|
||||
inset 0 -2px 6px rgba(0,0,0,0.05),
|
||||
inset 0 -2px 30px rgba(0,0,0,0.015),
|
||||
inset 0 1px 0 #fff,
|
||||
0 1px 2px rgba(0,0,0,0.3);
|
||||
box-shadow:
|
||||
inset 0 -2px 6px rgba(0,0,0,0.05),
|
||||
inset 0 -2px 30px rgba(0,0,0,0.015),
|
||||
inset 0 1px 0 #fff,
|
||||
0 1px 2px rgba(0,0,0,0.3);
|
||||
|
||||
&:before {
|
||||
content: "";
|
||||
height: 1.5em;
|
||||
width: 1.5em;
|
||||
display:block;
|
||||
position:absolute;
|
||||
top: 0;
|
||||
left: 1em;
|
||||
font-family: sans-serif;
|
||||
font-size:1em;
|
||||
line-height: 1.5;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
text-shadow:0 1px 0 rgba(0,0,0,0.2);
|
||||
padding-top:1em;
|
||||
.border_radius_bottom(4px);
|
||||
.inset_box_shadow(0,-1px,0,0,rgba(0,0,0,0.1));
|
||||
}
|
||||
|
||||
.button {
|
||||
float: right;
|
||||
}
|
||||
|
||||
li {
|
||||
list-style:none outside;
|
||||
padding-left:0;
|
||||
margin-left:0;
|
||||
}
|
||||
}
|
||||
|
||||
.woocommerce-message {
|
||||
border-top:3px solid #8fae1b;
|
||||
&:before {
|
||||
background-color:#8fae1b;
|
||||
content: "\2713";
|
||||
}
|
||||
}
|
||||
.woocommerce-info {
|
||||
border-top:3px solid #1e85be;
|
||||
&:before {
|
||||
background-color:#1e85be;
|
||||
content: "i";
|
||||
font-family: Times, Georgia, serif;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
.woocommerce-error {
|
||||
border-top:3px solid #b81c23;
|
||||
&:before {
|
||||
background-color:#b81c23;
|
||||
content: "\00d7";
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
|
||||
p.demo_store {
|
||||
position:fixed;
|
||||
top: 0;
|
||||
|
@ -133,6 +56,83 @@ p.demo_store {
|
|||
|
||||
.woocommerce, .woocommerce-page { // namespace to avoid conflict with common global class names
|
||||
|
||||
.woocommerce-message, .woocommerce-error, .woocommerce-info {
|
||||
padding: 1em 1em 1em 3.5em !important;
|
||||
margin: 0 0 2em !important;
|
||||
position: relative;
|
||||
.border_radius(4px);
|
||||
.vertical_gradient( lighten( @secondary, 2 ), @secondary );
|
||||
color: @secondarytext;
|
||||
.text_shadow( 0, 1px, 0, lighten( @secondary, 4 ) );
|
||||
list-style:none outside !important;
|
||||
.clearfix();
|
||||
width: auto;
|
||||
-webkit-box-shadow:
|
||||
inset 0 -2px 6px rgba(0,0,0,0.05),
|
||||
inset 0 -2px 30px rgba(0,0,0,0.015),
|
||||
inset 0 1px 0 #fff,
|
||||
0 1px 2px rgba(0,0,0,0.3);
|
||||
box-shadow:
|
||||
inset 0 -2px 6px rgba(0,0,0,0.05),
|
||||
inset 0 -2px 30px rgba(0,0,0,0.015),
|
||||
inset 0 1px 0 #fff,
|
||||
0 1px 2px rgba(0,0,0,0.3);
|
||||
|
||||
&:before {
|
||||
content: "";
|
||||
height: 1.5em;
|
||||
width: 1.5em;
|
||||
display:block;
|
||||
position:absolute;
|
||||
top: 0;
|
||||
left: 1em;
|
||||
font-family: sans-serif;
|
||||
font-size:1em;
|
||||
line-height: 1.5;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
text-shadow:0 1px 0 rgba(0,0,0,0.2);
|
||||
padding-top:1em;
|
||||
.border_radius_bottom(4px);
|
||||
.inset_box_shadow(0,-1px,0,0,rgba(0,0,0,0.1));
|
||||
}
|
||||
|
||||
.button {
|
||||
float: right;
|
||||
}
|
||||
|
||||
li {
|
||||
list-style:none outside !important;
|
||||
padding-left:0 !important;
|
||||
margin-left:0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.woocommerce-message {
|
||||
border-top:3px solid #8fae1b;
|
||||
&:before {
|
||||
background-color:#8fae1b;
|
||||
content: "\2713";
|
||||
}
|
||||
}
|
||||
.woocommerce-info {
|
||||
border-top:3px solid #1e85be;
|
||||
&:before {
|
||||
background-color:#1e85be;
|
||||
content: "i";
|
||||
font-family: Times, Georgia, serif;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
.woocommerce-error {
|
||||
border-top:3px solid #b81c23;
|
||||
&:before {
|
||||
background-color:#b81c23;
|
||||
content: "\00d7";
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
|
||||
small.note {
|
||||
display:block;
|
||||
color: @subtext;
|
||||
|
|
Loading…
Reference in New Issue