*{ /* 设置宽度的计算方法 */ /* -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -webkit-transition: background 200ms; -moz-transition: background 200ms; -ms-transition: background 200ms; -o-transition: background 200ms; transition: background 200ms; */ /* background: rgba(0, 0, 0, .1); */ /* 设置超出内容自动换行 */ word-wrap: break-word; word-break: break-all; /* overflow: inherit; */ } img { display: block; /* 最大宽度不能超过母元素 */ max-width: 100%; border-radius: 3px; } .itm{ width: 25px !important; background-color:white; border: none; } .navbar { margin-bottom: 0px; width: 100%; } .container { width: 1800px !important; /* overflow:scroll; */ } .row{ text-align: center; height: 80%; } .tr_active{ background-color: white;; } .filter{ width: 100%; height: 40px; line-height: 30px; margin-bottom: 0px; border-bottom:solid 1px rgb(83, 78, 78); } .table{ font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 14px; color: #2c3a46; } input,select{ width: 150px !important; height: 25px; line-height: inherit; } select{ width: 80px !important; } table .save{ width: 50px !important; } label{ margin-left: 30px; } .container .save{ background-color: white; } .container .save:hover { background-color: rgb(233, 224, 224); } .navbar-brand{ width: 60px; background-image: url(../img/logo.png); background-repeat: no-repeat; background-size: 60%; background-position: center center; } .side-bar .list-group-item{ /* 设置边框 */ border: 0px; border-radius: 3px; margin: 5px; } /* 设置激活状态下的颜色 */ .side-bar .active{ background-color: #ea0c3c ; } /* 设置外边距 */ .news-list-item{ padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid #eee; } /* 设置第一个元素外边距无 */ .news-list-item:first-child{ padding-top: 0px; } .news-list-item .title{ display: block; /* 去除下划线 */ text-decoration: none; font-size: 8px; font-weight: bold; padding-bottom:10px ; line-height: 1.5; color:#ea0c3c; } .news-list-item .title:hover{ color:#999; } .news-list-item .info{ color: #999; } .news-list-item .avatar{ display: inline-block; } .news-list-item .avatar img{ display: inline-block; width: 16px; height: 16px; margin-right: 5px; } .side-bar-card{ background: rgb(0, 0,0, .05); margin-top: 15px; } .side-bar-card .flag{ margin-top: 20px; } .side-bar-card .text-lg{ font-size: 100%; font-weight: bold; padding-top: 8px; } .side-bar-card .card-title, .side-bar-card .card-body .list .item { padding:10px 15px; } .side-bar-card .card-title { font-size: 17px; font-weight: bold; padding-top: 10px; padding-bottom: 0; } .side-bar-card .card-body .list .item{ font-size: 12px; } .side-bar-card .card-body .list .desc{ font-size: 5px; color: #999; } .side-bar-card .card-body .list .item:hover { background: rgba(0, 0, 0 ,.05); } .news-title{ line-height: 1.3; } .news-status{ color: #999; } .news-status .label{ opacity: 0.8; } .news-contents{ margin-top: 20px; font-size: 15px; line-height: 1.5; } .news-contents img{ margin-top: 10px; margin-bottom: 10px; } .on-padding-h{ padding-left: 0px; padding-right: 0px; } .footer{ margin-top: 20px; padding: 20px 0; /* 设置文字垂直居中 */ text-align: center; } .container-small { max-width: 500px; margin: 0 auto; } .btn-primary { background-color: #ea0c3c; border-color: #ea0c3c; } .btn-primary:hover, .btn-primary.focus, .btn-primary:focus, .btn-primary.active, .btn-primary:active, .open>.dropdown-toggle.btn-primary, .btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open>.dropdown-toggle.btn-primary.focus, .open>.dropdown-toggle.btn-primary:focus, .open>.dropdown-toggle.btn-primary:hover { background-color: #d00e38; border-color: #d00e38; } /* 设置#toggle-checkbox此div当状态为checked时里面所有的div的内容隐藏 */ #toggle-checkbox:checked ~ div{ /* !important用于设置最高权重 */ display: block !important; } /* 当屏幕为大尺寸时不显示此元素 */ #toggle-label{ display: inline-block; position: absolute; right: 7px; top: 15px; display: none; } .filtrate{ margin: 5px 5px; height: 35px; line-height: 35px; width: 140px !important; } .filtrate_w{ margin: 5px 5px; height: 35px; line-height: 35px; width: 80px; text-align: right; } /* 设置底部 */ .footer { margin-top: 0; padding: 0; text-align: center; } input[type="checkbox"] { width:20px !important; height: 20px !important; }