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

77 lines
1.4 KiB
SCSS
Raw Normal View History

2020-05-12 08:31:09 +00:00
.layout-news {
2022-04-07 12:57:53 +00:00
position: fixed;
top: 0;
left: 0;
z-index: 1100;
width: 100%;
2020-05-12 08:31:09 +00:00
display: flex;
2022-04-07 12:57:53 +00:00
justify-content: space-between;
2020-05-12 08:31:09 +00:00
align-items: center;
2022-04-07 12:57:53 +00:00
height: 2rem;
padding: 0 2rem;
2020-05-12 08:31:09 +00:00
2022-04-07 12:57:53 +00:00
.layout-news-content {
flex: 1;
2020-05-12 08:31:09 +00:00
display: flex;
justify-content: center;
align-items: center;
2022-05-20 12:01:48 +00:00
min-width: 0%;
2022-04-07 12:57:53 +00:00
}
2020-10-22 13:18:06 +00:00
2022-04-07 12:57:53 +00:00
.layout-news-text {
line-height: 1.5;
display: block;
2022-05-20 12:01:48 +00:00
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
min-width: 0%;
2022-04-07 12:57:53 +00:00
}
2021-11-02 10:45:43 +00:00
2022-04-07 12:57:53 +00:00
.layout-news-link {
2023-02-28 08:29:30 +00:00
margin-left: 0.5rem;
2022-04-07 12:57:53 +00:00
line-height: 1.5;
2022-05-20 12:01:48 +00:00
white-space: nowrap;
2020-05-12 08:31:09 +00:00
}
.layout-news-close {
2022-04-07 12:57:53 +00:00
line-height: 1.5;
2020-10-22 13:18:06 +00:00
cursor: pointer;
2022-04-07 12:57:53 +00:00
display: inline-flex;
2020-05-12 08:31:09 +00:00
justify-content: center;
align-items: center;
2022-04-07 12:57:53 +00:00
border-radius: 50%;
width: 1.5rem;
height: 1.5rem;
2023-02-28 08:29:30 +00:00
transition: background-color 0.3s;
margin-left: 0.5rem;
2022-04-07 12:57:53 +00:00
&:hover {
2023-02-28 08:29:30 +00:00
background-color: rgba(255, 255, 255, 0.2);
2022-04-07 12:57:53 +00:00
}
2023-02-28 08:29:30 +00:00
}
2022-04-07 12:57:53 +00:00
}
.landing-news-active {
.landing-header {
top: 2rem;
2020-05-12 08:31:09 +00:00
}
2021-05-06 13:12:18 +00:00
}
2022-04-07 12:57:53 +00:00
.layout-news-active {
.layout-sidebar,
.layout-topbar,
.layout-config {
top: 2rem;
}
.layout-content {
padding-top: 7rem;
}
2023-02-28 08:29:30 +00:00
.doc-section-label,
.doc-table tbody td .doc-option-name,
.doc-table tbody td > i {
scroll-margin-top: 8.5rem;
}
}