standard.css 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970
  1. html, body {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. .owo td.active {
  6. background-color: #cccccc;
  7. }
  8. .clear:after {
  9. content: "";
  10. height: 0;
  11. line-height: 0;
  12. display: block;
  13. visibility: hidden;
  14. clear: both;
  15. zoom: 1;
  16. }
  17. .log-panel {
  18. width: 98%;
  19. height: 100%;
  20. display: block;
  21. margin: 0 auto;
  22. border-radius: 3px;
  23. overflow: auto;
  24. padding: 1%;
  25. box-sizing: border-box;
  26. background-color: #3e3858;
  27. color: white;
  28. line-height: 26px;
  29. font-size: 14px;
  30. }
  31. .log-panel li {
  32. word-break: break-all;
  33. }
  34. .log-panel span {
  35. background-color: chocolate;
  36. padding: 2px 5px;
  37. border-radius: 3px;
  38. margin-right: 4px;
  39. }
  40. /* PUGE样式 */
  41. textarea.owo {
  42. width: 92%;
  43. margin: 0 auto;
  44. display: block;
  45. padding: 1%;
  46. height: 41vw;
  47. font-size: 14px;
  48. }
  49. .owo.panel {
  50. width: 98%;
  51. display: block;
  52. margin: 0 auto;
  53. max-width: 1000px;
  54. }
  55. button.owo {
  56. background-color: #009fe9;
  57. color: white;
  58. border: none;
  59. padding: 8px 12px;
  60. border-radius: 3px;
  61. margin: 10px 0;
  62. font-size: 14px;
  63. min-width: 80px;
  64. }
  65. label.owo input[type="checkbox"] {
  66. position: absolute;
  67. opacity: 0;
  68. }
  69. /* Normal Track */
  70. label.owo input[type="checkbox"].ios-switch + div {
  71. vertical-align: middle;
  72. width: 40px; height: 20px;
  73. border: 1px solid rgba(0,0,0,.4);
  74. border-radius: 999px;
  75. background-color: rgba(0, 0, 0, 0.1);
  76. -webkit-transition-duration: .4s;
  77. -webkit-transition-property: background-color, box-shadow;
  78. box-shadow: inset 0 0 0 0px rgba(0,0,0,0.4);
  79. }
  80. /* Checked Track (Blue) */
  81. label.owo input[type="checkbox"].ios-switch:checked + div {
  82. width: 40px;
  83. background-position: 0 0;
  84. background-color: #3b89ec;
  85. border: 1px solid #0e62cd;
  86. box-shadow: inset 0 0 0 10px rgba(59,137,259,1);
  87. }
  88. /* Tiny Track */
  89. label.owo input[type="checkbox"].tinyswitch.ios-switch + div {
  90. width: 34px; height: 18px;
  91. }
  92. /* Big Track */
  93. label.owo input[type="checkbox"].bigswitch.ios-switch + div {
  94. width: 50px; height: 25px;
  95. }
  96. /* Green Track */
  97. label.owo input[type="checkbox"].green.ios-switch:checked + div {
  98. background-color: #00e359;
  99. border: 1px solid rgba(0, 162, 63,1);
  100. box-shadow: inset 0 0 0 10px rgba(0,227,89,1);
  101. }
  102. /* Normal Knob */
  103. label.owo input[type="checkbox"].ios-switch + div > div {
  104. float: left;
  105. width: 18px; height: 18px;
  106. border-radius: inherit;
  107. background: #ffffff;
  108. -webkit-transition-timing-function: cubic-bezier(.54,1.85,.5,1);
  109. -webkit-transition-duration: 0.4s;
  110. -webkit-transition-property: transform, background-color, box-shadow;
  111. -moz-transition-timing-function: cubic-bezier(.54,1.85,.5,1);
  112. -moz-transition-duration: 0.4s;
  113. -moz-transition-property: transform, background-color;
  114. box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3), 0px 0px 0 1px rgba(0, 0, 0, 0.4);
  115. pointer-events: none;
  116. margin-top: 1px;
  117. margin-left: 1px;
  118. }
  119. /* Checked Knob (Blue Style) */
  120. label.owo input[type="checkbox"].ios-switch:checked + div > div {
  121. -webkit-transform: translate3d(20px, 0, 0);
  122. -moz-transform: translate3d(20px, 0, 0);
  123. background-color: #ffffff;
  124. box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3), 0px 0px 0 1px rgba(8, 80, 172,1);
  125. }
  126. /* Tiny Knob */
  127. label.owo input[type="checkbox"].tinyswitch.ios-switch + div > div {
  128. width: 16px; height: 16px;
  129. margin-top: 1px;
  130. }
  131. /* Checked Tiny Knob (Blue Style) */
  132. label.owo input[type="checkbox"].tinyswitch.ios-switch:checked + div > div {
  133. -webkit-transform: translate3d(16px, 0, 0);
  134. -moz-transform: translate3d(16px, 0, 0);
  135. box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3), 0px 0px 0 1px rgba(8, 80, 172,1);
  136. }
  137. /* Big Knob */
  138. label.owo input[type="checkbox"].bigswitch.ios-switch + div > div {
  139. width: 23px; height: 23px;
  140. margin-top: 1px;
  141. }
  142. /* Checked Big Knob (Blue Style) */
  143. label.owo input[type="checkbox"].bigswitch.ios-switch:checked + div > div {
  144. -webkit-transform: translate3d(25px, 0, 0);
  145. -moz-transform: translate3d(16px, 0, 0);
  146. box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3), 0px 0px 0 1px rgba(8, 80, 172,1);
  147. }
  148. /* Green Knob */
  149. label.owo input[type="checkbox"].green.ios-switch:checked + div > div {
  150. box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 162, 63,1);
  151. }
  152. label.owo {
  153. display: flex;
  154. height: 34px;
  155. line-height: 34px;
  156. align-items: center;
  157. justify-content: space-between;
  158. }
  159. .owo select {
  160. height: 40px;
  161. line-height: 40px;
  162. width: 98%;
  163. font-size: 16px;
  164. color: #666;
  165. background-color: cornsilk;
  166. border: 1px solid #ccc;
  167. box-sizing: border-box;
  168. border-radius: 5px;
  169. margin: 10px auto;
  170. padding: 0 5px;
  171. display: block;
  172. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAPdJREFUWEftlC0OwkAQRmfT28ApuAIt99imeMIBms70GE1QKAxBYDAoECgQKBQKRTukgqSi7f6RFLFjd2e+l7eTFTBwiYHzwQN4A96AN/D/BqSUC5ffEhGXff29BqSUJwAYuwAAwA4RJ10zegHiOC6YeTYYQJIko7IsCwcLl6qqojzPa5OtpVxCWwhmvgohIkQ8Wu/At9EC4s7MEREdVM+nNGAB8QiCIEzTdK8Kr8+1AerLGiaeABAi4lYn3BhAAfFi5ikRbXTDrQA6IN5CiGmWZWuTcGuABsQZAG7MPCeilWm4E4BNWFuP0RL+KrQ5xwN4A96AN/ABAsloIXlECvAAAAAASUVORK5CYII=);
  173. background-repeat: no-repeat;
  174. background-position: 98% center;
  175. background-size: 16px;
  176. }
  177. .owo select {
  178. appearance: none;
  179. -moz-appearance: none;
  180. -webkit-appearance: none;
  181. }
  182. .owo select::-ms-expand { display: none; }
  183. .owo h1,h2,h3,h4,h5 {
  184. color: #555;
  185. line-height: 1.2;
  186. padding-bottom: 10px;
  187. border-bottom: 1px solid #ddd;
  188. padding-top: 10px;
  189. width: 98%;
  190. display: block;
  191. margin: 0 auto;
  192. text-align: left;
  193. }
  194. .owo h1 {
  195. font-size: 28px;
  196. }
  197. .owo h2 {
  198. font-size: 24px;
  199. }
  200. .owo h3 {
  201. font-size: 20px;
  202. }
  203. .owo h4 {
  204. font-size: 16px;
  205. }
  206. .owo h5 {
  207. font-size: 14px;
  208. }
  209. .owo h6 {
  210. font-size: 12px;
  211. }
  212. .owo .bar {
  213. padding: 5px 0;
  214. margin: 0 auto;
  215. width: 98%;
  216. position: relative;
  217. }
  218. .owo .panel {
  219. margin: 10px auto;
  220. padding: 0;
  221. width: 98%;
  222. }
  223. .owo .button {
  224. height: 36px;
  225. position: relative;
  226. background-color: #009fe9;
  227. color: white;
  228. text-align: center;
  229. line-height: 36px;
  230. font-size: 16px;
  231. border-radius: 5px;
  232. margin: 10px auto;
  233. display: block;
  234. box-shadow: 1px 1px 4px #beb5ec;
  235. width: 98%;
  236. padding: 0;
  237. cursor: pointer;
  238. }
  239. .owo .button:active {
  240. opacity: 0.9;
  241. }
  242. .owo .button input[type="file"] {
  243. position: absolute;
  244. opacity: 0;
  245. width: 100%;
  246. height: 100%;
  247. margin: 0;
  248. padding: 0;
  249. left: 0;
  250. top: 0;
  251. }
  252. .owo input[type="text"], .owo input[type="number"], .owo input[type="date"], .owo input[type="time"], .owo input[type="datetime-local"] {
  253. height: 36px;
  254. line-height: 36px;
  255. width: 98%;
  256. font-size: 16px;
  257. color: #333;
  258. background-color: cornsilk;
  259. border: 1px solid #ccc;
  260. box-sizing: border-box;
  261. border-radius: 5px;
  262. margin: 10px auto;
  263. padding: 0 5px;
  264. display: block;
  265. float: none;
  266. }
  267. .owo textarea {
  268. line-height: 24px;
  269. width: 98%;
  270. font-size: 14px;
  271. color: black;
  272. background-color: cornsilk;
  273. border: 1px solid #ccc;
  274. box-sizing: border-box;
  275. margin: 10px auto;
  276. padding: 0 5px;
  277. display: block;
  278. border-radius: 5px;
  279. min-height: 100px;
  280. }
  281. /* 弹窗 */
  282. .img-replace {
  283. /* replace text with an image */
  284. display: inline-block;
  285. overflow: hidden;
  286. text-indent: 100%;
  287. color: transparent;
  288. white-space: nowrap;
  289. }
  290. .cd-popup {
  291. position: fixed;
  292. left: 0;
  293. top: 0;
  294. height: 100%;
  295. width: 100%;
  296. color: #333;
  297. background-color: rgba(94, 110, 141, 0.9);
  298. /* opacity: 0;
  299. visibility: hidden; */
  300. -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  301. -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  302. transition: opacity 0.3s 0s, visibility 0s 0.3s;
  303. z-index: 9999;
  304. }
  305. .cd-popup.is-visible {
  306. opacity: 1;
  307. visibility: visible;
  308. -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  309. -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  310. transition: opacity 0.3s 0s, visibility 0s 0s;
  311. }
  312. .cd-popup-container {
  313. position: absolute;
  314. width: 90%;
  315. max-width: 400px;
  316. margin: auto auto;
  317. left: 0;
  318. right: 0;
  319. top: 0;
  320. bottom: 0;
  321. height: 240px;
  322. background: #FFF;
  323. border-radius: .25em .25em .4em .4em;
  324. text-align: center;
  325. box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  326. -webkit-transform: translateY(-40px);
  327. -moz-transform: translateY(-40px);
  328. -ms-transform: translateY(-40px);
  329. -o-transform: translateY(-40px);
  330. transform: translateY(-40px);
  331. /* Force Hardware Acceleration in WebKit */
  332. -webkit-backface-visibility: hidden;
  333. -webkit-transition-property: -webkit-transform;
  334. -moz-transition-property: -moz-transform;
  335. transition-property: transform;
  336. -webkit-transition-duration: 0.3s;
  337. -moz-transition-duration: 0.3s;
  338. transition-duration: 0.3s;
  339. }
  340. .cd-popup-container .conn {
  341. height: 170px;
  342. justify-content: center;
  343. align-items: center;
  344. overflow: auto;
  345. margin: 0;
  346. margin-top: 32px;
  347. font-size: 16px;
  348. text-align: left;
  349. padding: 0 10px;
  350. line-height: 22px;
  351. display: block;
  352. word-break: break-all;
  353. }
  354. .cd-popup-container .title-text {
  355. height: 40px;
  356. margin-top: 0;
  357. text-align: left;
  358. display: block;
  359. line-height: 40px;
  360. margin: 0 10px;
  361. border-bottom: 1px solid #ccc;
  362. font-size: 16px;
  363. }
  364. .popup-panel.cd-popup-container {
  365. height: auto;
  366. top: auto;
  367. bottom: auto;
  368. max-height: 660px;
  369. }
  370. .popup-panel.cd-popup-container .conn {
  371. margin-top: 0;
  372. display: block;
  373. margin: 10px 10px;
  374. text-align: left;
  375. height: auto;
  376. max-height: 600px;
  377. overflow: auto;
  378. }
  379. .prompt.cd-popup-container textarea {
  380. display: block;
  381. height: 129px;
  382. width: calc(100% - 20px);
  383. margin: 10px auto;
  384. outline: none;
  385. line-height: 20px;
  386. padding: 0 4px;
  387. }
  388. .cd-buttons {
  389. margin: 0;
  390. padding: 0;
  391. }
  392. .cd-popup-container .cd-buttons:after {
  393. content: "";
  394. display: table;
  395. clear: both;
  396. }
  397. .cd-popup-container .cd-buttons li {
  398. float: left;
  399. width: 50%;
  400. list-style: none;
  401. cursor: pointer;
  402. }
  403. .cd-popup-container .cd-buttons li {
  404. display: block;
  405. height: 50px;
  406. line-height: 50px;
  407. text-transform: uppercase;
  408. color: #FFF;
  409. -webkit-transition: background-color 0.2s;
  410. -moz-transition: background-color 0.2s;
  411. transition: background-color 0.2s;
  412. text-decoration: none;
  413. }
  414. .cd-popup-container .cd-buttons li:first-child {
  415. background: #fc7169;
  416. border-radius: 0 0 0 .25em;
  417. }
  418. .cd-popup-container .cd-buttons li:last-child {
  419. background: #b6bece;
  420. border-radius: 0 0 .25em 0;
  421. }
  422. .cd-popup-container .cd-popup-close {
  423. position: absolute;
  424. top: 0px;
  425. right: 0px;
  426. width: 40px;
  427. height: 40px;
  428. cursor: pointer;
  429. }
  430. .cd-popup-container .cd-popup-close::before, .cd-popup-container .cd-popup-close::after {
  431. content: '';
  432. position: absolute;
  433. top: 18px;
  434. width: 24px;
  435. height: 3px;
  436. background-color: #8f9cb5;
  437. }
  438. .cd-popup-container .cd-popup-close::before {
  439. -webkit-transform: rotate(45deg);
  440. -moz-transform: rotate(45deg);
  441. -ms-transform: rotate(45deg);
  442. -o-transform: rotate(45deg);
  443. transform: rotate(45deg);
  444. left: 8px;
  445. }
  446. .cd-popup-container .cd-popup-close::after {
  447. -webkit-transform: rotate(-45deg);
  448. -moz-transform: rotate(-45deg);
  449. -ms-transform: rotate(-45deg);
  450. -o-transform: rotate(-45deg);
  451. transform: rotate(-45deg);
  452. right: 8px;
  453. }
  454. .is-visible .cd-popup-container {
  455. -webkit-transform: translateY(0);
  456. -moz-transform: translateY(0);
  457. -ms-transform: translateY(0);
  458. -o-transform: translateY(0);
  459. transform: translateY(0);
  460. }
  461. .panel-box {
  462. position: fixed;
  463. right: 10px;
  464. bottom: 10px;
  465. background-color: #f6fafd;
  466. box-shadow: -1px -1px 11px #ad8f8f;
  467. border-radius: 5px;
  468. padding: 10px;
  469. max-width: 680px;
  470. opacity: 0.95;
  471. transition: bottom 1s;
  472. z-index: 999999999;
  473. max-height: 96vh;
  474. overflow: auto;
  475. }
  476. .panel-box.pos-left {
  477. right: auto;
  478. left: 10px;
  479. }
  480. .panel-box .title-text {
  481. padding: 0;
  482. margin: 0;
  483. border-bottom: 1px solid #ccc;
  484. line-height: 30px;
  485. font-weight: bold;
  486. padding-bottom: 5px;
  487. color: #333;
  488. }
  489. .tool-panel {
  490. position: absolute;
  491. right: 10px;
  492. top: 10px;
  493. }
  494. .tool-panel .icon-button {
  495. cursor: pointer;
  496. fill: #bfbfbf;
  497. }
  498. .tool-panel .icon-button:hover {
  499. fill: #009fe9;
  500. }
  501. .owo table {
  502. background: white;
  503. border-radius:3px;
  504. border-collapse: collapse;
  505. height: auto;
  506. margin: auto;
  507. padding:5px;
  508. width: 100%;
  509. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  510. animation: float 5s infinite;
  511. }
  512. .owo thead th {
  513. color:#D5DDE5;;
  514. background:#1b1e24;
  515. font-size: 14px;
  516. font-weight: 100;
  517. padding: 3px 6px;
  518. text-align:left;
  519. text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  520. vertical-align:middle;
  521. }
  522. .owo table thead {
  523. border: 1px solid #1b1e24;
  524. box-sizing: border-box;
  525. border-bottom: none;
  526. }
  527. .owo table tbody {
  528. border: 1px solid #ccc;
  529. box-sizing: border-box;
  530. border-top: none;
  531. }
  532. .owo thead th:first-child {
  533. border-top-left-radius:3px;
  534. }
  535. .owo thead th:last-child {
  536. border-top-right-radius:3px;
  537. border-right:none;
  538. }
  539. .owo tr {
  540. border-top: 1px solid #C1C3D1;
  541. border-bottom: 1px solid #C1C3D1;
  542. color:#000;
  543. font-size:16px;
  544. font-weight:normal;
  545. text-shadow: 0 1px 1px rgba(256, 256, 256, 0.1);
  546. }
  547. .owo tr:first-child {
  548. border-top:none;
  549. }
  550. .owo tr:last-child {
  551. border-bottom:none;
  552. }
  553. .owo tr:nth-child(odd) td {
  554. background:#EBEBEB;
  555. }
  556. .owo tr:last-child td:first-child {
  557. border-bottom-left-radius:3px;
  558. }
  559. .owo tr:last-child td:last-child {
  560. border-bottom-right-radius:3px;
  561. }
  562. .owo td {
  563. background:#FFFFFF;
  564. padding: 3px 6px;
  565. text-align:left;
  566. vertical-align:middle;
  567. font-size:12px;
  568. text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.1);
  569. border-right: 1px solid #C1C3D1;
  570. }
  571. .owo td:last-child {
  572. border-right: 0px;
  573. }
  574. .owo thead th.text-left {
  575. text-align: left;
  576. }
  577. .owo thead th.text-center {
  578. text-align: center;
  579. }
  580. .owo thead th.text-right {
  581. text-align: right;
  582. }
  583. .owo td.text-left {
  584. text-align: left;
  585. }
  586. .owo td.text-center {
  587. text-align: center;
  588. }
  589. .owo td.text-right {
  590. text-align: right;
  591. }
  592. .owo.full {
  593. width: 100%;
  594. height: 100%;
  595. overflow: auto;
  596. }
  597. .owo.owo-lable span, .owo.owo-lable input, .owo.owo-lable .button {
  598. line-height: 40px;
  599. display: inline-block;
  600. float: left;
  601. margin: 0 5px;
  602. font-size: 14px;
  603. }
  604. .owo.owo-lable input[type="text"], .owo.owo-lable input[type="number"], .owo.owo-lable input[type="date"], .owo.owo-lable input[type="time"] {
  605. width: 60px;
  606. height: 30px;
  607. margin: 5px;
  608. }
  609. .owo.owo-lable .button {
  610. width: 60px;
  611. height: 30px;
  612. line-height: 30px;
  613. font-size: 14px;
  614. margin: 5px 10px;
  615. box-shadow: none;
  616. }
  617. .owo .sw-pannel {
  618. background-color: cornsilk;
  619. padding: 10px;
  620. font-size: 14px;
  621. border-radius: 0 0 5px 5px;
  622. box-shadow: 1px 1px 4px #ccc;
  623. }
  624. .owo .owo-sw-panel .sw-title span {
  625. display: inline-block;
  626. background-color: #f3f1e9;
  627. padding: 5px 10px;
  628. box-shadow: -1px -2px 2px #f3efef;
  629. border-radius: 5px 5px 0 0;
  630. font-size: 14px;
  631. line-height: 22px;
  632. cursor: pointer;
  633. }
  634. .owo .owo-sw-panel .sw-title span.active {
  635. background-color: cornsilk;
  636. }
  637. .arr-edit {
  638. width: 98%;
  639. margin: 0 auto;
  640. }
  641. .arr-edit .icon-button {
  642. background-color: #ebebeb;
  643. display: flex;
  644. justify-content: center;
  645. align-items: center;
  646. padding-right: 5px;
  647. height: 26px;
  648. border-radius: 5px;
  649. color: darkslategray;
  650. font-size: 14px;
  651. width: 58px;
  652. cursor: pointer;
  653. margin-left: 5px;
  654. }
  655. .arr-edit .icon-button svg {
  656. margin: 0 3px;
  657. width: 18px;
  658. height: 18px;
  659. }
  660. .arr-edit .icon-button:hover {
  661. background-color: #009fe9;
  662. color: white;
  663. }
  664. .arr-edit .icon-button svg, .arr-edit .icon-button svg path {
  665. fill: #707070;
  666. }
  667. .arr-edit .icon-button:hover svg, .arr-edit .icon-button:hover svg path {
  668. fill: #ffffff;
  669. }
  670. .arr-edit .tool-bar {
  671. display: flex;
  672. justify-content: end;
  673. margin: 0 auto;
  674. padding: 5px 0;
  675. }
  676. .arr-show-box {
  677. background-color: #f4f4f4;
  678. padding: 10px;
  679. font-size: 14px;
  680. box-shadow: 1px 1px 2px #ccc;
  681. min-height: 20px;
  682. border-radius: 5px;
  683. }
  684. .arr-show-box span {
  685. padding: 3px 8px;
  686. cursor: pointer;
  687. background-color: gainsboro;
  688. border-radius: 5px;
  689. margin-right: 5px;
  690. display: inline-block;
  691. }
  692. .arr-show-box span.active {
  693. background-color: #009fe9;
  694. color: white;
  695. margin: 2px;
  696. }
  697. .owo .button-line-2 {
  698. display: flex;
  699. }
  700. .owo .button-line-2 .button {
  701. width: 48%;
  702. }
  703. .owo.button-bar {
  704. display: flex;
  705. padding: 0 1%;
  706. justify-content: flex-end;
  707. }
  708. .owo.button-bar .button {
  709. width: 100px;
  710. margin: 10px 5px;
  711. height: 35px;
  712. line-height: 35px;
  713. font-size: 14px;
  714. }
  715. .owo.button-bar h1,.owo.button-bar h2,.owo.button-bar h3,.owo.button-bar h4,.owo.button-bar h5 {
  716. border-bottom: none;
  717. }
  718. .owo.button-bar .button a {
  719. color: white;
  720. text-decoration: none;
  721. }
  722. .owo.card {
  723. border: 1px solid #ccc;
  724. border-radius: 5px;
  725. box-shadow: 0px 0px 5px #ccc;
  726. background-color: #efefef;
  727. padding: 0 10px;
  728. margin: 0 10px;
  729. margin-bottom: 10px;
  730. }
  731. nav.owo {
  732. position: relative;
  733. z-index: 9999;
  734. position: sticky;
  735. top: 0;
  736. line-height: 50px;
  737. height: 50px;
  738. background: #ffffff;
  739. box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15), 0 2px 1px -5px rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.2);
  740. }
  741. nav.owo h1, nav.owo h2,nav.owo h3,nav.owo h4,nav.owo h5 {
  742. width: auto;
  743. text-align: center;
  744. text-transform: uppercase;
  745. color: #d93622;
  746. border: none;
  747. margin: 0;
  748. padding: 0;
  749. line-height: 50px;
  750. }
  751. /* 文件上传 */
  752. .owo-uploader {
  753. display: block;
  754. clear: both;
  755. margin: 15px auto;
  756. width: 98%;
  757. max-width: 600px;
  758. }
  759. .owo-uploader label {
  760. float: left;
  761. clear: both;
  762. width: calc(100% - 4px);
  763. padding: 2rem 0rem;
  764. text-align: center;
  765. background: #fff;
  766. border-radius: 7px;
  767. border: 3px solid #eee;
  768. transition: all 0.2s ease;
  769. -webkit-user-select: none;
  770. -moz-user-select: none;
  771. -ms-user-select: none;
  772. user-select: none;
  773. }
  774. .owo-uploader label:hover {
  775. border-color: #454cad;
  776. }
  777. .owo-uploader label.hover {
  778. border: 3px solid #454cad;
  779. box-shadow: inset 0 0 0 6px #eee;
  780. }
  781. .owo-uploader label.hover #start i.fa {
  782. transform: scale(0.8);
  783. opacity: 0.3;
  784. }
  785. .owo-uploader #start {
  786. float: left;
  787. clear: both;
  788. width: 100%;
  789. }
  790. .owo-uploader #start.hidden {
  791. display: none;
  792. }
  793. .owo-uploader #start i.fa {
  794. font-size: 50px;
  795. margin-bottom: 1rem;
  796. transition: all 0.2s ease-in-out;
  797. }
  798. .owo-uploader #response {
  799. float: left;
  800. clear: both;
  801. width: 100%;
  802. }
  803. .owo-uploader #response.hidden {
  804. display: none;
  805. }
  806. .owo-uploader #response #messages {
  807. margin-bottom: 0.5rem;
  808. }
  809. .owo-uploader #file-image {
  810. display: inline;
  811. margin: 0 auto 0.5rem auto;
  812. width: auto;
  813. height: auto;
  814. max-width: 180px;
  815. }
  816. .owo-uploader #file-image.hidden {
  817. display: none;
  818. }
  819. .owo-uploader #notimage {
  820. display: block;
  821. float: left;
  822. clear: both;
  823. width: 100%;
  824. }
  825. .owo-uploader #notimage.hidden {
  826. display: none;
  827. }
  828. .owo-uploader progress,
  829. .owo-uploader .progress {
  830. display: inline;
  831. clear: both;
  832. margin: 0 auto;
  833. width: 100%;
  834. max-width: 180px;
  835. height: 8px;
  836. border: 0;
  837. border-radius: 4px;
  838. background-color: #eee;
  839. overflow: hidden;
  840. }
  841. .owo-uploader .progress[value]::-webkit-progress-bar {
  842. border-radius: 4px;
  843. background-color: #eee;
  844. }
  845. .owo-uploader .progress[value]::-webkit-progress-value {
  846. background: linear-gradient(to right, #393f90 0%, #454cad 50%);
  847. border-radius: 4px;
  848. }
  849. .owo-uploader .progress[value]::-moz-progress-bar {
  850. background: linear-gradient(to right, #393f90 0%, #454cad 50%);
  851. border-radius: 4px;
  852. }
  853. .owo-uploader input[type=file] {
  854. display: none;
  855. }
  856. .owo-uploader div {
  857. margin: 0 0 0.5rem 0;
  858. color: #5f6982;
  859. }
  860. .owo-uploader .btn {
  861. display: inline-block;
  862. margin: 0.5rem 0.5rem 1rem 0.5rem;
  863. clear: both;
  864. font-family: inherit;
  865. font-weight: 700;
  866. font-size: 14px;
  867. text-decoration: none;
  868. text-transform: initial;
  869. border: none;
  870. border-radius: 0.2rem;
  871. outline: none;
  872. padding: 0 1rem;
  873. height: 36px;
  874. line-height: 36px;
  875. color: #fff;
  876. transition: all 0.2s ease-in-out;
  877. box-sizing: border-box;
  878. background: #454cad;
  879. border-color: #454cad;
  880. cursor: pointer;
  881. }
  882. .float-box {
  883. padding: 0 1%;
  884. }
  885. .owo.float-box .owo.button {
  886. float: left;
  887. width: auto;
  888. padding: 0 8px;
  889. margin: 5px 4px;
  890. line-height: 26px;
  891. height: 26px;
  892. font-size: 12px;
  893. }
  894. .owo.button .close-button {
  895. position: absolute;
  896. right: -5px;
  897. top: -5px;
  898. font-size: 12px;
  899. width: 14px;
  900. height: 14px;
  901. background-color: orange;
  902. color: white;
  903. line-height: 14px;
  904. border-radius: 6px;
  905. display: none;
  906. }
  907. .owo.button:hover .close-button {
  908. display: block;
  909. }