wb-table/css/index.scss

122 lines
1.5 KiB
SCSS
Raw Normal View History

2022-03-11 00:39:09 +08:00
body {
2022-03-11 12:13:08 +08:00
line-height: 1.5;
font-size: 14px;
color: var(--color-dark-1);
}
a {
color: inherit;
text-decoration: none;
}
wc-switch {
cursor: pointer;
2022-03-11 00:39:09 +08:00
}
.app {
2022-03-11 12:13:08 +08:00
width: 100%;
height: 100vh;
2022-03-11 00:39:09 +08:00
}
.flex {
2022-03-11 12:13:08 +08:00
display: flex;
2022-03-11 00:39:09 +08:00
&.column {
flex-direction: column;
}
&.ac {
2022-03-11 12:13:08 +08:00
justify-content: center;
2022-03-11 00:39:09 +08:00
}
&.alc {
2022-03-11 12:13:08 +08:00
align-items: center;
2022-03-11 00:39:09 +08:00
}
2022-03-11 12:13:08 +08:00
2022-03-11 00:39:09 +08:00
&.acc {
2022-03-11 12:13:08 +08:00
justify-content: center;
align-items: center;
2022-03-11 00:39:09 +08:00
}
&.asc {
2022-03-11 12:13:08 +08:00
justify-content: space-between;
align-items: center;
2022-03-11 00:39:09 +08:00
}
}
.wrapper {
2022-03-11 12:13:08 +08:00
width: 1024px;
2022-03-11 00:39:09 +08:00
}
.topbar {
2022-03-11 12:13:08 +08:00
width: 100%;
height: 64px;
background: #fff;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
2022-03-11 00:39:09 +08:00
.logo {
2022-03-11 12:13:08 +08:00
font-size: 24px;
color: var(--color-red-1);
2022-03-11 00:39:09 +08:00
span {
2022-03-11 12:13:08 +08:00
font-size: 14px;
2022-03-11 00:39:09 +08:00
}
}
.navs {
2022-03-11 12:13:08 +08:00
font-size: 16px;
2022-03-11 00:39:09 +08:00
.nav {
2022-03-11 12:13:08 +08:00
margin-left: 32px;
cursor: pointer;
transition: color 0.2s linear;
&.active,
&:hover {
text-decoration: underline;
color: var(--color-red-1);
2022-03-11 00:39:09 +08:00
}
}
}
}
.main {
2022-03-11 12:13:08 +08:00
flex: 1;
2022-03-11 00:39:09 +08:00
.table-info {
2022-03-11 12:13:08 +08:00
width: 100%;
height: 64px;
}
.search {
width: 100%;
.field {
margin-top: 16px;
wc-input {
flex: 1;
}
}
2022-03-11 00:39:09 +08:00
}
}
.footer {
2022-03-11 12:13:08 +08:00
width: 100%;
height: 64px;
border-top: 1px solid var(--color-plain-2);
}
@media screen and (max-width: 1024px) {
.topbar,
.main {
padding: 0 16px;
}
.footer {
.wrapper {
flex-direction: column;
align-items: center;
justify-content: center;
}
}
}