123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443 |
- @import "console.dynamic.less";
- fieldset {
- margin: 0 0 10px 0;
- border: 1px solid @borderColor;
- padding: 10px 20px 5px 20px;
- background: #fff;
- border-radius: @borderRadius;
- legend {
- color: #666;
- padding: 0 10px;
- font-size: 13px;
- }
- }
- .layui-tab, .layui-card {
- overflow: hidden;
- border-radius: @borderRadius;
- }
- .layui-tab {
- > .layui-tab-content {
- padding: 20px;
- background: #fff;
- }
- }
- .layui-card {
- > .layui-card-header {
- padding: 0 20px;
- }
- > .layui-card-body {
- padding: 20px;
- }
- }
- .layui-code {
- border-radius: @borderRadius;
- }
- .layui-btn {
- border: 1px solid #009688;
- &-warm {
- border: 1px solid #FFB800;
- }
- &-danger {
- border: 1px solid #FF5722;
- }
- &-normal {
- border: 1px solid #1E9FFF;
- }
- &-disabled {
- border: 1px solid @borderColor;
- }
- &-group {
- overflow: hidden;
- line-height: 28px;
- border-radius: @borderRadius;
- background: #009688;
- border: 1px solid #009688 !important;
- + .layui-btn {
- margin-left: 8px;
- }
- .layui-btn {
- height: 28px;
- line-height: 28px;
- border-width: 0 !important;
- + .layui-btn {
- margin-left: 1px !important;
- }
- &-primary:hover {
- border-color: #009688;
- }
- }
- }
- .layui-icon {
- float: left;
- margin-right: 5px;
- }
- & + .layui-btn {
- margin-left: 8px;
- }
- }
- .layui-badge {
- margin-right: 5px;
- &-middle {
- width: 1em;
- height: auto;
- padding: 5px;
- white-space: normal;
- vertical-align: middle;
- }
- }
- /*! 搜索表单样式 */
- .form-search {
- .layui-btn {
- height: 32px;
- padding: 0 10px;
- font-size: 13px;
- line-height: 32px;
- .layui-icon {
- font-size: 15px
- }
- }
- .layui-form-label {
- width: auto !important;
- height: 32px;
- padding: 0 8px;
- line-height: 32px
- }
- .layui-input-inline {
- width: 170px;
- input, select {
- width: 100%;
- height: 32px;
- padding: 0 8px;
- line-height: 32px
- }
- }
- .layui-form-select dl {
- top: 31px;
- padding: 0
- }
- }
- /* 表单验证异常提示 */
- .label-required {
- &-prev:before {
- width: 1em;
- color: red;
- content: '*';
- display: inline-block;
- position: absolute;
- text-align: left;
- font-weight: 700;
- line-height: 1.6em;
- margin-left: -0.8em;
- }
- &:after, &-next:after {
- top: 6px;
- right: 5px;
- color: red;
- content: '*';
- position: absolute;
- margin-left: 4px;
- font-weight: 700;
- line-height: 1.8em
- }
- &-null:before {
- content: none !important
- }
- }
- .layui-input, .layui-select {
- line-height: 38px
- }
- .layui-form-checkbox.layui-form-checked {
- i {
- border-color: #5FB878;
- }
- }
- label.think-radio, label.think-checkbox {
- cursor: pointer;
- margin-right: 10px;
- display: inline-block;
- }
- .think-radio, .think-checkbox {
- margin-top: 10px;
- font-weight: 400;
- line-height: 18px;
- input[type=radio], input[type=checkbox] {
- width: 18px;
- height: 18px;
- cursor: pointer;
- border: 1px solid @borderColor;
- position: relative;
- background: #fff;
- margin-right: 5px;
- vertical-align: bottom;
- display: inline-block !important;
- box-sizing: border-box !important;
- appearance: none;
- -webkit-appearance: none;
- &:checked {
- border-color: #009688;
- &:after {
- display: block;
- position: relative;
- animation-duration: .3s;
- -webkit-animation-duration: .3s;
- animation-fill-mode: both;
- -webkit-animation-fill-mode: both;
- animation-name: layui-scale-spring;
- -webkit-animation-name: layui-scale-spring;
- }
- }
- }
- input[type=radio] {
- border-radius: 1em;
- &:checked:after {
- top: 4px;
- left: 4px;
- width: 8px;
- height: 8px;
- cursor: pointer;
- content: '';
- background: #009688;
- border-radius: 1em;
- }
- }
- input[type=checkbox] {
- border-radius: 1px;
- &:checked:after {
- color: #009688;
- cursor: pointer;
- padding: 2px;
- content: "\e605";
- font-size: 12px;
- font-style: normal;
- font-weight: 700;
- font-family: layui-icon !important;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale
- }
- }
- }
- .layui-table {
- overflow: hidden;
- border-width: 0;
- border-color: @borderColor;
- border-radius: @borderRadius;
- border-collapse: separate;
- &[lay-skin='nob'] {
- tr {
- td, th {
- border-width: 0;
- }
- }
- }
- &[lay-skin='line'] {
- border-width: 0;
- border-color: @borderColor;
- tr {
- td:first-child, th:first-child {
- border-left-width: 1px;
- }
- }
- tr:last-child {
- th, td {
- border-bottom-width: 1px;
- }
- }
- }
- tr {
- td, th {
- font-size: 12px;
- border-color: #E9E9E9;
- border-width: 0 0 1px 1px;
- div.headimg {
- width: 35px;
- height: 35px;
- border: 1px solid @borderColor;
- display: inline-block;
- overflow: hidden;
- text-align: center;
- margin-right: 5px;
- border-radius: 50%;
- vertical-align: middle;
- box-shadow: @minShadow;
- background-size: cover;
- background-repeat: no-repeat;
- background-position: center center;
- > img {
- width: 110%;
- height: 110%;
- max-width: 110%;
- max-height: 110%;
- margin: -5% 0 0 -5%;
- }
- & + * {
- vertical-align: middle;
- }
- }
- &:last-child, &:last-child {
- border-right-width: 1px;
- border-right-color: @borderColor;
- }
- &:first-child, &:first-child {
- border-left-width: 1px;
- border-left-color: @borderColor;
- }
- }
- }
- tr:first-child {
- th, td {
- border-top-width: 1px;
- border-top-color: @borderColor;
- &:last-child {
- border-top-right-radius: @borderRadius;
- }
- &:first-child {
- border-top-left-radius: @borderRadius;
- }
- }
- }
- tr:last-child {
- th, td {
- border-bottom-width: 1px;
- border-bottom-color: @borderColor;
- }
- td {
- &:last-child {
- border-bottom-right-radius: @borderRadius;
- }
- &:first-child {
- border-bottom-left-radius: @borderRadius;
- }
- }
- }
- thead + tbody tr:first-child {
- th, td {
- border-top-width: 0;
- &:last-child {
- border-top-right-radius: 0;
- }
- &:first-child {
- border-top-left-radius: 0;
- }
- }
- }
- .list-table-sort-td {
- width: 10px !important;
- text-align: center !important;
- padding-left: 5px !important;
- padding-right: 5px !important;
- button {
- width: 56px;
- background: #009688
- }
- input {
- width: 50px;
- color: #666;
- padding: 2px;
- font-size: 9pt;
- border: 1px solid @borderColor;
- text-align: center;
- line-height: 18px
- }
- }
- .list-table-check-td {
- width: 10px !important;
- text-align: center !important;
- padding-left: 15px !important;
- padding-right: 15px !important;
- input {
- margin: 0 !important;
- vertical-align: middle
- }
- }
- }
- .layui-layer-content {
- .layui-form.layui-card {
- margin: 0;
- .layui-card-body {
- padding: 20px 40px 0 0;
- }
- }
- }
- .layui-layer-dialog {
- .layui-layer-content {
- .layui-layer-ico {
- top: 50% !important;
- margin-top: -15px !important
- }
- }
- }
- .laydate-footer-btns {
- span {
- line-height: 24px !important
- }
- }
|