You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/WebMVC/wwwroot/css/site.css

174 lines
2.9 KiB

img.logo {
float: left;
margin-left: .8rem;
margin-right: .5rem;
max-height: 33px;
width: auto;
object-fit: contain;
}
.nav-header {
padding: .5rem !important;
}
.navbar-nav .nav-link.active {
color: #fff !important;
background-color: #007bff;
border-radius: 4px;
}
.nav-treeview .nav-item {
padding-left: 2em;
}
.field-validation-error {
line-height: 1em;
}
.field-validation-error::before {
font-family: 'Font Awesome 5 Free';
content: "\f057";
}
img.pointer {
cursor: pointer;
height: 32px;
width: 32px;
}
th {
white-space: nowrap;
}
.validation-summary-errors ul {
color: red;
padding-left: 0;
}
.validation-summary-errors li {
list-style: none;
}
.field-validation-valid, .field-validation-error {
color: red;
padding-right: 1px;
}
.field-validation-error:before {
font-family: 'Font Awesome 5 Free';
content: "\f057";
}
.fancybox img.thumbnail, td .fancybox img, .form-control .fancybox img {
max-width: 30px;
max-height: 30px;
}
.ke-container {
width: 100% !important;
}
.form-control-display {
border: none;
padding-left: 0;
height: auto !important;
min-height: 34px;
}
h1 {
font-size: 1.5rem;
margin:1rem 0 0 0;
}
.breadcrumb.float-sm-right{
background-color:transparent;
}
.select2-container--bootstrap4 .select2-results > .select2-results__options {
max-height: 400px;
}
.select2-selection.select2-selection--single {
padding-left: 0.75rem;
}
.select2-container--bootstrap4 .select2-selection--single .select2-selection__placeholder {
color: #495057;
}
label.col-form-label {
text-align: right;
overflow: hidden;
}
img.icon {
height: 48px;
width: 48px;
margin:0 auto;
}
img.pointer {
cursor: pointer;
height: 32px;
width: 32px;
margin: 8px auto;
}
.card-body.device{
padding:10px;
}
.h48{
width:100%;
height:48px;
line-height:48px;
margin:0 auto;
overflow:hidden;
}
.h24 {
width: 100%;
height: 24px;
line-height: 24px;
margin: 0 auto;
overflow: hidden;
}
.ant-tree-switcher-line-icon {
line-height:14px;
vertical-align: text-top;
}
/*device*/
.device .icon{
width:48px;
height:48px;
}
.device-container {
min-width: 320px;
}
.device-component {
box-sizing: border-box;
height: 150px;
margin: 10px;
}
.device-image{
width:48px;
height:48px;
}
.device-component .status {
font-size: 28px;
}
.device-component .card-tools .ion {
font-size: 16px!important;
}
.device-component .card-body {
padding:10px;
min-width:270px;
}
.device-component .card-body > .row {
height: 100%;
width: 270px;
margin: 0 auto;
}
.device-component .card-body .row span{
line-height:24px;
display:inline-block;
}
.device-component .card-body span img {
height:24px;
display:inline;
}
.ant-modal-body{
text-align:center;
}