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

84 lines
1.6 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 {
margin-left: .5rem;
line-height: 1.5;
2022-05-20 12:01:48 +00:00
white-space: nowrap;
2020-05-12 08:31:09 +00:00
}
2022-04-08 14:01:34 +00:00
.layout-news-link,
.layout-news-link:visited,
.layout-news-link:active {
color:#ffffff;
font-weight:700;
}
.layout-news-link:hover {
text-decoration: underline;
}
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;
transition: background-color .3s;
2022-05-09 12:36:24 +00:00
margin-left: .5rem;
2022-04-07 12:57:53 +00:00
&:hover {
background-color: rgba(255,255,255,.2);
}
}
}
.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;
}
2022-04-08 14:27:42 +00:00
.layout-menu {
padding-bottom: 2rem;
}
2022-04-07 12:57:53 +00:00
.layout-content {
padding-top: 7rem;
}
}