221 lines
4.0 KiB
CSS
221 lines
4.0 KiB
CSS
.searchwp-notifications-panel {
|
|
background-color: #fff;
|
|
height: 100%;
|
|
width: 100%;
|
|
max-width: 570px;
|
|
position: fixed;
|
|
z-index: 1053;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
overflow-x: hidden;
|
|
transition: .5s;
|
|
transform: translateX(0%);
|
|
}
|
|
|
|
.admin-bar .searchwp-notifications-panel {
|
|
height: calc(100% - 46px);
|
|
top: 46px;
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
.admin-bar .searchwp-notifications-panel {
|
|
height: calc(100% - 32px);
|
|
top: 32px;
|
|
}
|
|
}
|
|
|
|
.searchwp-notifications-panel__header {
|
|
font-size: 15px;
|
|
font-weight: bold;
|
|
padding: 12px 24px;
|
|
background-color: #ff6b6b;
|
|
position: -webkit-sticky;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.searchwp-notifications-panel__header,
|
|
.searchwp-notifications-panel__header .components-button {
|
|
color: #fff;
|
|
}
|
|
|
|
.components-button svg {
|
|
fill: currentColor;
|
|
outline: none;
|
|
}
|
|
|
|
.components-button {
|
|
display: inline-flex;
|
|
text-decoration: none;
|
|
font-family: inherit;
|
|
font-weight: 400;
|
|
font-size: 13px;
|
|
margin: 0;
|
|
border: 0;
|
|
cursor: pointer;
|
|
-webkit-appearance: none;
|
|
background: none;
|
|
transition: box-shadow .1s linear;
|
|
height: 36px;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
padding: 6px 12px;
|
|
border-radius: 2px;
|
|
color: #1e1e1e;
|
|
}
|
|
|
|
.components-button.has-icon {
|
|
padding: 6px;
|
|
min-width: 36px;
|
|
justify-content: center;
|
|
line-height: 0;
|
|
}
|
|
|
|
.searchwp-notifications-notification {
|
|
display: flex;
|
|
gap: 12px;
|
|
padding: 24px;
|
|
}
|
|
|
|
.searchwp-notifications-notification__icon {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.searchwp-notifications-notification__icon-success {
|
|
color: #4ab866;
|
|
}
|
|
|
|
.searchwp-notifications-notification__body {
|
|
flex: 1;
|
|
}
|
|
|
|
.searchwp-notifications-notification__header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 5px;
|
|
}
|
|
|
|
.searchwp-notifications-notification__title {
|
|
color: #1e1e1e;
|
|
flex: 1;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
margin: 0 24px 0 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.searchwp-notifications-notification__date {
|
|
color: #757575;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.searchwp-notifications-notification__content p {
|
|
margin: 12px 0;
|
|
}
|
|
|
|
.searchwp-notifications-notification__actions {
|
|
flex-wrap: wrap;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.components-button.is-primary {
|
|
white-space: nowrap;
|
|
background: #ff6b6b;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
text-shadow: none;
|
|
outline: 1px solid transparent;
|
|
}
|
|
|
|
.components-button.is-secondary {
|
|
border: 1px solid #ddd;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.searchwp-notifications-notification__actions .components-button.is-link {
|
|
color: #757575;
|
|
text-decoration: underline;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.searchwp-notifications-backdrop {
|
|
position: fixed;
|
|
z-index: 1052;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
background-color: #000;
|
|
border: 0;
|
|
box-shadow: none;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
appearance: none;
|
|
opacity: .5;
|
|
transition: .5s;
|
|
}
|
|
|
|
@keyframes searchwp-bounce {
|
|
0%, 40% { transform: scale(1,1) translateY(0); }
|
|
41% { transform: scale(1.1,.9) translateY(0); }
|
|
50% { transform: scale(.9,1.1) translateY(-8px); }
|
|
56% { transform: scale(1.05,.95) translateY(0); }
|
|
57% { transform: scale(1,1) translateY(-2px); }
|
|
64%, 100% { transform: scale(1,1) translateY(0); }
|
|
}
|
|
|
|
.searchwp-settings-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.searchwp-header-actions {
|
|
margin: 0;
|
|
}
|
|
|
|
.searchwp-branding-bar__actions-button {
|
|
color: #000;
|
|
cursor: pointer;
|
|
padding: 10px;
|
|
width: 40px;
|
|
height: 40px;
|
|
background-color: #fff;
|
|
border-radius: 50%;
|
|
border: 0;
|
|
box-shadow: none;
|
|
position: relative;
|
|
transition: background-color .2s ease;
|
|
box-sizing: border-box;
|
|
display: block;
|
|
}
|
|
|
|
.searchwp-branding-bar__actions-button-count {
|
|
font-weight: 600;
|
|
font-size: 10px;
|
|
line-height: 16px;
|
|
text-align: center;
|
|
color: #fff;
|
|
margin: 0 0 0 -8px;
|
|
background-color: #df2a4a;
|
|
border-radius: 100%;
|
|
width: 16px;
|
|
height: 16px;
|
|
position: absolute;
|
|
top: -8px;
|
|
left: 50%;
|
|
animation-duration: 4s;
|
|
animation-iteration-count: infinite;
|
|
animation-name: searchwp-bounce;
|
|
animation-timing-function: ease;
|
|
}
|