mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-25 02:32:52 +08:00
491 lines
8.7 KiB
SCSS
491 lines
8.7 KiB
SCSS
@import './variables.scss';
|
|
@import './portal.scss';
|
|
@import './mixin.scss';
|
|
@import './transition.scss';
|
|
@import './element-ui.scss';
|
|
@import './sidebar.scss';
|
|
@import './btn.scss';
|
|
@import './ellipsis.scss';
|
|
@import './qaLabel.scss';
|
|
@import './portal-index.scss';
|
|
body {
|
|
height: 100%;
|
|
-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;
|
|
}
|
|
:not([class*="icon"]):not(.fa):not(.fas):not(i) {
|
|
font-family: "Menlo", "苹方-简" !important;
|
|
}
|
|
.el-message {
|
|
top: 15%!important
|
|
}
|
|
.el-card.is-always-shadow, .el-card.is-hover-shadow:focus, .el-card.is-hover-shadow:hover{
|
|
box-shadow: none;
|
|
}
|
|
label {
|
|
font-weight: 700;
|
|
}
|
|
|
|
html {
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#app {
|
|
height: 100%;
|
|
.el-aside-menu {
|
|
.svg-icon {
|
|
margin-right: 12px;
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
}
|
|
|
|
*,
|
|
*:before,
|
|
*:after {
|
|
box-sizing: inherit;
|
|
}
|
|
|
|
.no-padding {
|
|
padding: 0px !important;
|
|
}
|
|
|
|
.padding-content {
|
|
padding: 4px 0;
|
|
}
|
|
|
|
a:focus,
|
|
a:active {
|
|
outline: none;
|
|
}
|
|
|
|
a,
|
|
a:focus,
|
|
a:hover {
|
|
cursor: pointer;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
div:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.fr {
|
|
float: right;
|
|
}
|
|
|
|
.fl {
|
|
float: left;
|
|
}
|
|
|
|
.pr-5 {
|
|
padding-right: 5px;
|
|
}
|
|
|
|
.pl-5 {
|
|
padding-left: 5px;
|
|
}
|
|
|
|
.block {
|
|
display: block;
|
|
}
|
|
|
|
.pointer {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.inlineBlock {
|
|
display: block;
|
|
}
|
|
|
|
.clearfix {
|
|
&:after {
|
|
visibility: hidden;
|
|
display: block;
|
|
font-size: 0;
|
|
content: " ";
|
|
clear: both;
|
|
height: 0;
|
|
}
|
|
}
|
|
|
|
aside {
|
|
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);
|
|
}
|
|
}
|
|
}
|
|
|
|
.el-upload--picture-card {
|
|
background-color: #fbfdff;
|
|
border: 1px dashed #c0ccda;
|
|
border-radius: 6px;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
height: auto;
|
|
line-height: normal;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.el-menu--collapse .el-submenu {
|
|
position: relative;
|
|
width: 54px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.el-menu--collapse .el-submenu__title {
|
|
width: 54px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
|
|
/*隐藏文字*/
|
|
|
|
.el-menu--collapse .el-submenu__title span {
|
|
display: none;
|
|
}
|
|
|
|
|
|
/*隐藏 > */
|
|
.el-menu--collapse .el-submenu__title .el-submenu__icon-arrow {
|
|
display: none;
|
|
}
|
|
|
|
//main-container全局样式
|
|
.app-container {
|
|
padding: 10px;
|
|
}
|
|
|
|
.components-container {
|
|
margin: 30px 50px;
|
|
position: relative;
|
|
}
|
|
|
|
.pagination-container {
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.text-center {
|
|
text-align: center
|
|
}
|
|
|
|
.sub-navbar {
|
|
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%);
|
|
.subtitle {
|
|
font-size: 20px;
|
|
color: #fff;
|
|
}
|
|
&.draft {
|
|
background: #d0d0d0;
|
|
}
|
|
&.deleted {
|
|
background: #d0d0d0;
|
|
}
|
|
}
|
|
ul{
|
|
padding: 0;
|
|
}
|
|
li{
|
|
list-style: none;
|
|
}
|
|
|
|
.link-type,
|
|
.link-type:focus {
|
|
color: #337ab7;
|
|
cursor: pointer;
|
|
&:hover {
|
|
color: rgb(32, 160, 255);
|
|
}
|
|
}
|
|
|
|
.filter-container {
|
|
padding-bottom: 10px;
|
|
.filter-item {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|
|
|
|
//refine vue-multiselect plugin
|
|
.multiselect {
|
|
line-height: 16px;
|
|
}
|
|
|
|
.multiselect--active {
|
|
z-index: 1000 !important;
|
|
}
|
|
|
|
|
|
/**全局的内容*/
|
|
|
|
.el-table__header th {
|
|
background-color: #e8eff5;
|
|
text-align: center;
|
|
}
|
|
|
|
.g-content {
|
|
padding: 15px;
|
|
}
|
|
|
|
.g-row {
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.g-dialog {
|
|
.el-dialog__header {
|
|
padding: 10px 20px;
|
|
border-bottom: 1px solid #f0f0f1;
|
|
}
|
|
.el-dialog__body {
|
|
padding: 10px 10px;
|
|
overflow-y: auto;
|
|
max-height: calc(100vh - 140px);
|
|
}
|
|
.el-dialog__footer {
|
|
padding: 10px 20px;
|
|
border-top: 1px solid #F5F5F6;
|
|
background-color: #F5F5F6;
|
|
}
|
|
}
|
|
.el-button--primary{
|
|
// background-color: #fff;
|
|
// border-color: #fff;
|
|
}
|
|
.el-radio-button__orig-radio:checked+.el-radio-button__inner{
|
|
background-color: #fff;
|
|
border-color: #fff;
|
|
box-shadow:none;
|
|
color: #387DF7;
|
|
}
|
|
.el-tag--plain{
|
|
background-color: #fff;
|
|
border-color: #fff;
|
|
color: #588afc
|
|
}
|
|
.el-tag{
|
|
border-color: #588afc;
|
|
color: #588afc;
|
|
margin-right:10px
|
|
}
|
|
.el-radio-button{
|
|
margin-right: 10px;
|
|
margin-bottom: 10px;
|
|
.el-radio-button__inner{
|
|
background: #F5F5F5;
|
|
border: none;
|
|
color: #3d3d3d;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
// 个人中心微课录播课标识样式
|
|
.uc-course-type1 {
|
|
padding: 3px 15px;
|
|
background: #588afc;
|
|
color: #fff;
|
|
border-radius: 2px
|
|
}
|
|
.uc-course-type2 {
|
|
padding: 3px 15px;
|
|
background: #ffb30f;
|
|
color: #fff;
|
|
border-radius: 2px
|
|
}
|
|
.el-radio-button:first-child .el-radio-button__inner{
|
|
border-radius: 0px;
|
|
}
|
|
/* 门户分页div */
|
|
.pagination-div {
|
|
text-align: center;
|
|
padding: 10px 0;
|
|
margin: 10px;
|
|
.pag-text{
|
|
border: 1px solid #292828;
|
|
padding: 10px 20px;
|
|
border-radius: 20px;
|
|
background: #fff;
|
|
}
|
|
}
|
|
.teacher-info{
|
|
.teacher-remark{
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 3;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
.el-collapse {
|
|
border-top: 1px solid #EBEEF5;
|
|
border-bottom: none;
|
|
}
|
|
.teacher{
|
|
background-color: #FFFFFF;
|
|
display: flex;
|
|
border-top: 1px solid #e7e7e7;
|
|
padding: 10px 0px;
|
|
.teacher-avator{
|
|
::v-deep .el-avatar{
|
|
width: 68px !important;
|
|
height: 68px !important;
|
|
border-radius: 0px;
|
|
img{
|
|
width: 100% !important;
|
|
}
|
|
}
|
|
.teacher-text{
|
|
width: 68px;
|
|
height: 68px;
|
|
text-align: center;
|
|
line-height: 68px;
|
|
// border-radius: 50%;
|
|
color: #73adfe;
|
|
border: 2px solid #73adfe;
|
|
background: #d9e9ff;
|
|
}
|
|
}
|
|
.teacher-info{
|
|
flex: 1;
|
|
.teacher-name{
|
|
padding: 0px 5px 10px 10px;
|
|
}
|
|
.teacher-remark{
|
|
padding: 0px 5px 0 10px;
|
|
font-size: 14px;
|
|
color: #666666;
|
|
line-height: 20px;
|
|
}
|
|
}
|
|
}
|
|
.teachers {
|
|
background-color: #fff;
|
|
margin-top: 10px;
|
|
padding: 5px 15px 5px 10px;
|
|
.top {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
line-height: 50px;
|
|
}
|
|
}
|
|
|
|
.custom-confirm-dialog {
|
|
max-width: 692px;
|
|
min-width: 692px;
|
|
min-height: 222px !important;
|
|
padding: 0px 0px 0px;
|
|
border-radius: 10px;
|
|
height: auto !important;
|
|
|
|
.el-message-box__header {
|
|
// padding: 0 0 16px 0;
|
|
padding: 2px 8px 2px 16px;
|
|
display: block;
|
|
|
|
.el-message-box__title {
|
|
font-size: 16px;
|
|
color: #000;
|
|
line-height: 32px;
|
|
}
|
|
|
|
.el-message-box__headerbtn {
|
|
top: 8px;
|
|
right: 10px;
|
|
.el-message-box__close {
|
|
font-size: 22px;
|
|
color: #b2b2b2;
|
|
}
|
|
}
|
|
}
|
|
|
|
.el-message-box__content {
|
|
margin-top: 0;
|
|
padding: 50px 0;
|
|
.el-message-box__status {
|
|
margin-right: 14px;
|
|
font-size: 24px;
|
|
color: #e32e2e;
|
|
// display: block;
|
|
}
|
|
|
|
.el-message-box__message {
|
|
margin-left: 0;
|
|
color: #000;
|
|
font-size: 16px;
|
|
line-height: 32px;
|
|
font-weight: normal;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 20px;
|
|
p{
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: center;
|
|
text-align: left;
|
|
.el-icon-warning-outline{
|
|
margin-right: 6px;
|
|
font-size: 18px;
|
|
color: #e32e2e;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
.el-message-box__btns {
|
|
padding: 0;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
padding-right: 20px;
|
|
margin-top: 0px;
|
|
padding-bottom: 20px;
|
|
|
|
.el-button {
|
|
min-width: 120px;
|
|
height: 40px;
|
|
font-size: 16px;
|
|
border-radius: 6px;
|
|
padding: 0 18px;
|
|
}
|
|
|
|
.el-button--default {
|
|
color: rgba(0, 0, 0, .2);
|
|
border-color: rgba(0, 0, 0, .1);
|
|
background-color: #FFFFFF;
|
|
}
|
|
|
|
.el-button--primary {
|
|
background-color: #3b7cff;
|
|
border-color: #3b7cff;
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
|
|
.custom-message-dialog {
|
|
|
|
} |