12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001 |
- @import (reference) "bootstrap-less/mixins.less";
- @import (reference) "bootstrap-less/variables.less";
- @import "lesshat.less";
- @import url("../css/bootstrap.css");
- @import url("../css/fastadmin.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");
- @import "tinycss.less";
- @primary-color: #007bff;
- //@primary-color: #2d76d9;
- @input-min-height: 33px;
- .clearfix() {
- &:before,
- &:after {
- content: " ";
- display: table;
- }
- &:after {
- clear: both;
- }
- }
- html,
- body {
- height: 100%;
- }
- body {
- padding-top: 60px;
- font-size: 14px;
- background: #f4f6f8;
- height: 100%;
- line-height: 1.5715;
- -webkit-font-smoothing: antialiased;
- text-rendering: optimizeLegibility;
- -moz-osx-font-smoothing: grayscale;
- font-feature-settings: 'liga';
- -webkit-text-size-adjust: 100%;
- font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Source Han Sans CN, sans-serif;
- font-weight: 400;
- color: #616161;
- }
- a {
- color: @primary-color;
- &:hover, &:focus {
- color: @primary-color;
- }
- }
- .navbar-white {
- background-color: #fff;
- border-color: #fff;
- box-shadow: 0 1px 8px rgba(0, 0, 0, .08);
- .dropdown-menu {
- border-radius: 5px;
- //box-shadow: 0 1px 8px rgba(0, 0, 0, .08);
- .box-shadow(0px 20px 30px rgba(83, 88, 93, 0.05), 0px 0px 30px rgba(83, 88, 93, 0.1));
- }
- }
- @media (min-width: 768px) {
- .navbar-default {
- .navbar-brand {
- height: 60px;
- line-height: 27px;
- }
- .navbar-nav {
- > li > a {
- height: 60px;
- line-height: 27px;
- }
- }
- }
- .navbar-white {
- .navbar-brand {
- height: 60px;
- line-height: 27px;
- }
- }
- .navbar-white .navbar-nav {
- > li > a {
- height: 60px;
- line-height: 27px;
- color: #555;
- &:hover, &:focus {
- color: @primary-color;
- }
- }
- > .active > a {
- &, &:hover, &:focus {
- background-color: inherit;
- color: @primary-color;
- }
- }
- }
- }
- @media (max-width: 768px) {
- body {
- padding-top: 50px;
- }
- .navbar-white {
- .navbar-nav .open .dropdown-menu {
- background: #eee;
- }
- .navbar-toggle {
- border-color: #ddd;
- .icon-bar {
- background-color: #888;
- }
- }
- .navbar-collapse.in {
- border-top-color: #f5f5f5;
- }
- }
- }
- #header-navbar {
- .dropdown:hover .dropdown-menu {
- display: block;
- margin-top: 0;
- }
- li.dropdown ul.dropdown-menu {
- min-width: 100px;
- }
- }
- .navbar {
- border: none;
- }
- .navbar-nav {
- > li > a {
- font-size: 14px;
- }
- }
- .dropdown-menu {
- > li > a {
- font-size: 14px;
- padding: 5px 20px;
- }
- }
- .dropdown-menu {
- border-radius: 2px;
- border: 0px;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
- padding: 5px 0px;
- li a {
- padding-top: 10px !important;
- padding-bottom: 10px;
- }
- }
- .dropdown-menu > li > a {
- font-weight: 400;
- color: #444;
- padding: 5px 15px;
- padding-bottom: 10px;
- &:hover, &:focus {
- text-decoration: none;
- color: #777;
- background: rgba(0, 0, 0, 0.05);
- }
- }
- .toast-top-center {
- top: 60px;
- }
- #toast-container > div {
- .box-shadow(none);
- }
- /*修复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: 10px;
- }
- .thumbnail {
- margin-bottom: 10px;
- }
- a {
- display: block;
- &:first-child {
- height: 90px;
- }
- img {
- height: 80px;
- object-fit: cover;
- }
- }
- }
- .layui-layer-content {
- clear: both;
- }
- .layui-layer-fast {
- .layui-layer-content {
- > table.table {
- margin-bottom: 0;
- }
- }
- .layui-layer-confirm {
- display: none;
- position: absolute;
- width: 100%;
- height: 100%;
- left: 0;
- bottom: 0;
- border: 1px solid transparent;
- background: transparent;
- color: transparent;
- &:focus {
- border: 1px solid #444c69;
- .border-radius(2px);
- }
- &:focus-visible {
- outline: 0;
- }
- }
- }
- .layui-layer-fast-msg {
- min-width: 100px;
- border-radius: 2px;
- }
- .input-group > .msg-box.n-right {
- position: absolute;
- }
- .bootstrap-select {
- .status {
- background: #f0f0f0;
- clear: both;
- color: #999;
- font-size: 12px;
- font-weight: 500;
- line-height: 1;
- margin-bottom: -5px;
- padding: 10px 20px;
- }
- .msg-box {
- position: absolute;
- right: 0;
- top: 0;
- }
- .bs-placeholder {
- min-height: @input-min-height;
- }
- min-height: @input-min-height;
- }
- select.bs-select-hidden, select.selectpicker {
- display: inherit !important;
- max-height: @input-min-height;
- 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;
- }
- }
- }
- min-height: @input-min-height;
- }
- /*修复radio和checkbox样式对齐*/
- .radio, .checkbox {
- > label {
- margin-right: 10px;
- > input {
- margin: 5px 0 0;
- }
- }
- }
- form.form-horizontal .control-label {
- font-weight: normal;
- }
- .panel-default {
- padding: 0 15px;
- border: none;
- .box-shadow(none);
- > .panel-heading {
- position: relative;
- font-size: 16px;
- padding: 15px 0;
- background: #fff;
- border-bottom: 1px solid #f5f5f5;
- }
- h2.page-header {
- margin-top: 0;
- height: 50px;
- line-height: 31px;
- font-size: 18px;
- padding: 10px 0;
- border-bottom: 1px solid #f5f5f5;
- }
- > .panel-heading {
- .panel-title {
- color: #313131;
- > i {
- display: none;
- }
- }
- .more {
- position: absolute;
- top: 13px;
- right: 0;
- display: block;
- color: #919191;
- .transition(all 0.3s ease);
- }
- .more:hover {
- color: #616161;
- .transition(all 0.3s ease);
- }
- .panel-bar {
- position: absolute;
- top: 7px;
- right: 0;
- display: block;
- }
- }
- }
- @media (max-width: 767px) {
- .panel-default {
- padding: 0 10px;
- > .panel-heading {
- padding: 10px 0;
- .more {
- top: 8px;
- }
- }
- }
- > .panel-body {
- position: relative;
- padding: 15px 0;
- }
- > .panel-footer {
- padding: 15px 0;
- background: none;
- }
- }
- .panel-gray {
- .box-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
- > .panel-heading {
- background-color: #f5f5f5;
- color: #919191;
- }
- > .panel-body {
- color: #919191;
- background: #fff;
- border-bottom-left-radius: 4px;
- border-bottom-right-radius: 4px;
- }
- }
- .panel-page {
- padding: 45px 50px 50px;
- min-height: 500px;
- .panel-heading {
- background: transparent;
- border-bottom: none;
- margin: 0 0 30px 0;
- padding: 0;
- h2 {
- font-size: 25px;
- margin-top: 0;
- }
- }
- }
- @media (max-width: 767px) {
- .panel-page {
- padding: 15px;
- min-height: 300px;
- }
- .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;
- }
- }
- }
- }
- .nav-pills > li {
- margin-right: 5px;
- > a {
- padding: 10px 15px;
- color: #616161;
- .transition(all 0.3s ease);
- &:hover {
- .transition(all 0.3s ease);
- background-color: #f5f5f5;
- }
- }
- &.active > a {
- border: none;
- color: #fff;
- background: @primary-color;
- .transition(all 0.3s ease);
- border-radius: 3px;
- }
- }
- .nav-pills.nav-pills-sm > li > a {
- font-size: 12px;
- line-height: 1.5;
- padding: 4px 13px;
- }
- .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;
- }
- }
- /* 弹窗中的表单 */
- .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;
- }
- }
- footer.footer {
- width: 100%;
- color: #aaa;
- background: #555;
- margin-top: 25px;
- .copyright {
- line-height: 50px;
- text-align: center;
- background: #393939;
- margin: 0;
- a {
- color: #aaa;
- &:hover {
- color: #fff;
- }
- }
- }
- }
- .rotate {
- .transition-duration(0.8s);
- .transition-property(transform);
- overflow: hidden;
- &:hover {
- .transform(rotate(360deg));
- }
- }
- .user-section {
- background: #fff;
- padding: 15px;
- margin-bottom: 20px;
- .border-radius(4px);
- }
- .login-section {
- margin: 50px auto;
- width: 460px;
- .border-radius(0);
- &.login-section-weixin {
- min-height: 315px;
- }
- .logon-tab {
- margin: -15px -15px 0 -15px;
- > a {
- display: block;
- padding: 20px;
- float: left;
- width: 50%;
- font-size: 16px;
- text-align: center;
- color: #616161;
- background-color: #efefef;
- .transition(all 0.3s ease);
- &:hover {
- background-color: #fafafa;
- .transition(all 0.3s ease);
- }
- &.active {
- background-color: #fff;
- .transition(all 0.3s ease);
- }
- }
- }
- .login-main {
- padding: 40px 45px 20px 45px;
- }
- }
- .login-section, .form-section {
- .n-bootstrap {
- .controls {
- position: relative;
- }
- .input-group {
- position: inherit;
- }
- .n-right {
- margin-top: 0;
- top: -20px;
- position: absolute;
- left: 0;
- text-align: right;
- width: 100%;
- .msg-wrap {
- position: relative;
- }
- }
- }
- }
- main.content {
- width: 100%;
- overflow: auto;
- padding: 15px;
- padding-top: 20px;
- min-height: calc(~ '100vh - 135px');
- }
- .sidenav {
- padding: 20px 0 10px 0;
- margin-bottom: 20px;
- background-color: #fff;
- .list-group {
- &:last-child {
- margin-bottom: 0;
- }
- .list-group-heading {
- list-style-type: none;
- color: #919191;
- margin-bottom: 10px;
- margin-left: 35px;
- font-size: 14px;
- }
- .list-group-item {
- .border-radius(0);
- border: none;
- padding: 0;
- border-left: 2px solid transparent;
- &:last-child, &:first-child {
- .border-radius(0);
- }
- &:hover {
- border-left: 2px solid rgba(245, 245, 245, 0.38);
- background-color: rgba(245, 245, 245, 0.38);
- }
- > a {
- display: block;
- color: #616161;
- padding: 10px 15px 10px 35px;
- }
- &.active {
- border-left: 2px solid @primary-color;
- background-color: rgba(245, 245, 245, 0.38);
- > a {
- color: @primary-color;
- }
- }
- }
- }
- }
- .nav li {
- .avatar-text, .avatar-img {
- height: 30px;
- width: 30px;
- line-height: 30px;
- font-size: 14px;
- }
- .avatar-img {
- font-size: 0;
- img {
- border-radius: 30px;
- width: 30px;
- height: 30px;
- }
- }
- }
- .avatar-text, .avatar-img {
- display: inline-block;
- box-sizing: content-box;
- color: #fff;
- text-align: center;
- vertical-align: top;
- background-color: #e8ecf3;
- font-weight: normal;
- width: 48px;
- height: 48px;
- border-radius: 48px;
- font-size: 24px;
- line-height: 48px;
- }
- .avatar-img {
- font-size: 0;
- img {
- border-radius: 48px;
- width: 48px;
- height: 48px;
- }
- }
- @media (max-width: 767px) {
- main.content {
- position: inherit;
- padding: 15px 0;
- }
- .login-section {
- width: 100%;
- margin: 20px auto;
- .login-main {
- padding: 20px 0 0 0;
- }
- }
- footer.footer {
- position: inherit;
- .copyright {
- padding: 10px;
- line-height: 30px;
- }
- }
- }
- .pager {
- .pagination {
- margin: 0;
- }
- li {
- margin: 0 .4em;
- display: inline-block;
- &:first-child, &:last-child {
- > a, > span {
- padding: .5em 1.2em;
- }
- }
- }
- }
- .pager li > a, .pager li > span {
- background: none;
- border: 1px solid #e6e6e6;
- border-radius: 0.25em;
- padding: .5em .93em;
- font-size: 14px;
- }
- .jumpto input {
- 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);
- }
- .bootstrap-tagsinput {
- background-color: #fff;
- border: 1px solid #ccc;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- display: inline-block;
- padding: 4px 6px;
- //margin-bottom: 10px;
- color: #555;
- vertical-align: middle;
- //border-radius: 4px;
- //max-width: 100%;
- width: 100%;
- line-height: 22px;
- cursor: text;
- input {
- border: none;
- box-shadow: none;
- outline: none;
- background-color: transparent;
- padding: 0;
- margin: 0;
- font-size: 13px;
- //width: auto !important;
- width: 80px;
- max-width: inherit;
- &:focus {
- border: none;
- box-shadow: none;
- }
- }
- .tagsinput-text {
- display: inline-block;
- overflow: auto;
- visibility: hidden;
- height: 1px;
- position: absolute;
- bottom: -1px;
- left: 0;
- }
- .tag {
- margin-right: 2px;
- color: white;
- [data-role="remove"] {
- margin-left: 5px;
- cursor: pointer;
- &:after {
- content: "x";
- padding: 0px 2px;
- }
- &:hover {
- background-color: rgba(255, 255, 255, .16);
- }
- }
- }
- }
- .autocomplete-suggestions {
- border-radius: 2px;
- background: #FFF;
- overflow: auto;
- min-width: 200px;
- .box-shadow(0px 20px 30px rgba(83, 88, 93, 0.05), 0px 0px 30px rgba(83, 88, 93, 0.1));
- strong {
- font-weight: normal;
- color: red;
- }
- .autocomplete-suggestion {
- padding: 5px 10px;
- white-space: nowrap;
- overflow: hidden;
- }
- .autocomplete-selected {
- background: #F0F0F0;
- }
- .autocomplete-group {
- padding: 5px 10px;
- strong {
- display: block;
- border-bottom: 1px solid #ddd;
- }
- }
- }
- .autocontent {
- position: relative;
- .autocontent-caret {
- position: absolute;
- right: 0;
- top: 0;
- height: 100%;
- line-height: 1;
- background: #eee;
- color: #ddd;
- vertical-align: middle;
- padding: 0 5px;
- display: flex;
- justify-content: center;
- align-items: center;
- cursor: pointer;
- &:hover {
- color: #ccc;
- }
- }
- }
|