203 lines
3.0 KiB
SCSS
Raw Normal View History

2023-03-15 15:59:21 +08:00
@import './variables.module.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
@import './ruoyi.scss';
2023-04-02 01:01:56 +08:00
@import 'animate.css';
2023-04-02 15:07:14 +08:00
@import 'element-plus/dist/index.css';
2023-04-02 14:15:47 +08:00
2023-03-15 15:59:21 +08:00
body {
2023-04-03 00:05:09 +08:00
height: 100%;
margin: 0;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
2023-03-15 15:59:21 +08:00
}
label {
2023-04-03 00:05:09 +08:00
font-weight: 700;
2023-03-15 15:59:21 +08:00
}
html {
2023-04-03 00:05:09 +08:00
height: 100%;
box-sizing: border-box;
2023-03-15 15:59:21 +08:00
}
#app {
2023-04-03 00:05:09 +08:00
height: 100%;
2023-03-15 15:59:21 +08:00
}
*,
*:before,
*:after {
2023-04-03 00:05:09 +08:00
box-sizing: inherit;
2023-03-15 15:59:21 +08:00
}
.no-padding {
2023-04-03 00:05:09 +08:00
padding: 0px !important;
2023-03-15 15:59:21 +08:00
}
.padding-content {
2023-04-03 00:05:09 +08:00
padding: 4px 0;
2023-03-15 15:59:21 +08:00
}
a:focus,
a:active {
2023-04-03 00:05:09 +08:00
outline: none;
2023-03-15 15:59:21 +08:00
}
a,
a:focus,
a:hover {
2023-04-03 00:05:09 +08:00
cursor: pointer;
color: inherit;
text-decoration: none;
2023-03-15 15:59:21 +08:00
}
div:focus {
2023-04-03 00:05:09 +08:00
outline: none;
2023-03-15 15:59:21 +08:00
}
.fr {
2023-04-03 00:05:09 +08:00
float: right;
2023-03-15 15:59:21 +08:00
}
.fl {
2023-04-03 00:05:09 +08:00
float: left;
2023-03-15 15:59:21 +08:00
}
.pr-5 {
2023-04-03 00:05:09 +08:00
padding-right: 5px;
2023-03-15 15:59:21 +08:00
}
.pl-5 {
2023-04-03 00:05:09 +08:00
padding-left: 5px;
2023-03-15 15:59:21 +08:00
}
.block {
2023-04-03 00:05:09 +08:00
display: block;
2023-03-15 15:59:21 +08:00
}
.pointer {
2023-04-03 00:05:09 +08:00
cursor: pointer;
2023-03-15 15:59:21 +08:00
}
.inlineBlock {
2023-04-03 00:05:09 +08:00
display: block;
2023-03-15 15:59:21 +08:00
}
.clearfix {
2023-04-03 00:05:09 +08:00
&:after {
visibility: hidden;
display: block;
font-size: 0;
content: ' ';
clear: both;
height: 0;
}
2023-03-15 15:59:21 +08:00
}
aside {
2023-04-03 00:05:09 +08:00
background: #eef1f6;
padding: 8px 24px;
margin-bottom: 20px;
border-radius: 2px;
display: block;
line-height: 32px;
font-size: 16px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
color: #2c3e50;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
a {
color: #337ab7;
cursor: pointer;
&:hover {
color: rgb(32, 160, 255);
}
}
2023-03-15 15:59:21 +08:00
}
//main-container全局样式
.app-container {
2023-04-03 00:05:09 +08:00
padding: 20px;
2023-04-02 01:01:56 +08:00
}
2023-04-02 14:15:47 +08:00
2023-04-02 01:01:56 +08:00
// search面板样式
.panel,
.search {
2023-04-03 00:05:09 +08:00
margin-bottom: 0.75rem;
border-radius: 0.25rem;
border: 1px solid var(--el-border-color-light);
background-color: var(--el-bg-color-overlay);
padding: 0.75rem;
2023-04-19 21:04:24 +08:00
transition: all ease 0.3s;
2023-04-17 23:11:08 +08:00
&:hover {
box-shadow: 0 2px 12px #0000001a;
transition: all ease 0.3s;
}
2023-03-15 15:59:21 +08:00
}
.components-container {
2023-04-03 00:05:09 +08:00
margin: 30px 50px;
position: relative;
2023-03-15 15:59:21 +08:00
}
.pagination-container {
2023-04-03 00:05:09 +08:00
margin-top: 30px;
2023-03-15 15:59:21 +08:00
}
.text-center {
2023-04-03 00:05:09 +08:00
text-align: center;
2023-03-15 15:59:21 +08:00
}
.sub-navbar {
2023-04-03 00:05:09 +08:00
height: 50px;
line-height: 50px;
position: relative;
width: 100%;
text-align: right;
padding-right: 20px;
transition: 600ms ease position;
background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
2023-03-15 15:59:21 +08:00
2023-04-03 00:05:09 +08:00
.subtitle {
font-size: 20px;
color: #fff;
}
2023-03-15 15:59:21 +08:00
2023-04-03 00:05:09 +08:00
&.draft {
background: #d0d0d0;
}
2023-03-15 15:59:21 +08:00
2023-04-03 00:05:09 +08:00
&.deleted {
background: #d0d0d0;
}
2023-03-15 15:59:21 +08:00
}
.link-type,
.link-type:focus {
2023-04-03 00:05:09 +08:00
color: #337ab7;
cursor: pointer;
2023-03-15 15:59:21 +08:00
2023-04-03 00:05:09 +08:00
&:hover {
color: rgb(32, 160, 255);
}
2023-03-15 15:59:21 +08:00
}
.filter-container {
2023-04-03 00:05:09 +08:00
padding-bottom: 10px;
2023-03-15 15:59:21 +08:00
2023-04-03 00:05:09 +08:00
.filter-item {
display: inline-block;
vertical-align: middle;
margin-bottom: 10px;
}
2023-04-17 23:11:08 +08:00
}