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

95 lines
1.5 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-02-05 21:20:00 +00:00
background-color: var(--p-surface-ground);
2023-02-28 08:29:30 +00:00
font-weight: normal;
2024-02-07 10:15:47 +00:00
color: var(--p-text-color);
2023-02-28 08:29:30 +00:00
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
2024-02-07 10:15:47 +00:00
font-family: var(--p-font-family);
font-feature-settings: var(--p-font-feature-settings);
2023-02-28 08:29:30 +00:00
}
a {
text-decoration: none;
}
2023-10-15 10:16:55 +00:00
::selection {
2024-02-07 10:15:47 +00:00
background-color: var(--p-highlight-bg);
color: var(--p-highlight-text-color);
2023-10-15 10:16:55 +00:00
}
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;
2024-02-07 10:15:47 +00:00
color: var(--p-dark-surface-0, var(--p-surface-900));
2023-02-28 08:29:30 +00:00
&:first-child {
margin-top: 0;
}
}
h1 {
font-size: 1.75rem;
2023-02-28 08:29:30 +00:00
}
h2 {
font-size: 1.25rem;
2023-02-28 08:29:30 +00:00
}
h3 {
font-size: 1.125rem;
2023-02-28 08:29:30 +00:00
}
h4 {
font-size: 1rem;
2023-02-28 08:29:30 +00:00
}
h5 {
font-size: .875rem;
2023-02-28 08:29:30 +00:00
}
h6 {
font-size: .75rem;
2023-02-28 08:29:30 +00:00
}
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;
}
.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;
2024-02-07 10:15:47 +00:00
border-radius: var(--p-border-radius);
2023-07-10 14:42:43 +00:00
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 {
2024-02-07 10:15:47 +00:00
font-family: var(--p-font-family);
font-feature-settings: var(--p-font-feature-settings);
2023-02-28 08:29:30 +00:00
}