1
0

rock.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. /**
  2. * 最新版的css样式
  3. * 开发者:雨中磐石
  4. * 地址:www.rockoa.com
  5. * 日期:2024-10-10
  6. */
  7. *{font-family:Verdana, Geneva, sans-serif;padding:0px;margin:0px;-webkit-tap-highlight-color: transparent;list-style-type:none}
  8. body{
  9. --main-color:#1389D3;
  10. --font-size:14px;
  11. --border:0.5px rgba(0,0,0,0.1) solid;
  12. --main-bgcolor:white;
  13. --main-hgcolor:rgba(0,0,0,0.15);
  14. --main-vgcolor:rgba(0,0,0,0.1);
  15. --main-border:rgba(0,0,0,0.1);
  16. --input-height:34px;
  17. --btn-height:36px;
  18. --rgb-r:0;
  19. --rgb-g:0;
  20. --rgb-b:0;
  21. }
  22. body{font-size:var(--font-size)}
  23. table{border-spacing:0;border-collapse: collapse;}
  24. button,.cursor,a{cursor:pointer}
  25. a:link,a:visited{color:var(--main-color);TEXT-DECORATION:none;font-size:var(--font-size)}
  26. a:hover{TEXT-DECORATION:underline;color:red;}
  27. input,button,textarea,select,div{resize:none;outline:none;font-size:var(--font-size);}
  28. input[type=button], input[type=submit], input[type=file], button {-webkit-appearance: none;}
  29. ::placeholder{color:#999999;}
  30. .wrap{word-wrap:break-word;word-break:break-all;white-space:normal;}
  31. .input,.inputs,.form-control{border:var(--border);padding:0px 5px;overflow:hidden;border-radius:5px;background:white;height:34px;height:var(--input-height)}
  32. .textarea{line-height:20px; border:var(--border);padding:5px; border-radius:5px;overflow:auto}
  33. .input:focus,.textarea:focus,.form-control:focus,.inputs:focus{border:.5px var(--main-color) solid;}
  34. .input:disabled,.inputs:disabled,.textarea:disabled,.form-control:disabled{cursor:not-allowed;opacity:0.8}
  35. .input[readonly],.inputs[readonly],.textarea[readonly],.form-control[readonly]{background-color:rgba(0,0,0,0.1);}
  36. .webbtn,.webbtn:link,.webbtn:visited,.btn,.btn:link,.btn:visited{color:#ffffff;background-color:var(--main-color);padding:6px 10px;border:none; cursor:pointer;border-radius:5px;white-space:nowrap;height:36px;height:var(--btn-height)}
  37. .webbtn:active,.webbtn:hover,.btn:hover{box-shadow:0px 0px 5px rgba(0,0,0,0.3);box-shadow:0px 0px 5px rgba(var(--rgb-r),var(--rgb-g),var(--rgb-b),0.3);opacity:0.9;TEXT-DECORATION:none}
  38. .webbtn:disabled,.btn:disabled{background-color:#dddddd;color:#888888;cursor:not-allowed}
  39. .webbtn:disabled:hover,.btn:disabled:hover{background-color:none;box-shadow:none;opacity:1}
  40. .webbtn-default,.webbtn-default:link,.webbtn-default:visited,.btn-default{background-color:white;color:black;border:var(--border);}
  41. .webbtn-main,.webbtn-main:link,.webbtn-main:visited{background-color:white;color:black;border:.5px var(--main-color) solid;}
  42. .btn-danger{background-color:#d9534f}
  43. .form-control{width:98%}
  44. textarea.form-control{overflow:auto;padding-top:5px;padding-bottom:5px}
  45. .box{box-shadow:0px 0px 5px rgba(var(--rgb-r),var(--rgb-g),var(--rgb-b),0.3);}
  46. .hover:hover,.active{
  47. background-color:rgba(0,0,0,0.1);
  48. cursor:pointer;
  49. }
  50. .border{border:var(--border)}
  51. .mainbody{background:var(--main-bgcolor);border:var(--border);}
  52. .btn-xs,.btn-xs:link,.btn-xs:visited{padding:3px 5px;font-size:12px;height:26px}
  53. .zhu{color:var(--main-color)}
  54. .hui{color:#888888}
  55. .blank10{height:10px;overflow:hidden}
  56. .blank20{height:20px;overflow:hidden}
  57. .blank30{height:30px;overflow:hidden}
  58. .notsel{-moz-user-select: none;-o-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:default;}
  59. .btn-group,.flex{display: flex;align-items: center;}
  60. .btn-group .btn{float:left}
  61. .btn-group>.active{box-shadow: inset 0 3px 5px rgba(var(--rgb-r),var(--rgb-g),var(--rgb-b), .125);}
  62. .btn-group :first-child:not(:last-child),
  63. .input-group :first-child:not(:last-child){
  64. border-top-right-radius:0px;
  65. border-bottom-right-radius:0px;
  66. }
  67. .btn-group :last-child:not(:first-child),
  68. .input-group :last-child:not(:first-child){
  69. border-top-left-radius:0px;
  70. border-bottom-left-radius:0px;
  71. }
  72. .btn-group :not(:last-child):not(:first-child){
  73. border-radius:0px;
  74. }
  75. .btn-group :not(:first-child){
  76. border-left-width:0px;
  77. }
  78. .input-group-btn{
  79. display:flex;
  80. }
  81. .input-group-btn .btn:first-child{
  82. border-top-left-radius:0px;
  83. border-bottom-left-radius:0px;
  84. border-left-width:0px;
  85. }
  86. .rock-loading {
  87. display: inline-block;
  88. vertical-align: middle;
  89. height:16px;
  90. width:16px;
  91. -webkit-mask: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='80px' height='80px' viewBox='0 0 80 80' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Ctitle%3Eloading%3C/title%3E%3Cdefs%3E%3ClinearGradient x1='94.0869141%25' y1='0%25' x2='94.0869141%25' y2='90.559082%25' id='linearGradient-1'%3E%3Cstop stop-color='%23606060' stop-opacity='0' offset='0%25'%3E%3C/stop%3E%3Cstop stop-color='%23606060' stop-opacity='0.3' offset='100%25'%3E%3C/stop%3E%3C/linearGradient%3E%3ClinearGradient x1='100%25' y1='8.67370605%25' x2='100%25' y2='90.6286621%25' id='linearGradient-2'%3E%3Cstop stop-color='%23606060' offset='0%25'%3E%3C/stop%3E%3Cstop stop-color='%23606060' stop-opacity='0.3' offset='100%25'%3E%3C/stop%3E%3C/linearGradient%3E%3C/defs%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' opacity='0.9'%3E%3Cg%3E%3Cpath d='M40,0 C62.09139,0 80,17.90861 80,40 C80,62.09139 62.09139,80 40,80 L40,73 C58.2253967,73 73,58.2253967 73,40 C73,21.7746033 58.2253967,7 40,7 L40,0 Z' fill='url(%23linearGradient-1)'%3E%3C/path%3E%3Cpath d='M40,0 L40,7 C21.7746033,7 7,21.7746033 7,40 C7,58.2253967 21.7746033,73 40,73 L40,80 C17.90861,80 0,62.09139 0,40 C0,17.90861 17.90861,0 40,0 Z' fill='url(%23linearGradient-2)'%3E%3C/path%3E%3Ccircle id='Oval' fill='%23606060' cx='40.5' cy='3.5' r='3.5'%3E%3C/circle%3E%3C/g%3E%3CanimateTransform attributeName='transform' begin='0s' dur='1s' type='rotate' values='0 40 40;360 40 40' repeatCount='indefinite'/%3E%3C/g%3E%3C/svg%3E%0A") 0 0 no-repeat;
  92. mask-size: cover;
  93. -webkit-mask-size: cover;
  94. mask-size: cover;
  95. background-color: currentColor;
  96. opacity:0.2;
  97. }
  98. ::-webkit-scrollbar{
  99. width: 8px;
  100. height: 8px;
  101. background-color: transparent;
  102. }
  103. ::-webkit-scrollbar-thumb {
  104. border-radius: 5px;
  105. background-color: rgba(0, 0, 0, 0.2);
  106. }
  107. ::-webkit-scrollbar-track:hover {
  108. background-color: rgba(0, 0, 0, 0.1);
  109. border-radius: 5px;
  110. }
  111. .badge {
  112. display: inline-block;min-width: 10px; padding: 3px 5px;font-size: 12px;line-height: 1;color: #fff;
  113. text-align: center;white-space: nowrap;vertical-align: baseline;background-color:red;border-radius: 12px;
  114. }
  115. .badge:empty {display: none;}
  116. .rock-table{
  117. width:100%;
  118. background:var(--main-bgcolor)
  119. }
  120. .rock-table .rock-table-th{
  121. height:40px;
  122. border:var(--border);
  123. background:var(--main-hgcolor);
  124. padding:3px;
  125. }
  126. .rock-table .rock-table-td{
  127. height:36px;
  128. border:var(--border);
  129. padding:3px;
  130. min-width:35px;
  131. word-wrap:break-word;word-break:break-all;white-space:normal;
  132. }
  133. .rock-table thead{}
  134. .rock-table .rock-table-tr{}
  135. .rock-table .rock-table-tr:nth-child(odd){
  136. background:rgba(0,0,0,0.03);
  137. background:rgba(var(--rgb-r),var(--rgb-g),var(--rgb-b),0.03);
  138. }
  139. .rock-table .rock-table-tr:hover{
  140. background:rgba(0,0,0,0.1);
  141. background:rgba(var(--rgb-r),var(--rgb-g),var(--rgb-b),0.1);
  142. }
  143. .rock-table-edit{
  144. border:var(--border);
  145. background:var(--main-bgcolor);
  146. padding:10px;
  147. box-shadow:0px 0px 10px rgba(0,0,0,0.3);
  148. box-shadow:0px 0px 10px rgba(var(--rgb-r),var(--rgb-g),var(--rgb-b),0.3);
  149. border-radius:5px;
  150. }
  151. .rock-table-list{
  152. padding:8px 10px;
  153. border:var(--border);
  154. border-radius:5px;
  155. margin:10px;
  156. background:white
  157. }
  158. .rock-table-list:active{
  159. background:rgba(0,0,0,0.05);
  160. background:rgba(var(--rgb-r),var(--rgb-g),var(--rgb-b),0.05);
  161. }
  162. .jquery-calendar .tdtext{border:var(--border);padding:3px}
  163. .jquery-calendar .tdtext:hover{background-color:rgba(0,0,0,0.1);background-color:rgba(var(--rgb-r),var(--rgb-g),var(--rgb-b),0.1);}
  164. .jquery-calendar .thtext{border:var(--border); background-color:rgba(0,0,0,0.1); background-color:rgba(var(--rgb-r),var(--rgb-g),var(--rgb-b),0.1);height:34px}
  165. .list-group,.panel{background:var(--main-bgcolor);border:var(--border);margin-bottom:20px;border-radius:5px;}
  166. .list-group-item{display:block;padding:12px;}
  167. .list-group>a:hover{
  168. background-color:rgba(0,0,0,0.1);
  169. background-color:var(--main-vgcolor);
  170. color:inherit;
  171. }
  172. .list-group .list-group-item:not(:last-child){
  173. border-bottom:var(--border);
  174. }
  175. .list-group .list-group-item:first-child,.panel-heading{
  176. padding:12px;
  177. background:var(--main-hgcolor);
  178. border-top-right-radius:5px;
  179. border-top-left-radius:5px;
  180. }
  181. .nav{ display:flex}
  182. .nav li{padding:10px 15px;}
  183. .nav .active{background-color:rgba(var(--rgb-r), var(--rgb-g), var(--rgb-b), 0.1)}
  184. .input-group{display: flex}
  185. .floats{display: flex}
  186. .floats30{flex:1;text-align:right}
  187. .floats50{flex:0.5;}
  188. .tishi{color:#888888;padding:10px 0px}
  189. .tdinput{padding:5px 0px;text-align:left;padding-right:15px}
  190. .inputtitle{line-height:34px;text-align:center;background-color:var(--main-hgcolor)}
  191. .upload_items{border:var(--border);height:60px;overflow:hidden;float:left;margin-top:5px;margin-bottom:5px;margin-right:10px;cursor:pointer;position:relative}
  192. .upload_items:active{border:1px var(--main-color) solid}
  193. .upload_items img.imgs{width:50px;height:50px;margin:5px}
  194. .upload_items_items{padding:5px;text-align:center}
  195. .upload_items_meng{ background:rgba(0,0,0,0.5);position:absolute;left:0px;top:0px;height:60px;overflow:hidden;line-height:60px;text-align:center;width:100%;color:white}
  196. .bootstree ul{height:36px;overflow:hidden;border-top:var(--border)}
  197. .bootstree ul li{height:35px;overflow:hidden;line-height:35px;float:left;border-right:var(--border)}
  198. .bootstree ul li:last-child{border-right-width:0px}
  199. .bootstree ul:nth-of-type(even) {background-color:rgba(0,0,0,0.03);background-color:rgba(var(--rgb-r), var(--rgb-g), var(--rgb-b), 0.03);}
  200. .bootstree ul:hover{background-color:rgba(0,0,0,0.1);background-color:rgba(var(--rgb-r), var(--rgb-g), var(--rgb-b), 0.1);}
  201. .panel-footer{padding:10px;background-color:var(--main-bgcolor);border-top:var(--border)}
  202. .select-list .div01{padding:8px 10px;border-bottom:var(--border)}
  203. .select-list .div01:hover{background-color:rgba(var(--rgb-r), var(--rgb-g), var(--rgb-b), 0.1);}
  204. .select-list .div02{padding:8px 10px;border-bottom:var(--border);background-color:rgba(var(--rgb-r), var(--rgb-g), var(--rgb-b), 0.1)}
  205. .list-itemv:hover{color:var(--main-color);cursor:pointer;background-color:rgba(var(--rgb-r), var(--rgb-g), var(--rgb-b), 0.1)}
  206. .editortools div{width:26px;height:26px;overflow:hidden;margin-left:8px;line-height:26px;border-radius:5px;cursor:pointer;}
  207. .editortools div:hover{background-color:rgba(0,0,0,0.1);}
  208. .label{border-radius:5px;padding:2px 3px}
  209. .label-success{background:green;color:white}
  210. .label-default{background:#aaaaaa;color:white}
  211. .progress{border:var(--border);text-align:left;border-radius:5px;}
  212. .progress-bar-success{background:green;color:white;font-size:12px;border-radius:5px;text-align:center}
粤ICP备19079148号