Files
layui-ul/source/scss/layui-ul.scss
2025-08-31 11:56:47 +08:00

580 lines
10 KiB
SCSS

@import './common';
@import './list/index';
@import './nav/index';
@import './form/index';
@import './fieldset/index';
@import './card/index';
@import './title/index';
@import './jumbotron/index';
@import './footer/index';
@import './desciptions/index';
@import './header/_index';
@import '../components/index';
/* 链接导航开始 */
.ul-link-select {
display : flex;
align-items : flex-start;
justify-content: flex-start;
}
.ul-link-title {
margin-right: 15px;
white-space : nowrap;
}
.ul-link-list {
display : flex;
align-items : flex-start;
justify-content: flex-start;
flex-wrap : wrap;
}
.ul-link-item {
padding : 0px 10px;
cursor : pointer;
margin-right : 10px;
margin-bottom: 5px;
}
.ul-link-item.current {
border-radius: 15px;
border : 1px solid #6cf;
color : #6cf;
}
/* 链接导航结束 */
.ul-info-tips {
padding : 15px;
background-color: rgba(255, 255, 255, 0.6);
}
.ul-card-status {
padding : 5px;
border-radius: 5px;
}
.ul-card-options {
float : right;
cursor: pointer;
}
.data-img .data-img-main {
max-width: 120px;
margin : 5px;
}
.data-img {
display: block;
}
.ul-nav-easy {
background-color: transparent;
}
.layui-nav-tree.ul-nav-easy .layui-nav-item>a {
color: #666;
}
.layui-nav-tree.ul-nav-easy .layui-this {
background-color: transparent;
}
.layui-nav-tree.ul-nav-easy .layui-this>a {
background-color: transparent;
color : #6cf;
}
.layui-nav-tree.ul-nav-easy .layui-nav-item.layui-this a:hover {
color: #6cf;
}
.layui-nav-tree.ul-nav-easy .layui-nav-item a:hover {
color: #fff;
}
.layui-nav-tree.ul-nav-easy .layui-nav-item a {
height : 45px;
line-height: 45px;
}
.search-item {
margin-bottom: 15px;
}
.ul-tree-item {
background-color: #fbfbfb;
cursor : pointer;
}
.ul-tree-item.disabled,
.ul-tree-item.disabled .ul-tree-item {
background-color: #eee;
cursor : not-allowed;
}
.ul-tree-item-info {
border-left: 3px solid transparent;
padding : 0px 0;
position : relative;
min-height : 35px;
line-height: 35px;
}
.ul-tree-item-info.current {
background-color: #9cf;
border-color : #6699cc;
}
.ul-tree-item-info:hover {
background-color: rgb(190, 222, 255);
border-color : #6699cc;
}
.ul-tree-item-title {
margin-left: 25px;
}
.ul-tree-item-icon {
position: absolute;
left : 5px;
top : 0;
}
.ul-tree-item-info:hover .ul-tree-item-options-item {
display: block;
}
.ul-tree-item-options {
position : absolute;
right : 15px;
top : 0;
height : 100%;
display : flex;
align-items: center;
}
.ul-tree-item-options-item {
margin-left: 10px;
display : none;
height : 100%;
line-height: 35px;
}
.ul-input-table {
text-align: center;
}
.ul-input-table tbody td,
.ul-input-table tbody th {
padding: 2px 4px;
}
.ul-input-table .layui-form-checkbox[lay-skin="primary"] {
margin-top: 0px;
}
.ul-input-table .layui-form-select dl dd {
text-align: left;
}
.ul-nav-min {
box-shadow: 2px 2px 5px #999;
padding : 5px;
text-align: center;
}
.ul-nav-min .ul-nav-min-item {
padding: 5px 0;
cursor : pointer;
color : #333;
display: block;
}
.ul-nav-min-item:hover {
color: #6cf;
}
.ul-header-a {
background-color: #f8f8f8;
border-bottom : 1px solid #e8e8e8;
color : #666;
}
.ul-header-a-main {
display : flex;
align-items : center;
justify-content: space-between;
/* border-width: 1px 0;
border-color : #bbb;
border-style : solid; */
padding : 5px;
margin : 0 auto;
}
.ul-header-a-nav-item {
margin-right: 15px;
position : relative;
display : flex;
align-items : center;
cursor : pointer;
}
.ul-header-a-nav-item:hover .ul-header-a-nav-plus {
display: block;
}
.ul-header-a-img {
height : 24px;
width : 24px;
background-size : cover;
background-position: center;
margin-right : 10px;
}
.ul-header-a-right {
display : flex;
align-items: center;
}
.ul-header-a-nav-plus {
position : absolute;
top : 100%;
left : 50%;
display : none;
background-color: transparent;
z-index : 99999;
}
.ul-header-a-nav-plus>.ul-nav-min {
background-color: #fff;
margin-top : 15px;
}
.ul-nav-header-main {
display : flex;
align-items : center;
justify-content: space-between;
padding : 5px 15px;
margin : 0 auto;
}
.ul-nav-header-right {
text-align: right;
}
.ul-nav-header-item {
display : inline-block;
margin-right: 15px;
cursor : pointer;
padding : 5px 15px;
color : #333;
}
.ul-nav-header-item:hover {
color: #6cf;
}
.ul-nav-header-red {
background-color: #f72222;
}
.ul-nav-header-red .ul-nav-header-item {
color: #fff;
}
.ul-nav-header-red .ul-nav-header-item:hover {
color: #fedf50;
}
.ul-nav-header-primary {
background-color: #6cf;
}
.ul-nav-header-primary .ul-nav-header-item {
color: #fff;
}
.ul-nav-header-primary .ul-nav-header-item:hover {
color: #ccffff;
}
.ul-card-a {
width : 180px;
display : flex;
justify-content: space-between;
border : 1px solid #bbb;
box-shadow : 2px 2px 5px #999;
color : #516073;
padding : 15px;
cursor : pointer;
margin-right : 15px;
margin-bottom : 15px;
position : relative;
}
.ul-card-a-left {
width: 40%;
}
.ul-card-a-right {
display : flex;
align-items: center;
text-align : center;
width : 50%;
}
.ul-card-a-title {
font-size: 18px;
}
.ul-card-a-desc {
margin-top : 5px;
font-size : 14px;
white-space: nowrap;
}
.ul-nav-poster {
padding : 5px;
border : 1px solid #ddd;
border-top-width: 3px;
}
.ul-nav-poster-item {
display : flex;
justify-content: space-between;
align-items : center;
cursor : pointer;
}
.ul-nav-poster-left {
display : flex;
align-items: center;
}
.ul-nav-post-title {
color : #333;
font-weight: bold;
}
.ul-nav-poster-desc {
color : #999;
font-size : 12px;
font-weight: 100;
}
.ul-nav-poster-img {
width : 38px;
height : 38px;
margin : 5px;
background-size : cover;
background-position: center;
}
.ul-nav-poster-item:not(:last-child) {
border-bottom: 1px dashed #ddd;
}
.ul-nav-link-item {
display : inline-block;
margin : 5px 0;
padding : 0 10px;
border : 1px solid transparent;
color : #333;
white-space: nowrap;
}
.ul-nav-link-item:not(:last-child) {
border-right-color: #666;
}
.ul-group-title-2 {
background : #d2dbe0;
width : 84px;
height : 28px;
line-height : 28px;
font-size : 14px;
font-weight : bold;
text-align : center;
position : relative;
margin-top : 30px;
margin-bottom: 14px;
color : #666666;
}
.ul-group-title-2::after {
content : "";
width : 0;
height : 0;
position : absolute;
border-top : 14px solid transparent;
border-bottom: 14px solid transparent;
border-left : 15px solid #d2dbe0;
right : -15px;
top : 0px;
}
.ul-nav-card-item {
padding : 0 15px;
border : 1px solid #ddd;
border-radius : 6px;
height : 82px;
margin-bottom : 10px;
display : flex;
align-items : center;
justify-content: space-between;
}
.ul-nav-card-item-left {
display : flex;
align-items : center;
justify-content: flex-start;
}
.ul-nav-card-item-icon {
font-size : 28px;
width : 50px;
height : 50px;
border-radius : 5px;
line-height : 50px;
text-align : center;
background : #2E4158;
display : inline-block;
color : #fff;
vertical-align: bottom;
}
.ul-nav-card-item-info {
margin-left: 10px;
}
.ul-nav-card-item-title {
font-size : 14px;
color : #253647;
font-weight : 700;
margin-bottom: 4px;
}
.ul-nav-card-item-desc {
color : #666;
font-size: 12px;
}
.ul-nav-card-item.disabled .ul-nav-card-item-icon {
background-color: #908b8b;
}
.ul-doc-info-page-list {
padding: 15px;
color : #999;
}
.ul-doc-info-page-item {
line-height: 2;
padding : 0 15px;
position : relative;
}
.ul-doc-info-page-item.page {
cursor : pointer;
font-size: 18px;
}
.ul-doc-info-page-item.group {
color : #bbb;
font-size: 16px;
}
.ul-doc-info-page-item.point {
color : #eee;
font-size: 14px;
}
.ul-doc-info-page-item.page:hover {
background-color: #555;
}
.ul-doc-info-page-item.level-0 {}
.ul-doc-info-page-item.level-1 {
margin-left: 15px;
}
.ul-doc-info-page-item.level-2 {
margin-left: 30px;
}
.ul-doc-info-page-item.level-3 {
margin-left: 45px;
}
.ul-nav-button-item {
display : flex;
align-items : center;
justify-content : flex-start;
margin-bottom : 10px;
border-radius : 8px;
padding : 10px;
box-shadow : 0px 1px 3px #bbb;
background-color: #fff;
cursor : pointer;
}
.ul-nav-button-icon {
margin-right: 10px;
}
.ul-nav-button-icon .icon {
font-size: 38px;
color : #999;
}
.ul-nav-button-title {
color : #333;
font-size : 16px;
font-weight: 600;
}
.ul-nav-button-desc {
color : #666;
font-size: 14px;
}
.ul-timeline-rowstyle {
display : flex;
flex-wrap : nowrap;
overflow-x: auto;
width : 100%;
}
.ul-timeline-rowstyle .layui-timeline-item {
margin-right: 15px;
min-width : 300px;
}
.ul-timeline-rowstyle .layui-timeline-item:last-child::before {
display: block;
}