woocommerce/assets/css/activation.scss

114 lines
2.0 KiB
SCSS
Raw Normal View History

2014-11-18 12:52:00 +00:00
/**
* activation.scss
* Styles applied to elements displayed on activation
*/
/**
* Imports
*/
2014-10-17 17:21:54 +00:00
@import "bourbon";
2014-11-18 12:52:00 +00:00
/**
* Styling begins
*/
2012-03-01 00:02:17 +00:00
.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;
2013-03-01 16:03:10 +00:00
}
p.woocommerce-actions,
.woocommerce-message {
2013-03-01 16:03:10 +00:00
a.button-primary {
2013-11-19 11:22:59 +00:00
background: #cc99c2;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);
border-color: #b366a4;
2013-11-19 11:22:59 +00:00
box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);
2013-03-01 16:03:10 +00:00
color: #fff;
text-shadow: 0px -1px 1px #8a4f7f, 1px 0px 1px #8a4f7f, 0px 1px 1px #8a4f7f, -1px 0px 1px #8a4f7f;
2013-11-19 11:22:59 +00:00
&:hover {
background: #bb77ae;
border-color: #aa559a;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);
box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);
}
2013-11-19 11:22:59 +00:00
&:active {
background: #aa559a;
border-color: #aa559a;
}
2013-03-01 16:03:10 +00:00
}
a.skip,
a.docs {
opacity: 0.5;
&:hover, &:focus {
opacity: 1;
}
2013-03-01 16:03:10 +00:00
}
a.woocommerce-message-close {
position: absolute;
top: 10px;
right: 10px;
padding: 10px 15px 10px 21px;
font-size: 13px;
line-height: 1.23076923;
text-decoration: none;
&:before {
position: absolute;
top: 8px;
left: 0;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
}
2015-03-05 19:54:47 +00:00
a.button-primary,
a.button-secondary {
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
}
div.woocommerce-legacy-shipping-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: "\f319";
font-family: 'dashicons';
text-align: center;
line-height: 1;
color: #F7F1F6;
display: block;
width: 1em;
font-size: 20em;
top: 0;
right: 0;
position: absolute;
}
}