123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513 |
- @import './variables.scss';
- @import './mixin.scss';
- @import './sidebar.scss';
- @import './btn.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;
- }
- ul,li {
- list-style: none;
- font-style: normal;
- margin: 0;
- padding: 0;
- }
- label {
- font-weight: 600;
- }
- html {
- height: 100%;
- box-sizing: border-box;
- overflow: hidden;
- color: #282828;
- }
- #app{
- height: 100%;
- }
- *,
- *: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;
- }
- }
- code {
- background: #eef1f6;
- padding: 15px 16px;
- margin-bottom: 20px;
- display: block;
- line-height: 36px;
- font-size: 15px;
- font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
- a {
- color: #337ab7;
- cursor: pointer;
- &:hover {
- color: rgb(32, 160, 255);
- }
- }
- }
- .warn-content{
- background: rgba(66,185,131,.1);
- border-radius: 2px;
- padding: 16px;
- padding: 1rem;
- line-height: 1.6rem;
- word-spacing: .05rem;
- a{
- color: #42b983;
- font-weight: 600;
- }
- }
- //main-container全局样式
- .app-container {
- padding: 20px;
- }
- .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;
- }
- }
- .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;
- }
- /* 字体颜色 */
- .blue {
- color: #26A2FF!important;
- }
- .red {
- color: #F56C6C!important;
- }
- .yellow {
- color: #E6A23C!important;
- }
- .green {
- color: #67C23A!important;
- }
- .blue-box {
- color: #26A2FF!important;
- background-color: #ecf5ff!important;
- }
- .red-box {
- color: #F56C6C!important;
- background-color: #fef0f0!important;
- }
- .yellow-box {
- color: #E6A23C!important;
- background-color: #fdf6ec!important;
- }
- .green-box {
- color: #67C23A!important;
- background-color: #f0f9eb!important;
- }
- .fontColorZ {
- color: #303133!important;
- }
- .fontColorB {
- color: #777777 !important;
- }
- .fontColorF {
- color: #909399 !important;
- }
- .fontColorT {
- color: #C0C4CC!important;
- }
- /* 盒子模型 */
- .flex-box {
- display: -webkit-box; /* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */
- display: -moz-box; /* Firefox 17- */
- display: -webkit-flex; /* Chrome 21+, Safari 6.1+, iOS Safari 7+, Opera 15/16 */
- display: -moz-flex; /* Firefox 18+ */
- display: -ms-flexbox; /* IE 10 */
- display: flex; /* Chrome 29+, Firefox 22+, IE 11+, Opera 12.1/17/18, Android 4.4+ */
- }
- /*盒子模型,竖向自适应,垂直排列 */
- .flex-box-v {
- display: -webkit-box;
- display: -webkit-flex;
- display: flex;
- -webkit-box-orient: vertical;
- -webkit-flex-flow: column;
- flex-flow: column !important;
- }
- /* 水平等列排版(容器左右没缝隙,子元素左右两边自适应) */
- .flex-d-center {
- justify-content: space-between;
- -webkit-justify-content: space-between;
- }
- /* 水平等列排版(子元素两边有缝隙自己适应) */
- .flex-dv-center {
- justify-content: space-around;
- -webkit-justify-content: space-around;
- }
- /*通过一起使用 box-align 和 box-pack 属性,对 view 框的子元素进行居中,目前没有浏览器支持box-align 和 box-pack 属性,所以需要加上浏览器内核-webkit,-moz等的简写 */
- .flex-center-center {
- justify-content: center;
- -webkit-justify-content: center;
- -moz-justify-content: center;
- align-items: center;
- -webkit-align-items: center;
- -webkit-box-pack: center;
- -webkit-box-align: center;
- -moz-align-items: center;
- -moz-box-pack: center;
- -moz-box-align: center;
- }
- /*对view中的子元素进行居中,并且位于容器的中间位置水平居中 */
- .flex-v-zhu,
- .flex-h-zhu {
- justify-content: center;
- -webkit-justify-content: center;
- -webkit-box-pack: center;
- }
- // 垂直居中
- .flex-v-ce,
- .flex-h-ce {
- align-items: center;
- -webkit-align-items: center;
- -webkit-box-align: center;
- }
- /*flex-box与 flex-v-ce结合*/
- .flex-box-ce {
- display: -webkit-box;
- display: -moz-box;
- display: -ms-flexbox;
- display: -webkit-flex;
- display: flex;
- align-items: center;
- -webkit-align-items: center;
- -webkit-box-align: center;
- }
- /*让所有弹性盒模型对象的子元素都有相同的长度,且忽略它们内部的内容: */
- .flex-1 {
- -webkit-box-flex: 1;
- -moz-box-flex: 1;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- }
- .flex-2 {
- -webkit-box-flex: 2;
- box-flex: 2;
- -moz-box-flex: 2;
- -webkit-flex: 2;
- -ms-flex: 2;
- flex: 2;
- }
- .flex-3 {
- -webkit-box-flex: 3;
- box-flex: 3;
- -moz-box-flex: 3;
- -webkit-flex: 3;
- -ms-flex: 3;
- flex: 3;
- }
- .flex-4 {
- -webkit-box-flex: 4;
- box-flex: 4;
- -moz-box-flex: 4;
- -webkit-flex: 4;
- -ms-flex: 4;
- flex: 4;
- }
- .flex-5 {
- -webkit-box-flex: 5;
- box-flex: 5;
- -moz-box-flex: 5;
- -webkit-flex: 5;
- -ms-flex: 5;
- flex: 5;
- }
- .flex-direction-row-reverse {
- flex-direction: row-reverse;
- -webkit-flex-direction: row-reverse;
- }
- /*超出部分用....表示的公用样式 */
- .font-flex-word {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- /* 内容超出部分自动换行 */
- .flex-d-wrap {
- flex-wrap: wrap;
- }
- /* 内容超出部分不换行 */
- .flex-no-wrap {
- flex-wrap: nowrap;
- }
- /* 从右边开始排列 */
- .flex-box-end {
- display: -webkit-box;
- display: -moz-box;
- display: -ms-flexbox;
- display: -webkit-flex;
- display: flex;
- justify-content: flex-end;
- }
- // 滚动条样式
- .scroll-bar::-webkit-scrollbar {
- width: 6px;
- height: 6px;
- }
- /*外层轨道。可以用display:none让其不显示,也可以添加背景图片,颜色改变显示效果*/
- .scroll-bar::-webkit-scrollbar-track {
- width: 6px;
- background-color: #fff0;
- -webkit-border-radius: 2em;
- -moz-border-radius: 2em;
- border-radius: 2em;
- }
- /*滚动条的设置*/
- .scroll-bar::-webkit-scrollbar-thumb {
- background-color: #fff0;
- background-clip: padding-box;
- -webkit-border-radius: 2em;
- -moz-border-radius: 2em;
- border-radius: 2em;
- }
- /*滚动条移上去的背景*/
- .scroll-bar:hover::-webkit-scrollbar-thumb {
- background-color: rgba(144, 147, 153, 0.3);
- height: 20px;
- }
- .el-date-editor .el-range-separator {
- padding: 0px 0px !important;
- }
- .drawer_details{
- & .details_title{
- font-size: 18px;
- padding: 20px;
- border-bottom:1px #efefef solid;
- }
- & .details_content{
- height: calc(100vh - 81px);
- padding: 20px;
- overflow: auto;
- &::-webkit-scrollbar {
- width:5px;
- height:5px;
- }
- &::-webkit-scrollbar-track {
- width: 6px;
- background-color:#fff0;
- -webkit-border-radius: 2em;
- -moz-border-radius: 2em;
- border-radius:2em;
- }
- &::-webkit-scrollbar-thumb {
- background-color:#fff0;
- background-clip:padding-box;
- min-height:28px;
- -webkit-border-radius: 2em;
- -moz-border-radius: 2em;
- border-radius:2em;
- }
- &:hover::-webkit-scrollbar-thumb{
- background-color:rgba(144,147,153,.3);
- }
- }
- }
- .nopoint_box {
- display: inline-block;
- text-align: center;
- width: 100%;
- margin-bottom: 10px;
- & .noimg{
- display: inline-block;
- width: 110px;
- height: 110px;
- margin: 22px auto 16px;
- background: url("static/images/nodata_default.png") no-repeat center;
- background-size: 99%;
- }
- & .noperson {
- display: inline-block;
- width: 110px;
- height: 110px;
- margin: 22px auto 16px;
- background: url("static/images/noperson_default.png") no-repeat center;
- background-size: 99%;
- }
- & .title {
- display: block;
- text-align: center;
- font-size: 12px !important;
- color: #909399 !important;
- padding: 0;
- }
- }
- //
- .testinfo_class .el-message__icon{
- font-size: 20px;
- color: red;
- }
- .el-tooltip__popper{
- max-width: 400px;
- }
|