primevue-mirror/assets/styles/app/_core.scss

149 lines
2.5 KiB
SCSS
Raw Normal View History

2020-05-12 13:43:10 +00:00
$linkColor: #2196f3;
2020-05-12 08:31:09 +00:00
$focusBorderColor:#BBDEFB;
html {
font-size: 14px;
}
body {
margin: 0px;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
background-color: var(--surface-ground);
2020-06-20 21:29:10 +00:00
font-family: var(--font-family);
2020-05-12 08:31:09 +00:00
font-weight: normal;
2020-05-12 11:45:38 +00:00
color: var(--text-color);
2020-05-12 08:31:09 +00:00
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
2020-07-04 07:40:54 +00:00
a {
text-decoration: none;
}
2020-05-12 08:31:09 +00:00
2020-07-04 07:40:54 +00:00
h1, h2, h3, h4, h5, h6 {
margin: 1.5rem 0 1rem 0;
font-family: inherit;
font-weight: 600;
line-height: 1.2;
color: inherit;
&:first-child {
margin-top: 0;
2020-05-12 08:31:09 +00:00
}
}
2020-07-04 07:40:54 +00:00
h1 {
font-size: 2.5rem;
2020-05-12 08:31:09 +00:00
}
2020-07-04 07:40:54 +00:00
h2 {
font-size: 2rem;
}
2020-05-12 08:31:09 +00:00
2020-07-04 07:40:54 +00:00
h3 {
font-size: 1.75rem;
}
h4 {
font-size: 1.5rem;
2020-05-12 08:31:09 +00:00
}
2020-06-17 19:21:22 +00:00
2020-07-04 07:40:54 +00:00
h5 {
font-size: 1.25rem;
2020-05-12 08:31:09 +00:00
}
2020-06-17 19:21:22 +00:00
2020-07-04 07:40:54 +00:00
h6 {
font-size: 1rem;
}
p {
line-height: 1.5;
margin: 0 0 1rem 0;
}
input[type="number"] {
-moz-appearance: textfield;
&::-webkit-outer-spin-button,
&::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
2020-05-12 08:31:09 +00:00
}
2020-07-04 07:40:54 +00:00
@keyframes pulse {
0% {
background-color: rgba(165, 165, 165, 0.1)
2020-05-12 08:31:09 +00:00
}
50% {
background-color: rgba(165, 165, 165, 0.3)
2020-05-12 08:31:09 +00:00
}
100% {
background-color: rgba(165, 165, 165, 0.1)
2020-05-12 08:31:09 +00:00
}
}
2020-06-19 09:16:03 +00:00
pre[class*="language-"] {
2022-01-17 08:17:10 +00:00
background: none !important;
2020-06-19 09:16:03 +00:00
&:before, &:after {
display: none !important;
}
code {
border-left: 10px solid var(--surface-border) !important;
2020-06-19 09:16:03 +00:00
box-shadow: none !important;
background: var(--surface-card) !important;
2020-06-19 09:16:03 +00:00
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,
&.string {
background: transparent;
}
2020-05-12 08:31:09 +00:00
}
}
}
.p-toast.p-toast-topright,
.p-toast.p-toast-topleft {
top: 100px;
2020-05-12 13:43:10 +00:00
}
.action-button {
font-weight: bold;
text-align: center;
color: #ffffff !important;
background-color: #455C71;
padding: 10px 24px 9px 24px;
border-radius: 3px;
transition: background-color .2s;
&:hover {
2020-08-26 12:06:47 +00:00
background-color: #576c7f;
2020-05-12 13:43:10 +00:00
color: #ffffff;
2020-08-27 10:58:24 +00:00
text-decoration: none !important;
2020-05-12 13:43:10 +00:00
}
2020-05-12 08:31:09 +00:00
}