mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
去除自定义表格样式
This commit is contained in:
parent
18e873e602
commit
fdb46146bf
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -260,125 +260,33 @@ label.think-radio, label.think-checkbox {
|
||||
}
|
||||
|
||||
.layui-table {
|
||||
border-width: 0;
|
||||
border-color: @borderColor;
|
||||
border-radius: @borderRadius;
|
||||
border-collapse: separate;
|
||||
font-size: 12px;
|
||||
|
||||
&[lay-skin='nob'] {
|
||||
tr {
|
||||
td, th {
|
||||
border-width: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
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;
|
||||
|
||||
&[lay-skin='line'] {
|
||||
border-width: 0;
|
||||
border-color: @borderColor;
|
||||
|
||||
tr {
|
||||
td:first-child, th:first-child {
|
||||
border-left-width: 1px;
|
||||
}
|
||||
> img {
|
||||
width: 110%;
|
||||
height: 110%;
|
||||
max-width: 110%;
|
||||
max-height: 110%;
|
||||
margin: -5% 0 0 -5%;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
& + * {
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
|
2
vendor/services.php
vendored
2
vendor/services.php
vendored
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
// This file is automatically generated at:2020-10-29 14:53:08
|
||||
// This file is automatically generated at:2020-10-29 15:46:47
|
||||
declare (strict_types = 1);
|
||||
return array (
|
||||
0 => 'think\\admin\\Library',
|
||||
|
Loading…
x
Reference in New Issue
Block a user