133 lines
2.4 KiB
CSS
133 lines
2.4 KiB
CSS
.owp-sticky-notice {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-align: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
position: relative;
|
|
background-color: #13aff0;
|
|
color: #fff;
|
|
max-width: 750px;
|
|
-webkit-box-pack: justify;
|
|
-ms-flex-pack: justify;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 5px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.owp-sticky-notice a {
|
|
-webkit-transition: all .3s ease;
|
|
-moz-transition: all .3s ease;
|
|
-o-transition: all .3s ease;
|
|
-ms-transition: all .3s ease;
|
|
transition: all .3s ease;
|
|
-webkit-box-shadow: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.owp-sticky-close {
|
|
opacity: .5;
|
|
font-size: 12px;
|
|
z-index: 1;
|
|
right: 0;
|
|
padding: 10px;
|
|
}
|
|
|
|
.owp-sticky-close:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.owp-sticky-close:before {
|
|
color: #fff;
|
|
}
|
|
|
|
.owp-sticky-close:active:before,
|
|
.owp-sticky-close:focus:before,
|
|
.owp-sticky-close:hover:before {
|
|
color: #fff;
|
|
}
|
|
|
|
.owp-sticky-notice p {
|
|
font-size: 15px;
|
|
line-height: 1.6;
|
|
margin: 0;
|
|
padding: 0;
|
|
padding: 20px;
|
|
}
|
|
|
|
.owp-sticky-notice p strong {
|
|
font-weight: 800;
|
|
}
|
|
|
|
.owp-sticky-button {
|
|
display: block;
|
|
position: relative;
|
|
background-color: #3b5998;
|
|
color: #fff;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
padding: 26px 26px 26px 80px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.owp-sticky-button:hover {
|
|
background-color: #527bd2;
|
|
}
|
|
|
|
.owp-sticky-button:active,
|
|
.owp-sticky-button:focus,
|
|
.owp-sticky-button:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
.owp-sticky-button i {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 25px;
|
|
font-size: 36px;
|
|
width: 36px;
|
|
height: 36px;
|
|
-webkit-transform: translateY(-50%);
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
/* RTL */
|
|
body.rtl .owp-sticky-close {
|
|
right: auto;
|
|
}
|
|
|
|
body.rtl .owp-sticky-button {
|
|
padding-left: 25px;
|
|
padding-right: 80px;
|
|
}
|
|
|
|
body.rtl .owp-sticky-button i {
|
|
right: 25px;
|
|
left: auto;
|
|
}
|
|
|
|
@media only screen and (max-width: 959px) {
|
|
body.rtl .owp-sticky-button {
|
|
padding-right: 26px;
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
|
|
/* Responsive */
|
|
@media only screen and (max-width: 959px) {
|
|
.owp-sticky-notice {
|
|
-ms-flex-wrap: wrap;
|
|
-webkit-flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.owp-sticky-button {
|
|
width: 100%;
|
|
text-align: center;
|
|
padding-left: 26px;
|
|
}
|
|
} |