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

240 lines
6.7 KiB
SCSS
Raw Normal View History

2020-05-12 08:31:09 +00:00
.layout-content {
margin-left: 250px;
2022-04-07 12:57:53 +00:00
padding-top: 5rem;
2020-05-12 08:31:09 +00:00
.content-section {
2022-02-23 11:42:11 +00:00
padding: 2rem 4rem;
2020-05-12 08:31:09 +00:00
2020-05-12 11:45:38 +00:00
&.introduction {
2020-05-14 07:41:38 +00:00
color: var(--text-color);
2020-06-17 19:21:22 +00:00
padding-bottom: 0;
2020-06-20 09:40:01 +00:00
display: flex;
align-items: top;
justify-content: space-between;
2020-05-12 08:31:09 +00:00
2020-05-12 11:45:38 +00:00
.feature-intro {
h1 {
2022-02-23 11:42:11 +00:00
color: var(--surface-900);
2020-05-12 11:45:38 +00:00
}
p {
margin: 0;
2022-02-23 11:42:11 +00:00
font-size: 1.25rem;
2020-05-12 11:45:38 +00:00
}
a {
2020-06-17 19:38:02 +00:00
text-decoration: none;
color: $linkColor;
font-weight: 600;
2021-08-31 13:44:22 +00:00
2020-05-26 21:53:39 +00:00
&:hover {
text-decoration: underline;
}
2020-05-12 11:45:38 +00:00
}
2020-05-12 08:31:09 +00:00
}
2021-04-05 09:29:28 +00:00
.app-demoactions {
.p-button-icon-only {
padding: .5rem 0;
}
}
2020-05-12 11:45:38 +00:00
}
&.implementation {
color: var(--text-color);
2020-05-12 08:31:09 +00:00
2022-05-09 12:36:24 +00:00
h1, h2, h3, h4, h5, h6 {
color: var(--surface-900);
}
2020-06-17 19:21:22 +00:00
+.documentation {
padding-top: 0;
2020-05-12 08:31:09 +00:00
}
2020-05-12 11:45:38 +00:00
}
2020-05-12 08:31:09 +00:00
2020-05-12 11:45:38 +00:00
&.documentation {
color: var(--text-color);
2020-05-12 08:31:09 +00:00
2020-07-02 13:42:21 +00:00
li {
line-height: 1.5;
}
2020-05-12 13:43:10 +00:00
a {
text-decoration: none;
color: $linkColor;
2020-06-18 09:17:14 +00:00
font-weight: 600;
&:hover {
text-decoration: underline;
}
2020-05-12 13:43:10 +00:00
}
2020-05-12 11:45:38 +00:00
.doc-tablewrapper {
margin: 1rem 0;
overflow: auto;
2022-02-23 11:42:11 +00:00
border-radius: 10px;
2020-05-12 08:31:09 +00:00
}
i:not([class~="pi"]) {
2022-02-23 11:42:11 +00:00
background-color: var(--surface-card);
2020-05-12 23:17:11 +00:00
color: #2196f3;
2020-05-12 21:34:30 +00:00
font-family: Monaco, courier, monospace;
2020-05-12 08:31:09 +00:00
font-style: normal;
2020-05-12 21:34:30 +00:00
font-size: 12px;
2020-05-12 23:17:11 +00:00
font-weight: 500;
2020-05-12 08:31:09 +00:00
padding: 2px 4px;
letter-spacing: .5px;
2020-05-12 21:34:30 +00:00
border-radius: 3px;
font-weight: 600;
margin: 0 2px;
white-space: nowrap;
2020-05-12 08:31:09 +00:00
}
2022-05-09 12:36:24 +00:00
h1, h2, h3, h4, h5, h6 {
color: var(--surface-900);
}
2020-05-12 08:31:09 +00:00
.p-tabview {
2020-05-12 11:45:38 +00:00
background: transparent;
2020-05-12 08:31:09 +00:00
border: 0 none;
.p-tabview-nav {
2020-05-12 11:45:38 +00:00
border-radius: 0;
padding: 0;
border-bottom: 1px solid var(--surface-border);
2020-05-12 08:31:09 +00:00
background-color: transparent;
li {
2020-05-12 11:45:38 +00:00
margin-right: 0;
2020-05-12 08:31:09 +00:00
border: 0 none;
top: 1px;
2020-07-02 13:42:21 +00:00
line-height: 1;
2020-05-12 08:31:09 +00:00
2020-05-12 13:43:10 +00:00
a, a:visited {
color: var(--text-color-secondary);
2020-05-12 08:31:09 +00:00
text-shadow: none;
height: inherit;
background-color: transparent;
border: 0 none;
border-bottom: 1px solid transparent;
margin-bottom: -1px;
2020-07-04 13:23:25 +00:00
transition: border-bottom-color .2s;
2020-05-12 08:31:09 +00:00
&:focus {
outline: 0 none;
transition: background-color .2s, box-shadow .2s;
2021-08-31 13:44:22 +00:00
box-shadow: inset 0 0 0 0.2em $focusBorderColor;
2020-05-12 08:31:09 +00:00
}
&:hover {
2020-06-17 19:21:22 +00:00
background: transparent;
text-decoration: none;
}
2020-05-12 08:31:09 +00:00
}
&.p-highlight a,
&.p-highlight:hover a {
2020-05-12 11:45:38 +00:00
background: transparent;
2020-07-04 13:23:25 +00:00
color: var(--primary-color);
2020-07-27 12:40:02 +00:00
border-bottom: 1px solid var(--primary-color);
2020-05-12 08:31:09 +00:00
}
&:not(.p-highlight):not(.p-disabled):hover a {
2020-07-04 13:23:25 +00:00
color: var(--text-color);
border-bottom: 1px solid var(--primary-color);
2020-05-12 08:31:09 +00:00
}
}
2020-06-26 09:36:02 +00:00
.p-tabview-ink-bar {
display: none;
}
2020-05-12 08:31:09 +00:00
}
.p-tabview-panels {
background: transparent;
border: 0 none;
2020-06-17 19:30:45 +00:00
padding: 2rem 1rem;
2020-05-12 11:45:38 +00:00
.btn-viewsource {
display: inline-block;
padding: .5rem 1rem;
}
2020-05-12 08:31:09 +00:00
2020-05-12 13:43:10 +00:00
a {
text-decoration: none;
color: $linkColor;
2020-06-17 19:38:02 +00:00
font-weight: 600;
&:hover {
text-decoration: underline;
}
2020-05-12 13:43:10 +00:00
}
2021-01-21 08:13:00 +00:00
.liveEditorButton a,
.liveEditorSplitButton a {
padding: 0.75rem 0.5rem;
font-weight: normal;
&:hover {
text-decoration: none;
}
}
2020-05-12 08:31:09 +00:00
}
}
}
.doc-table {
border-collapse: collapse;
width: 100%;
background-color: var(--surface-card);
2020-05-12 08:31:09 +00:00
th {
border-bottom: 1px solid var(--surface-border);
2020-05-12 11:45:38 +00:00
padding: 1rem;
2020-05-12 08:31:09 +00:00
text-align: left;
2021-04-23 13:09:31 +00:00
white-space: nowrap;
2020-05-12 08:31:09 +00:00
}
2021-04-22 10:22:19 +00:00
tbody {
2022-02-23 11:42:11 +00:00
tr:hover {
background: var(--surface-hover);
}
2020-05-12 08:31:09 +00:00
td {
2020-05-12 11:45:38 +00:00
padding: 1rem;
border-bottom: 1px solid var(--surface-border);
2021-04-09 12:04:11 +00:00
&:first-child {
2022-02-23 11:42:11 +00:00
font-family: ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,Liberation Mono,monospace;
2021-04-09 12:04:11 +00:00
font-weight: 700;
color: var(--text-color-secondary);
}
2020-05-12 08:31:09 +00:00
}
}
2021-04-22 10:22:19 +00:00
&.browsers {
td {
&:first-child {
font-family: var(--font-family);
font-weight: normal;
color: var(--text-color);
}
}
}
2020-05-12 08:31:09 +00:00
}
}
2020-06-17 19:21:22 +00:00
.card {
background: var(--surface-card);
2020-06-17 19:21:22 +00:00
padding: 2rem;
2022-02-23 11:42:11 +00:00
border-radius: 10px;
2020-06-17 19:21:22 +00:00
margin-bottom: 2rem;
2021-08-31 13:44:22 +00:00
2020-06-17 19:21:22 +00:00
.card-header {
display: flex;
align-items: center;
2020-07-04 07:28:27 +00:00
justify-content: space-between;
2020-06-17 19:21:22 +00:00
}
}
2021-08-31 13:44:22 +00:00
}