File: /home/globfdxw/www/wp-content/plugins/give/src/Admin/components/Notices/styles.module.scss
.notice {
display: flex;
align-items: center;
gap: var(--givewp-spacing-3);
padding: var(--givewp-spacing-3) var(--givewp-spacing-4);
border-radius: var(--givewp-rounded-4);
border: 1px solid;
border-left: 4px solid;
font-size: 0.875rem;
font-weight: 500;
line-height: 1.5;
color: var(--givewp-neutral-900);
.content {
display: flex;
align-items: center;
gap: var(--givewp-spacing-2);
flex: 1;
color: inherit;
a {
color: inherit;
text-decoration: none;
cursor: pointer;
&:hover {
text-decoration: underline;
}
}
}
.dismissButton {
display: flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
padding: 0;
margin-left: auto;
background: none;
border: none;
border-radius: var(--givewp-rounded-2);
color: inherit;
cursor: pointer;
opacity: 0.7;
transition: opacity 0.2s ease, background-color 0.2s ease;
&:hover {
opacity: 1;
background-color: rgba(0, 0, 0, 0.1);
}
&:focus {
outline: 2px solid currentColor;
outline-offset: 2px;
}
svg {
width: 16px;
height: 16px;
}
}
}
.warning {
background-color: #fffaf2;
border-color: var(--givewp-orange-400);
color: var(--givewp-neutral-900);
}
.error {
background-color: #fef2f2;
border-color: var(--givewp-red-400);
color: var(--givewp-neutral-900);
}
.info {
background-color: #f0f9ff;
border-color: var(--givewp-blue-400);
color: var(--givewp-neutral-900);
}