css.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. *{
  2. /* 设置宽度的计算方法 */
  3. /* -webkit-box-sizing: border-box;
  4. -moz-box-sizing: border-box;
  5. box-sizing: border-box;
  6. -webkit-transition: background 200ms;
  7. -moz-transition: background 200ms;
  8. -ms-transition: background 200ms;
  9. -o-transition: background 200ms;
  10. transition: background 200ms; */
  11. /* background: rgba(0, 0, 0, .1); */
  12. /* 设置超出内容自动换行 */
  13. word-wrap: break-word;
  14. word-break: break-all;
  15. /* overflow: inherit; */
  16. }
  17. img {
  18. display: block;
  19. /* 最大宽度不能超过母元素 */
  20. max-width: 100%;
  21. border-radius: 3px;
  22. }
  23. .itm{
  24. width: 25px !important;
  25. background-color:white;
  26. border: none;
  27. }
  28. .navbar {
  29. margin-bottom: 0px;
  30. width: 100%;
  31. }
  32. .container {
  33. width: 1800px !important;
  34. /* overflow:scroll; */
  35. }
  36. .row{
  37. text-align: center;
  38. height: 80%;
  39. }
  40. .tr_active{
  41. background-color: white;;
  42. }
  43. .filter{
  44. width: 100%;
  45. height: 40px;
  46. line-height: 30px;
  47. margin-bottom: 0px;
  48. border-bottom:solid 1px rgb(83, 78, 78);
  49. }
  50. .table{
  51. font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  52. font-size: 14px;
  53. color: #2c3a46;
  54. }
  55. input,select{
  56. width: 150px !important;
  57. height: 25px;
  58. line-height: inherit;
  59. }
  60. select{
  61. width: 80px !important;
  62. }
  63. table .save{
  64. width: 50px !important;
  65. }
  66. label{
  67. margin-left: 30px;
  68. }
  69. .container .save{
  70. background-color: white;
  71. }
  72. .container .save:hover {
  73. background-color: rgb(233, 224, 224);
  74. }
  75. .navbar-brand{
  76. width: 60px;
  77. background-image: url(../img/logo.png);
  78. background-repeat: no-repeat;
  79. background-size: 60%;
  80. background-position: center center;
  81. }
  82. .side-bar .list-group-item{
  83. /* 设置边框 */
  84. border: 0px;
  85. border-radius: 3px;
  86. margin: 5px;
  87. }
  88. /* 设置激活状态下的颜色 */
  89. .side-bar .active{
  90. background-color: #ea0c3c ;
  91. }
  92. /* 设置外边距 */
  93. .news-list-item{
  94. padding-top: 10px;
  95. padding-bottom: 10px;
  96. border-bottom: 1px solid #eee;
  97. }
  98. /* 设置第一个元素外边距无 */
  99. .news-list-item:first-child{
  100. padding-top: 0px;
  101. }
  102. .news-list-item .title{
  103. display: block;
  104. /* 去除下划线 */
  105. text-decoration: none;
  106. font-size: 8px;
  107. font-weight: bold;
  108. padding-bottom:10px ;
  109. line-height: 1.5;
  110. color:#ea0c3c;
  111. }
  112. .news-list-item .title:hover{
  113. color:#999;
  114. }
  115. .news-list-item .info{
  116. color: #999;
  117. }
  118. .news-list-item .avatar{
  119. display: inline-block;
  120. }
  121. .news-list-item .avatar img{
  122. display: inline-block;
  123. width: 16px;
  124. height: 16px;
  125. margin-right: 5px;
  126. }
  127. .side-bar-card{
  128. background: rgb(0, 0,0, .05);
  129. margin-top: 15px;
  130. }
  131. .side-bar-card .flag{
  132. margin-top: 20px;
  133. }
  134. .side-bar-card .text-lg{
  135. font-size: 100%;
  136. font-weight: bold;
  137. padding-top: 8px;
  138. }
  139. .side-bar-card .card-title,
  140. .side-bar-card .card-body .list .item {
  141. padding:10px 15px;
  142. }
  143. .side-bar-card .card-title {
  144. font-size: 17px;
  145. font-weight: bold;
  146. padding-top: 10px;
  147. padding-bottom: 0;
  148. }
  149. .side-bar-card .card-body .list .item{
  150. font-size: 12px;
  151. }
  152. .side-bar-card .card-body .list .desc{
  153. font-size: 5px;
  154. color: #999;
  155. }
  156. .side-bar-card .card-body .list .item:hover {
  157. background: rgba(0, 0, 0 ,.05);
  158. }
  159. .news-title{
  160. line-height: 1.3;
  161. }
  162. .news-status{
  163. color: #999;
  164. }
  165. .news-status .label{
  166. opacity: 0.8;
  167. }
  168. .news-contents{
  169. margin-top: 20px;
  170. font-size: 15px;
  171. line-height: 1.5;
  172. }
  173. .news-contents img{
  174. margin-top: 10px;
  175. margin-bottom: 10px;
  176. }
  177. .on-padding-h{
  178. padding-left: 0px;
  179. padding-right: 0px;
  180. }
  181. .footer{
  182. margin-top: 20px;
  183. padding: 20px 0;
  184. /* 设置文字垂直居中 */
  185. text-align: center;
  186. }
  187. .container-small {
  188. max-width: 500px;
  189. margin: 0 auto;
  190. }
  191. .btn-primary {
  192. background-color: #ea0c3c;
  193. border-color: #ea0c3c;
  194. }
  195. .btn-primary:hover,
  196. .btn-primary.focus,
  197. .btn-primary:focus,
  198. .btn-primary.active, .btn-primary:active, .open>.dropdown-toggle.btn-primary,
  199. .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 {
  200. background-color: #d00e38;
  201. border-color: #d00e38;
  202. }
  203. /* 设置#toggle-checkbox此div当状态为checked时里面所有的div的内容隐藏 */
  204. #toggle-checkbox:checked ~ div{
  205. /* !important用于设置最高权重 */
  206. display: block !important;
  207. }
  208. /* 当屏幕为大尺寸时不显示此元素 */
  209. #toggle-label{
  210. display: inline-block;
  211. position: absolute;
  212. right: 7px;
  213. top: 15px;
  214. display: none;
  215. }
  216. .filtrate{
  217. margin: 5px 5px;
  218. height: 35px;
  219. line-height: 35px;
  220. width: 140px !important;
  221. }
  222. .filtrate_w{
  223. margin: 5px 5px;
  224. height: 35px;
  225. line-height: 35px;
  226. width: 80px;
  227. text-align: right;
  228. }
  229. /* 设置底部 */
  230. .footer {
  231. margin-top: 0;
  232. padding: 0;
  233. text-align: center;
  234. }
  235. input[type="checkbox"]
  236. {
  237. width:20px !important;
  238. height: 20px !important;
  239. }