woocommerce/assets/css/activation.scss

99 lines
1.7 KiB
SCSS
Raw Normal View History

2014-11-18 12:52:00 +00:00
/**
* activation.scss
* Styles applied to elements displayed on activation
*/
/**
* Styling begins
*/
div.woocommerce-message {
2015-03-05 19:54:47 +00:00
overflow: hidden;
2012-03-01 00:02:17 +00:00
position: relative;
2013-11-19 11:22:59 +00:00
border-left-color: #cc99c2 !important;
p {
max-width: 700px;
}
2018-02-13 12:02:24 +00:00
p:last-child {
max-width: inherit;
}
2013-03-01 16:03:10 +00:00
}
p.woocommerce-actions,
.woocommerce-message {
2017-08-08 17:00:47 +00:00
.button-primary {
2016-06-03 11:22:05 +00:00
background: #bb77ae;
border-color: #a36597;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
2013-03-01 16:03:10 +00:00
color: #fff;
text-shadow: 0 -1px 1px #a36597, 1px 0 1px #a36597, 0 1px 1px #a36597, -1px 0 1px #a36597;
2016-06-03 11:22:05 +00:00
&:hover, &:focus, &:active {
background: #a36597;
border-color: #a36597;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
2013-11-19 11:22:59 +00:00
}
2013-03-01 16:03:10 +00:00
}
a.woocommerce-message-close {
position: absolute;
top: 0;
right: 0;
padding: 10px 15px 10px 21px;
font-size: 13px;
line-height: 1.23076923;
text-decoration: none;
&::before {
position: absolute;
top: 8px;
left: 0;
transition: all 0.1s ease-in-out;
}
}
2017-08-08 17:00:47 +00:00
.button-primary,
.button-secondary {
2015-03-05 19:54:47 +00:00
text-decoration: none !important;
}
2013-03-01 16:03:10 +00:00
.twitter-share-button {
2014-08-27 20:59:33 +00:00
margin-top: -3px;
margin-left: 3px;
2013-03-01 16:03:10 +00:00
vertical-align: middle;
}
}
2015-03-05 19:54:47 +00:00
p.woocommerce-actions,
2013-03-01 16:03:10 +00:00
.woocommerce-about-text {
margin-bottom: 1em !important;
2015-03-05 19:54:47 +00:00
}
2016-04-01 10:19:55 +00:00
div.woocommerce-legacy-shipping-notice,
div.woocommerce-no-shipping-methods-notice {
overflow: hidden;
padding: 1px 12px;
p {
position: relative;
z-index: 1;
max-width: 700px;
line-height: 1.5em;
margin: 12px 0;
&.main {
font-size: 1.1em;
}
}
&::before {
content: '\e01b';
font-family: 'WooCommerce';
text-align: center;
line-height: 1;
color: #f7f1f6;
display: block;
width: 1em;
font-size: 20em;
2016-03-29 18:37:02 +00:00
top: 36px;
right: 12px;
position: absolute;
}
}