12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478 |
- @import (reference) "bootstrap-less/mixins.less";
- @import (reference) "bootstrap-less/variables.less";
- @import (reference) "fastadmin/mixins.less";
- @import (reference) "fastadmin/variables.less";
- @import "lesshat.less";
- @import url("../css/bootstrap.css");
- @import url("../css/fastadmin.css");
- @import url("../css/skins/skin-black-green.css");
- @import url("../css/iconfont.css");
- @import url("../libs/font-awesome/css/font-awesome.min.css");
- @import url("../libs/toastr/toastr.min.css");
- @import url("../libs/fastadmin-layer/dist/theme/default/layer.css");
- @import url("../libs/bootstrap-table/dist/bootstrap-table.min.css");
- @import url("../libs/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css");
- @import url("../libs/bootstrap-daterangepicker/daterangepicker.css");
- @import url("../libs/nice-validator/dist/jquery.validator.css");
- @import url("../libs/bootstrap-select/dist/css/bootstrap-select.min.css");
- @import url("../libs/fastadmin-selectpage/selectpage.css");
- @import url("../libs/bootstrap-slider/slider.css");
- @main-bg: #f1f4f6;
- @panel-intro-bg: darken(@main-bg, 3%);
- @panel-nav-bg: #fff;
- html,
- body {
- height: 100%;
- }
- body {
- background: #f1f4f6;
- font-size: 13px;
- }
- body.is-dialog {
- background: #fff;
- }
- .dropdown-menu {
- > li > a {
- font-size: 13px;
- padding: 5px 12px;
- }
- }
- .selection {
- position: absolute;
- border: 1px solid #8B9;
- background-color: #BEC;
- }
- .main-header {
- .navbar {
- position: relative;
- .dropdown-menu {
- font-size: 13px;
- > li > a {
- padding: 5px 20px;
- }
- }
- }
- }
- .bootstrap-dialog .modal-dialog {
- /*width: 70%;*/
- max-width: 885px;
- }
- /*iOS兼容*/
- html.ios-fix, html.ios-fix body {
- height: 100%;
- overflow: auto;
- -webkit-overflow-scrolling: touch;
- .wrapper, .tab-pane {
- overflow: auto;
- -webkit-overflow-scrolling: touch;
- }
- }
- .wrapper {
- height: 100%;
- }
- #header {
- //box-shadow: 0 2px 2px rgba(0,0,0,.05),0 1px 0 rgba(0,0,0,.05);
- }
- .content-wrapper {
- position: relative;
- height: 100%;
- }
- .control-relative {
- position: relative;
- }
- .tab-addtabs {
- //overflow: hidden;
- .tab-pane {
- height: 100%;
- width: 100%;
- }
- }
- .row-between {
- .col-xs-6 + .col-xs-6:before {
- content: "-";
- position: absolute;
- left: -2%;
- top: 6px;
- }
- }
- @media only screen and (min-width: 481px) {
- .row-flex {
- display: flex;
- flex-wrap: wrap;
- }
- .row-flex > [class*='col-'] {
- display: flex;
- flex-direction: column;
- }
- .row-flex.row:after,
- .row-flex.row:before {
- display: flex;
- }
- }
- @media (max-width: 991px) {
- .main-header .navbar-custom-menu a {
- &.btn-danger {
- color: #fff;
- background-color: @brand-danger;
- }
- &.btn-primary {
- color: #fff;
- background-color: @brand-primary;
- }
- }
- }
- .common-search-table {
- min-height: 20px;
- padding: 15px;
- margin-bottom: 15px;
- background-color: #f5f5f5;
- }
- /* 固定的底部按钮 */
- .fixed-footer {
- position: fixed;
- bottom: 0;
- background-color: #ecf0f1;
- width: 100%;
- margin-bottom: 0;
- padding: 10px;
- }
- table.table-template {
- overflow: hidden;
- }
- .sp_container {
- .msg-box {
- position: absolute;
- right: 0;
- top: 0;
- }
- .sp_element_box {
- overflow: unset;
- > li.input_box {
- position: unset;
- }
- .msg-box {
- right: -24px;
- }
- }
- }
- @media (max-width: 767px) {
- .sp_container .sp_element_box .msg-box {
- left: inherit;
- }
- }
- .toast-top-right-index {
- top: 62px;
- right: 12px;
- }
- .bootstrap-select .status {
- background: #f0f0f0;
- clear: both;
- color: #999;
- font-size: 12px;
- font-weight: 500;
- line-height: 1;
- margin-bottom: -5px;
- padding: 10px 20px;
- }
- select.bs-select-hidden, select.selectpicker {
- display: inherit !important;
- max-height: 31px;
- overflow: hidden;
- &[multiple] {
- height: 31px;
- //visibility: hidden;
- padding: 0;
- background: #f4f4f4;
- option {
- color: #f4f4f4;
- .opacity(0);
- }
- @media not all and (min-resolution: .001dpcm) {
- @supports (-webkit-appearance:none) {
- visibility: hidden;
- }
- }
- }
- }
- input.selectpage {
- color: transparent;
- pointer-events: none;
- }
- .sp_container {
- input.selectpage {
- color: inherit;
- pointer-events: inherit;
- padding-left: 12px;
- padding-right: 12px;
- }
- .sp_element_box {
- input.selectpage {
- padding-left: 0;
- padding-right: 0;
- }
- li:first-child {
- input.selectpage {
- padding-left: 9px;
- padding-right: 9px;
- }
- }
- }
- }
- .img-center {
- margin: 0 auto;
- display: inline;
- float: none;
- }
- /*
- * RIBBON
- */
- #ribbon {
- overflow: hidden;
- padding: 15px 15px 0 15px;
- position: relative;
- a {
- color: #777 !important;
- text-decoration: none !important;
- }
- .breadcrumb {
- display: inline-block;
- margin: 0;
- padding: 0;
- background: none;
- vertical-align: top;
- }
- .breadcrumb > .active,
- .breadcrumb li {
- color: #aaa;
- }
- .shortcut {
- a {
- margin-left: 10px;
- }
- }
- }
- .is-dialog {
- #main {
- background: #fff;
- }
- .layer-footer {
- display: none;
- }
- }
- form.form-horizontal .control-label {
- font-weight: normal;
- }
- .user-panel > .image img {
- width: 45px;
- height: 45px;
- }
- /*panel扩展描述样式*/
- .panel-intro {
- margin-bottom: 0;
- border: none;
- > .panel-heading {
- padding: 15px;
- padding-bottom: 0;
- background: @panel-intro-bg;
- border-color: @panel-intro-bg;
- position: relative;
- .panel-lead {
- margin-bottom: 15px;
- em {
- display: block;
- font-weight: bold;
- font-style: normal;
- }
- }
- .panel-title {
- height: 25px;
- font-weight: normal;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .panel-control {
- height: 42px;
- position: absolute;
- top: 8px;
- right: 8px;
- .fa {
- font-size: 14px;
- }
- }
- .nav-tabs {
- border-bottom: 0;
- margin-bottom: 0;
- }
- .nav-tabs > li > a {
- margin-right: 4px;
- color: #95a5a6;
- background-color: darken(@panel-intro-bg, 5%);
- border: 1px solid @panel-intro-bg;
- border-bottom-color: transparent;
- }
- .nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
- border: 1px solid @panel-intro-bg;
- color: #7b8a8b;
- background-color: darken(@panel-intro-bg, 10%);
- }
- .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
- color: #7b8a8b;
- background-color: #ffffff;
- border-bottom-color: transparent;
- cursor: default;
- }
- @media (max-width: @screen-tablet) {
- .nav-tabs {
- white-space: nowrap;
- overflow-x: auto;
- overflow-y: hidden;
- margin-bottom: -1px;
- > li {
- display: inline-block;
- float: none;
- }
- }
- }
- }
- }
- /*单表格*/
- .panel-tabs {
- .panel-heading {
- padding: 12px 15px 12px 15px;
- .panel-lead {
- margin-bottom: 0px;
- }
- .panel-title {
- }
- }
- }
- /*选项卡*/
- .panel-nav {
- .panel-heading {
- padding: 0px;
- padding-bottom: 0;
- background: @main-bg;
- border-color: @main-bg;
- }
- .nav-tabs > li > a {
- padding: 12px 15px;
- background-color: @panel-intro-bg;
- border: 1px solid @main-bg;
- }
- .nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
- border: 1px solid @panel-intro-bg;
- background-color: @panel-intro-bg;
- }
- .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
- border-color: @main-bg;
- border-bottom-color: transparent;
- }
- }
- /*顶栏addtabs*/
- .nav-addtabs {
- height: 100%;
- &.disable-top-badge {
- > li > a > .pull-right-container {
- display: none;
- }
- }
- border: none;
- > li {
- margin: 0;
- > a {
- height: 50px;
- line-height: 50px;
- padding: 0 15px;
- border-radius: 0;
- border: none;
- border-right: 1px solid rgba(0, 0, 0, 0.05);
- margin: 0;
- color: #95a5a6;
- &:hover, &:focus {
- border: none;
- color: #2c3e50;
- border-right: 1px solid rgba(0, 0, 0, 0.02);
- }
- }
- &.active > a {
- height: 50px;
- line-height: 50px;
- padding: 0 15px;
- border-radius: 0;
- border: none;
- border-right: 1px solid rgba(0, 0, 0, 0.02);
- background: #f1f4f6;
- color: #2c3e50;
- overflow: hidden;
- &:hover, &:focus {
- border: none;
- color: #2c3e50;
- background: #f1f4f6;
- border-right: 1px solid rgba(0, 0, 0, 0.02);
- }
- }
- .close-tab {
- font-size: 10px;
- position: absolute;
- right: 0px;
- top: 50%;
- margin-top: -8px;
- z-index: 100;
- cursor: pointer;
- color: #eee;
- &:before {
- content: "\e626";
- font-family: iconfont;
- font-style: normal;
- font-weight: normal;
- text-decoration: inherit;
- font-size: 18px;
- }
- display: none;
- }
- }
- .open > a {
- &:hover, &:focus {
- border-right: 1px solid rgba(0, 0, 0, 0.05);
- }
- }
- ul li {
- position: relative;
- }
- li:hover > .close-tab {
- display: block;
- }
- }
- #firstnav {
- height: 50px;
- border-bottom: 1px solid transparent;
- box-shadow: 0 1px 4px rgba(0, 21, 41, .08);
- position: relative;
- .sidebar-toggle {
- position: absolute;
- width: 45px;
- text-align: center;
- height: 50px;
- line-height: 50px;
- padding: 0;
- }
- .nav-addtabs {
- position: absolute;
- left: 45px;
- z-index: 98;
- }
- .navbar-custom-menu {
- position: absolute;
- top: 0;
- right: 0;
- z-index: 99;
- background: transparent;
- }
- }
- /*次栏菜单栏*/
- #secondnav {
- display: none;
- height: 44px;
- position: absolute;
- top: 50px;
- left: 0;
- background: #fff;
- width: 100%;
- box-shadow: 0 1px 4px rgba(0, 21, 41, .08);
- padding: 5px 10px;
- -webkit-user-select: none;
- -moz-user-select: none;
- user-select: none;
- .nav-addtabs {
- height: 100%;
- &.disable-top-badge {
- > li > a > .pull-right-container {
- display: none;
- }
- }
- border: none;
- > li {
- border: 1px solid #eee;
- border-radius: 3px;
- padding: 0 15px;
- height: 30px;
- line-height: 30px;
- margin: 2px 5px 2px 0;
- background: #fff;
- > a {
- display: block;
- color: #495060 !important;
- height: 100%;
- padding: 0;
- line-height: 28px;
- font-size: 12px;
- vertical-align: middle;
- opacity: 1;
- overflow: hidden;
- background: none;
- border: none;
- }
- &.active {
- border-color: #bdbebd;
- background-color: #f7f7f7;
- }
- .close-tab {
- font-size: 10px;
- position: absolute;
- right: 0px;
- top: 50%;
- margin-top: -8px;
- z-index: 100;
- cursor: pointer;
- color: #eee;
- &:before {
- content: "\e626";
- font-family: iconfont;
- font-style: normal;
- font-weight: normal;
- text-decoration: inherit;
- font-size: 18px;
- }
- }
- &:hover, &:focus {
- border-color: #bdbebd;
- }
- }
- ul li {
- position: relative;
- }
- li:hover > .close-tab {
- display: block;
- border-color: #222e32;
- color: #222e32
- }
- }
- }
- .multiplenav {
- .content-wrapper, .right-side, .main-sidebar {
- padding-top: 50px;
- }
- #firstnav .nav-addtabs {
- padding-right: 450px;
- }
- }
- @media (max-width: 767px) {
- .multipletab {
- &.multiplenav {
- .content-wrapper, .right-side {
- padding-top: 94px;
- }
- }
- }
- }
- .multipletab {
- #secondnav {
- display: block;
- }
- &.multiplenav {
- .content-wrapper, .right-side {
- padding-top: 94px;
- }
- #firstnav .nav-tabs {
- overflow: hidden;
- }
- }
- }
- .main-sidebar .sidebar-form {
- overflow: visible;
- .menuresult {
- z-index: 999;
- position: absolute;
- top: 34px;
- left: -1px;
- width: 100%;
- max-height: 250px;
- overflow: auto;
- margin: 0;
- border-top: none;
- border-top-left-radius: 0;
- border-top-right-radius: 0;
- a {
- display: block;
- background-color: #fff;
- border-top: 1px solid transparent;
- border-bottom: 1px solid #eee;
- padding: 10px 15px;
- color: #222d32;
- &:hover {
- background: #eee;
- }
- &:first-child {
- border-top: 1px solid #eee;
- }
- }
- }
- }
- .input-group .sp_result_area {
- width: 100%;
- }
- .sidebar-menu {
- &.show-submenu {
- .treeview-menu {
- display: block;
- }
- }
- > li .badge {
- margin-top: 0;
- }
- .treeview-menu > li > a {
- font-size: inherit;
- }
- }
- .sidebar-collapse {
- .user-panel > .image img {
- width: 25px;
- height: 25px;
- }
- }
- @media (min-width: 768px) {
- .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
- top: 42px;
- }
- .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > .pull-right-container {
- top: 7px !important;
- height: 17px;
- }
- }
- .fieldlist dd {
- display: block;
- margin: 5px 0;
- input {
- display: inline-block;
- width: 300px;
- }
- input:first-child {
- width: 110px;
- }
- ins {
- width: 110px;
- display: inline-block;
- text-decoration: none;
- font-weight: bold;
- }
- }
- /* 弹窗中的表单 */
- .form-layer {
- height: 100%;
- min-height: 150px;
- min-width: 300px;
- .form-body {
- width: 100%;
- overflow: auto;
- top: 0;
- position: absolute;
- z-index: 10;
- bottom: 50px;
- padding: 15px;
- }
- .form-footer {
- height: 50px;
- line-height: 50px;
- background-color: #ecf0f1;
- width: 100%;
- position: absolute;
- z-index: 200;
- bottom: 0;
- margin: 0;
- }
- .form-footer .form-group {
- margin-left: 0;
- margin-right: 0;
- }
- }
- #treeview {
- .jstree-container-ul .jstree-node {
- display: block;
- clear: both;
- }
- .jstree-leaf:not(:first-child) {
- float: left;
- background: none;
- margin-left: 0;
- min-width: 80px;
- clear: none;
- }
- .jstree-leaf {
- float: left;
- margin-left: 0;
- padding-left: 24px;
- min-width: 80px;
- clear: none;
- color: #777;
- }
- .jstree-leaf > .jstree-icon, .jstree-leaf .jstree-themeicon {
- display: none;
- }
- .jstree-last {
- background-image: url("../img/32px.png");
- background-position: -292px -4px;
- background-repeat: repeat-y;
- }
- .jstree-children {
- .clearfix();
- }
- .jstree-themeicon {
- display: none;
- }
- }
- /*去除bootstrap-table的边框*/
- .fixed-table-container {
- border: none !important;
- tbody .selected td {
- background-color: rgba(216, 224, 230, .5);
- }
- .bs-checkbox {
- min-width: 36px;
- }
- }
- /*修复nice-validator新版下的一处BUG*/
- .nice-validator {
- input, select, textarea, [contenteditable] {
- vertical-align: top;
- display: inline-block;
- *display: inline;
- *zoom: 1;
- }
- }
- /*修复nice-validator和summernote的编辑框冲突*/
- .nice-validator .note-editor .note-editing-area .note-editable {
- display: inherit;
- }
- /*预览区域*/
- .plupload-preview, .faupload-preview {
- padding: 0 10px;
- margin-bottom: 0;
- li {
- margin-top: 15px;
- }
- .thumbnail {
- margin-bottom: 10px;
- }
- a {
- display: block;
- &:first-child {
- height: 90px;
- }
- img {
- height: 80px;
- object-fit: cover;
- }
- }
- }
- .pjax-loader-bar .progress {
- position: fixed;
- top: 0;
- left: 0;
- height: 2px;
- background: #77b6ff;
- box-shadow: 0 0 10px rgba(119, 182, 255, 0.7);
- -webkit-transition: width 0.4s ease;
- transition: width 0.4s ease;
- }
- .dropdown-menu.text-left {
- a, li {
- text-align: left !important;
- }
- }
- .bootstrap-table .fixed-table-loading {
- padding: 10px 0;
- }
- .bootstrap-table .fixed-table-toolbar .dropdown-menu {
- overflow: auto;
- }
- .bootstrap-table .fa-toggle-on.fa-2x {
- font-size: 1.86em;
- }
- .bootstrap-table .form-commonsearch .form-group {
- margin-left: 0;
- margin-right: 0;
- white-space: nowrap;
- }
- .toolbar {
- margin-top: 10px;
- margin-bottom: 10px;
- }
- .fixed-table-toolbar .bs-bars, .fixed-table-toolbar .columns, .fixed-table-toolbar .search {
- line-height: inherit;
- }
- .fixed-table-toolbar .toolbar {
- margin-top: 0;
- margin-bottom: 0;
- }
- .bootstrap-table table tbody tr:first-child td .bs-checkbox {
- vertical-align: middle;
- }
- .bootstrap-table td.bs-checkbox {
- vertical-align: middle;
- }
- table.table-nowrap {
- tbody > tr > td, thead > tr > th {
- white-space: nowrap;
- }
- }
- .fixed-table-container thead th .sortable {
- padding-right: 0;
- }
- .dropdown-submenu {
- position: relative;
- > .dropdown-menu {
- overflow: auto;
- top: 0;
- left: 100%;
- margin-top: -6px;
- margin-left: -1px;
- .border-radius(0 6px 6px 6px);
- }
- &:hover {
- > .dropdown-menu {
- display: block;
- }
- > a:after {
- border-left-color: #fff;
- }
- }
- > a:after {
- display: block;
- content: " ";
- float: right;
- width: 0;
- height: 0;
- border-color: transparent;
- border-style: solid;
- border-width: 5px 0 5px 5px;
- border-left-color: #ccc;
- margin-top: 5px;
- margin-right: -10px;
- }
- &.pull-left {
- float: none;
- > .dropdown-menu {
- left: -100%;
- margin-left: 10px;
- .border-radius(6px 0 6px 6px);
- }
- }
- }
- /*重写toast的几个背景色*/
- .toast-primary {
- background-color: #48c9b0 !important;
- }
- .toast-success {
- background-color: #18bc9c !important;
- }
- .toast-error {
- background-color: #e74c3c !important;
- }
- .toast-info {
- background-color: #5dade2 !important;
- }
- .toast-warning {
- background-color: #f1c40f !important;
- }
- .toast-inverse {
- background-color: #34495e !important;
- }
- .toast-default {
- background-color: #bdc3c7 !important;
- }
- #toast-container {
- > div, > div:hover {
- .box-shadow(0 0 3px #eee);
- }
- }
- .layui-layer-fast {
- .layui-layer-title {
- background: #2c3e50 !important;
- color: #fff !important;
- border-bottom: none;
- height: 45px;
- line-height: 45px;
- //只有当包含layui-layer-title标题时才显示按钮
- ~ .layui-layer-setwin {
- top: 0px;
- height: 45px;
- > a {
- height: 45px;
- line-height: 45px;
- display: inline-block;
- }
- }
- }
- &.layui-layer-border {
- border: none !important;
- box-shadow: 1px 1px 50px rgba(0, 0, 0, .3) !important;
- }
- &.layui-layer-iframe {
- //overflow:hidden!important;
- overflow: visible;
- }
- .layui-layer-moves {
- .box-sizing(content-box);
- }
- /*自定义底部灰色操作区*/
- .layui-layer-btn {
- text-align: center !important;
- padding: 10px !important;
- background: #ecf0f1;
- overflow: hidden;
- a {
- background-color: #95a5a6;
- border-color: #95a5a6;
- color: #fff !important;
- height: 31px;
- margin-top: 0;
- border: 1px solid transparent;
- }
- .layui-layer-btn0 {
- background-color: #18bc9c;
- border-color: #18bc9c;
- }
- }
- .layui-layer-footer {
- padding: 8px 20px;
- background-color: #ecf0f1;
- height: auto;
- text-align: inherit !important;
- }
- .layui-layer-confirm {
- position: absolute;
- width: 1px;
- height: 1px;
- left: 0;
- bottom: 0;
- border: none;
- background: transparent;
- }
- .layui-layer-tab .layui-layer-title span.layui-this {
- height:46px;
- }
- .layui-layer-setwin {
- > a {
- background: none !important;
- cite {
- display: none;
- }
- &:after {
- content: "\e625";
- font-family: iconfont;
- font-style: normal;
- font-weight: normal;
- text-decoration: inherit;
- position: absolute;
- font-size: 18px;
- color: #fff;
- margin: 0;
- z-index: 1;
- }
- &:hover {
- text-decoration: none !important;
- background: none !important;
- }
- &:focus {
- text-decoration: none !important;
- }
- }
- .layui-layer-min {
- display: none;
- &:after {
- content: "\e625";
- }
- }
- .layui-layer-max {
- display: none;
- &:after {
- content: "\e623";
- }
- }
- .layui-layer-maxmin {
- display: none;
- &:after {
- content: "\e624";
- }
- }
- .layui-layer-close1 {
- &:after {
- content: "\e626";
- }
- }
- //样式二关闭按钮
- .layui-layer-close2, .layui-layer-close2:hover {
- background: url('../libs/fastadmin-layer/dist/theme/default/icon.png') no-repeat -149px -31px !important;
- top: -30px;
- right: -30px;
- &:after {
- display: none;
- }
- }
- }
- }
- .layui-layer-content {
- clear: both;
- }
- .layui-layer-fast-msg {
- min-width: 100px;
- }
- .layui-layer-fast-tab {
- .layui-layer-title {
- .layui-this {
- color: #333;
- }
- }
- .layui-layer-content {
- .layui-layer-tabmain {
- margin: 0;
- padding: 0;
- }
- }
- }
- .input-group > .msg-box.n-right {
- position: absolute;
- }
- @media (min-width: 564px) {
- body.is-dialog .daterangepicker {
- min-width: 130px;
- }
- body.is-dialog .daterangepicker .ranges ul {
- width: 130px;
- }
- }
- /*手机版样式*/
- @media (max-width: @screen-phone) {
- #firstnav {
- .nav-addtabs {
- //display: none;
- }
- .navbar-custom-menu {
- ul li a {
- padding-left: 10px;
- padding-right: 10px;
- }
- }
- .navbar-nav > .user-menu .user-image {
- margin-top: -3px;
- }
- }
- .fixed-table-toolbar {
- > .bs-bars {
- float: none !important;
- }
- .toolbar {
- a.btn-refresh, a.btn-del, a.btn-add, a.btn-edit, a.btn-import, a.btn-more, a.btn-recyclebin, .btn-mini-xs {
- font-size: 0;
- .fa {
- font-size: initial;
- }
- }
- }
- .search {
- max-width: 110px;
- float: left !important;
- }
- }
- .fixed .content-wrapper, .fixed .right-side {
- padding-top: 50px;
- }
- .main-sidebar, .left-side {
- padding-top: 144px;
- }
- }
- /*平板样式*/
- @media (max-width: @screen-xs-max) {
- .wrapper .main-header .logo {
- border-bottom: 0 solid transparent;
- position: absolute;
- top: 0;
- z-index: 1200;
- width: 130px;
- left: 50%;
- margin-left: -65px;
- }
- .sidebar .mobilenav a.btn-app {
- color: #444;
- width: 100px;
- height: 70px;
- font-size: 13px;
- border: none;
- background: #fff;
- i.fa {
- font-size: 24px;
- display: inline-block;
- }
- span {
- margin-top: 5px;
- display: block;
- }
- &.active {
- color: #222d32;
- }
- }
- .wrapper .main-header .navbar .dropdown-menu li {
- > a {
- color: #333;
- &:hover {
- background: #eee;
- }
- }
- &.active > a {
- color: #fff;
- &:hover {
- background: #222d32
- }
- }
- }
- .main-sidebar, .left-side {
- padding-top: 50px;
- }
- .multipletab.multiplenav {
- .main-sidebar {
- padding-top: 95px;
- }
- }
- .n-bootstrap {
- .n-right {
- margin-top: 0;
- top: -20px;
- position: absolute;
- left: 0;
- text-align: right;
- width: 100%;
- .msg-wrap {
- position: relative;
- }
- }
- .col-xs-12 > .n-right {
- .msg-wrap {
- margin-right: 15px;
- }
- }
- }
- }
- /*修复radio和checkbox样式对齐*/
- .radio, .checkbox {
- > label {
- margin-right: 10px;
- > input {
- margin: 2px 0 0;
- }
- }
- }
- .wipecache li a {
- color: #444444 !important;
- }
- /*修正开关关闭下的颜色值*/
- .btn-switcher {
- &.disabled {
- opacity: .6;
- cursor: not-allowed;
- }
- .text-gray {
- color: #d2d6de !important;
- }
- }
- .jumpto input {
- height: 31px;
- width: 50px;
- margin-left: 5px;
- margin-right: 5px;
- text-align: center;
- display: inline-block;
- }
- .fixed-columns, .fixed-columns-right {
- position: absolute;
- top: 0;
- height: 100%;
- min-height: 41px;
- background-color: #fff;
- box-sizing: border-box;
- z-index: 2;
- box-shadow: 0 -1px 8px rgba(0, 0, 0, .08);
- .fixed-table-body {
- min-height: 41px;
- overflow-x: hidden !important
- }
- }
- .fixed-columns {
- left: 0;
- }
- .fixed-columns-right {
- right: 0;
- box-shadow: -1px 0 8px rgba(0, 0, 0, .08);
- }
- .fix-sticky {
- position: fixed;
- z-index: 100;
- thead {
- background: #fff;
- th, th:first-child {
- border-left: 0;
- border-right: 0;
- border-bottom: 1px solid #eee;
- border-radius: 0;
- }
- }
- }
- .sidebar-menu li.treeview-open > a > .fa-angle-left, .sidebar-menu li.treeview-open > a > .pull-right-container > .fa-angle-left {
- -webkit-transform: rotate(-90deg);
- -ms-transform: rotate(-90deg);
- -o-transform: rotate(-90deg);
- transform: rotate(-90deg);
- }
|