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

107 lines
1.6 KiB
SCSS
Raw Normal View History

2023-02-28 08:29:30 +00:00
html {
font-size: 14px;
}
body {
margin: 0px;
min-height: 100%;
overflow-x: hidden;
overflow-y: auto;
2024-01-02 16:52:32 +00:00
background-color: var(--body-bg);
2023-02-28 08:29:30 +00:00
font-weight: normal;
color: var(--text-color);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
2023-10-19 19:09:48 +00:00
}
.layout-wrapper {
2024-01-02 16:52:32 +00:00
background-color: var(--body-bg);
2023-02-28 08:29:30 +00:00
}
a {
text-decoration: none;
}
2023-10-15 10:16:55 +00:00
::selection {
background-color: var(--highlight-bg);
color: var(--highlight-text-color);
}
2023-02-28 08:29:30 +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: var(--surface-900);
&:first-child {
margin-top: 0;
}
}
h1 {
2023-10-07 19:43:10 +00:00
font-size: 2rem;
2023-02-28 08:29:30 +00:00
}
h2 {
font-size: 1.5rem;
}
h3 {
font-size: 1.25rem;
}
h4 {
font-size: 1.125rem;
}
h5 {
font-size: 1rem;
}
h6 {
font-size: .875rem;
}
p {
2023-10-07 19:43:10 +00:00
line-height: 1.75;
2023-02-28 08:29:30 +00:00
margin: 0 0 1rem 0;
}
input[type="number"] {
-moz-appearance: textfield;
&::-webkit-outer-spin-button,
&::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
}
.p-toast.p-toast-top-right,
.p-toast.p-toast-top-left {
top: 7rem;
2023-07-10 14:42:43 +00:00
}
.px-link {
font-size: 1rem;
border-radius: var(--border-radius);
text-align: left;
background-color: transparent;
margin: 0;
padding: 0;
border: none;
cursor: pointer;
user-select: none;
2023-10-13 22:09:30 +00:00
@include focus-visible();
2023-07-10 14:42:43 +00:00
}
.px-link:disabled {
cursor: default;
2023-09-21 22:12:01 +00:00
}
button {
2023-10-07 19:43:10 +00:00
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings);
2023-02-28 08:29:30 +00:00
}