nx-primeng-sakai-v17/src/styles.scss

200 lines
3.9 KiB
SCSS
Raw Normal View History

2021-12-06 07:26:58 +00:00
/* You can add global styles to this file, and also import other style files */
2021-12-09 14:24:42 +00:00
@import "../node_modules/primeng/resources/primeng.min.css";
@import "../node_modules/primeflex/primeflex.scss";
@import "../node_modules/primeicons/primeicons.css";
@import "../node_modules/prismjs/themes/prism-coy.css";
@import "../node_modules/@fullcalendar/daygrid/main.min.css";
@import "../node_modules/@fullcalendar/timegrid/main.min.css";
@import "assets/demo/flags/flags.css";
2021-12-22 13:06:49 +00:00
.product-badge {
border-radius: var(--border-radius);
padding: .25em .5rem;
text-transform: uppercase;
font-weight: 700;
font-size: 12px;
letter-spacing: .3px;
2021-12-09 14:24:42 +00:00
2021-12-22 13:06:49 +00:00
&.status-instock {
background: #C8E6C9;
color: #256029;
2021-12-09 14:24:42 +00:00
}
2021-12-22 13:06:49 +00:00
&.status-outofstock {
background: #FFCDD2;
color: #C63737;
2021-12-09 14:24:42 +00:00
}
2021-12-22 13:06:49 +00:00
&.status-lowstock {
background: #FEEDAF;
color: #8A5340;
2021-12-09 14:24:42 +00:00
}
2021-12-22 13:06:49 +00:00
}
2021-12-09 14:24:42 +00:00
2021-12-22 13:06:49 +00:00
.customer-badge {
border-radius: var(--border-radius);
padding: .25em .5rem;
text-transform: uppercase;
font-weight: 700;
font-size: 12px;
letter-spacing: .3px;
2021-12-09 14:24:42 +00:00
2021-12-22 13:06:49 +00:00
&.status-qualified {
background: #C8E6C9;
color: #256029;
2021-12-09 14:24:42 +00:00
}
2021-12-22 13:06:49 +00:00
&.status-unqualified {
background: #FFCDD2;
color: #C63737;
2021-12-09 14:24:42 +00:00
}
2021-12-22 13:06:49 +00:00
&.status-negotiation {
background: #FEEDAF;
color: #8A5340;
}
2021-12-09 14:24:42 +00:00
2021-12-22 13:06:49 +00:00
&.status-new {
background: #B3E5FC;
color: #23547B;
}
2021-12-09 14:24:42 +00:00
2021-12-22 13:06:49 +00:00
&.status-renewal {
background: #ECCFFF;
color: #694382;
2021-12-09 14:24:42 +00:00
}
2021-12-22 13:06:49 +00:00
&.status-proposal {
background: #FFD8B2;
color: #805B36;
}
}
2021-12-09 14:24:42 +00:00
2021-12-22 13:06:49 +00:00
.order-badge {
border-radius: var(--border-radius);
padding: .25em .5rem;
text-transform: uppercase;
font-weight: 700;
font-size: 12px;
letter-spacing: .3px;
2021-12-09 14:24:42 +00:00
2021-12-22 13:06:49 +00:00
&.order-delivered {
background: #C8E6C9;
color: #256029;
}
2021-12-09 14:24:42 +00:00
2021-12-22 13:06:49 +00:00
&.order-cancelled {
background: #FFCDD2;
color: #C63737;
}
2021-12-09 14:24:42 +00:00
2021-12-22 13:06:49 +00:00
&.order-pending {
background: #FEEDAF;
color: #8A5340;
}
2021-12-09 14:24:42 +00:00
2021-12-22 13:06:49 +00:00
&.order-returned {
background: #ECCFFF;
color: #694382;
2021-12-09 14:24:42 +00:00
}
}
.docs {
i:not([class~="pi"]) {
background-color: transparent;
color: #2196f3;
font-family: Monaco, courier, monospace;
font-style: normal;
font-size: 12px;
font-weight: 500;
padding: 0 4px;
letter-spacing: .5px;
font-weight: 600;
margin: 0 2px;
display: inline-flex;
}
a {
font-weight: 500;
}
}
pre[class*="language-"] {
&:before, &:after {
display: none !important;
}
code {
border-left: 6px solid var(--surface-border) !important;
box-shadow: none !important;
background: var(--surface-ground) !important;
margin: 1em 0;
color: var(--text-color);
font-size: 14px;
}
.token {
&.tag,
&.keyword {
color: #2196F3 !important;
}
&.attr-name,
&.attr-string {
color: #2196F3 !important;
}
&.attr-value {
color: #4CAF50 !important;
}
&.punctuation {
color: var(--text-color);
}
&.operator,
&.variable,
&.string {
background: transparent;
}
}
}
.custom-marker {
display: flex;
width: 2rem;
height: 2rem;
align-items: center;
justify-content: center;
color: #ffffff;
border-radius: 50%;
z-index: 1;
}
.p-timeline-event-content,
.p-timeline-event-opposite {
line-height: 1;
}
@media screen and (max-width: 960px) {
.customized-timeline {
.p-timeline-event:nth-child(even) {
flex-direction: row !important;
.p-timeline-event-content {
text-align: left !important;
}
}
.p-timeline-event-opposite {
flex: 0;
}
.p-card {
margin-top: 1rem;
}
}
}