218 lines
5.3 KiB
CSS
218 lines
5.3 KiB
CSS
/* Notify styles */
|
|
.wp-core-ui .notice.pys-fixed-notice {
|
|
background: #fff;
|
|
border-left: 1px solid #c3c4c7;
|
|
border-left-width: 4px;
|
|
box-shadow: 0 1px 1px rgb(0 0 0 / 4%);
|
|
margin: 10px 0px 10px;
|
|
padding: 1px 12px;
|
|
}
|
|
.wp-core-ui .notice.pys-fixed-notice .notice_content {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 30px;
|
|
|
|
}
|
|
.wp-core-ui .notice.pys-fixed-notice:not(.notice-disable-dismiss){
|
|
padding-right: 100px;
|
|
}
|
|
.notice.pys-fixed-notice .notice-item {
|
|
padding-top: 15px;
|
|
}
|
|
.notice.pys-fixed-notice .notice-content .notice-item:last-of-type hr{
|
|
display: none;
|
|
}
|
|
.notice.pys-fixed-notice .notice-title {
|
|
font-weight: bold;
|
|
margin: 5px 0;
|
|
}
|
|
.notice.pys-fixed-notice.notice-color-orange
|
|
{
|
|
border-left-color: #D2714E;
|
|
}
|
|
.notice.pys-fixed-notice.notice-color-blue
|
|
{
|
|
border-left-color: #1B2B9A;
|
|
}
|
|
.notice.pys-fixed-notice.notice-color-green
|
|
{
|
|
border-left-color: #8bc34a;
|
|
}
|
|
.notice.pys-fixed-notice .notice-message p {
|
|
font-size: 1.2em;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.notice.pys-fixed-notice .notice-message {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 30px;
|
|
margin-bottom: 25px;
|
|
}
|
|
.pys-fixed-notice .logo-notice img {
|
|
max-width: 100%;
|
|
}
|
|
.pys-fixed-notice .logo-notice {
|
|
width: 100px;
|
|
flex: 0 0 100px;
|
|
}
|
|
.pys-fixed-notice .notice-content {
|
|
flex: 1;
|
|
}
|
|
.notice-disable-dismiss .notice-dismiss
|
|
{
|
|
display: none;
|
|
}
|
|
/*.pys-chain-fixed-notice .custom-dismiss-button
|
|
{
|
|
position: absolute;
|
|
top: 0;
|
|
right: 1px;
|
|
border: none;
|
|
margin: 0;
|
|
padding: 9px;
|
|
background: 0 0;
|
|
color: #787c82;
|
|
cursor: pointer;
|
|
}
|
|
.pys-chain-fixed-notice .custom-dismiss-button:before
|
|
{
|
|
display: none;
|
|
}
|
|
.pys-chain-fixed-notice .custom-dismiss-button .screen-reader-text, .pys-chain-fixed-notice .custom-dismiss-button .screen-reader-text span {
|
|
display: block;
|
|
width: auto;
|
|
height: auto;
|
|
color: #F19E38;
|
|
clip: unset;
|
|
-webkit-clip-path: none;
|
|
position: relative;
|
|
background-color: #F0F2F5;
|
|
border: 1px solid #bbdefb;
|
|
padding: 5px;
|
|
top: 0;
|
|
}*/
|
|
.pys-fixed-notice .bottom-chanel-link {
|
|
font-size: 1.2em;
|
|
margin: 30px 0;
|
|
}
|
|
.pys-fixed-notice a.notice-watch-link
|
|
{
|
|
color: #fff!important;
|
|
background-color: #ef7908!important;
|
|
border-color: #ef7908!important;
|
|
padding: 0.5rem 1rem!important;
|
|
font-size: 1.25rem;
|
|
line-height: 1.5;
|
|
border-radius: 0.3rem;
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
vertical-align: middle;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
border: 1px solid transparent;
|
|
padding: 0.375rem 0.75rem;
|
|
font-size: 1rem;
|
|
line-height: 1.2;
|
|
border-radius: 0.25rem;
|
|
text-decoration: none;
|
|
transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
|
|
}
|
|
.pys-fixed-notice a.notice-watch-link:hover {
|
|
color: #fff;
|
|
background-color: #ca6607;
|
|
border-color: #be6006;
|
|
}
|
|
.pys-fixed-notice a.notice-watch-link:focus, .pys-fixed-notice a.notice-watch-link:hover {
|
|
text-decoration: none!important;
|
|
}
|
|
.notice_opt_out_block {
|
|
padding: 30px;
|
|
padding-left: 132px;
|
|
padding-right: 0px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 30px;
|
|
}
|
|
.opt_out_dismiss_button {
|
|
white-space: nowrap;
|
|
}
|
|
.opt_out_dismiss_button button {
|
|
color: #3c434a!important;
|
|
background-color: #F0F0F2!important;
|
|
border-color: #F0F0F2!important;
|
|
padding: 0.25rem 0.5rem!important;
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
vertical-align: middle;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
border: 1px solid transparent;
|
|
font-size: 0.8rem;
|
|
line-height: 1.2;
|
|
border-radius: 0.25rem;
|
|
text-decoration: none;
|
|
transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
|
|
}
|
|
@media (max-width: 600px) {
|
|
.wp-core-ui .notice.pys-fixed-notice:not(.notice-disable-dismiss) {
|
|
padding-right: 25px;
|
|
}
|
|
.pys-fixed-notice .logo-notice {
|
|
width: 35px;
|
|
flex: 0 0 35px;
|
|
}
|
|
.notice.pys-fixed-notice .notice-title {
|
|
font-size: 15px;
|
|
}
|
|
.pys-fixed-notice a.notice-watch-link {
|
|
font-size: 0.85rem;
|
|
}
|
|
.notice.pys-fixed-notice .notice-message {
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
align-items: flex-start;
|
|
}
|
|
.notice.pys-fixed-notice .notice-message p {
|
|
font-size: 1em;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.pys-fixed-notice .bottom-chanel-link {
|
|
font-size: 1em;
|
|
margin: 10px 0;
|
|
}
|
|
.pys-optin-notice.pys-notice-wrapper .pys-notice-content {
|
|
flex-direction: column;
|
|
display: flex;
|
|
}
|
|
.pys-optin-notice.pys-notice-wrapper .pys-notice-content form
|
|
{
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.pys-notice-form-group:not(:last-child) {
|
|
margin-right: 0px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.notice_opt_out_block {
|
|
padding-left: 15px;
|
|
padding-right: 15px;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
}
|