Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

1037 Zeilen
23 KiB

vor 4 Jahren
  1. body {
  2. margin: 0;
  3. }
  4. .x-spreadsheet {
  5. font-size: 13px;
  6. line-height: normal;
  7. user-select: none;
  8. -moz-user-select: none;
  9. font-family: 'Lato', 'Source Sans Pro', Roboto, Helvetica, Arial, sans-serif;
  10. box-sizing: content-box;
  11. background: #fff;
  12. -webkit-font-smoothing: antialiased;
  13. }
  14. .x-spreadsheet textarea {
  15. font: 400 13px Arial, 'Lato', 'Source Sans Pro', Roboto, Helvetica, sans-serif;
  16. }
  17. .x-spreadsheet-sheet {
  18. position: relative;
  19. overflow: hidden;
  20. }
  21. .x-spreadsheet-table {
  22. vertical-align: bottom;
  23. }
  24. .x-spreadsheet-tooltip {
  25. font-family: inherit;
  26. position: absolute;
  27. padding: 5px 10px;
  28. color: #fff;
  29. border-radius: 1px;
  30. background: #000000;
  31. font-size: 12px;
  32. z-index: 201;
  33. }
  34. .x-spreadsheet-tooltip:before {
  35. pointer-events: none;
  36. position: absolute;
  37. left: calc(50% - 4px);
  38. top: -4px;
  39. content: "";
  40. width: 8px;
  41. height: 8px;
  42. background: inherit;
  43. -webkit-transform: rotate(45deg);
  44. transform: rotate(45deg);
  45. z-index: 1;
  46. box-shadow: 1px 1px 3px -1px rgba(0, 0, 0, 0.3);
  47. }
  48. .x-spreadsheet-color-palette {
  49. padding: 5px;
  50. }
  51. .x-spreadsheet-color-palette table {
  52. margin: 0;
  53. padding: 0;
  54. border-collapse: separate;
  55. border-spacing: 2;
  56. background: #fff;
  57. }
  58. .x-spreadsheet-color-palette table td {
  59. margin: 0;
  60. cursor: pointer;
  61. border: 1px solid transparent;
  62. }
  63. .x-spreadsheet-color-palette table td:hover {
  64. border-color: #ddd;
  65. }
  66. .x-spreadsheet-color-palette table td .x-spreadsheet-color-palette-cell {
  67. width: 16px;
  68. height: 16px;
  69. }
  70. .x-spreadsheet-border-palette {
  71. padding: 6px;
  72. }
  73. .x-spreadsheet-border-palette table {
  74. margin: 0;
  75. padding: 0;
  76. border-collapse: separate;
  77. border-spacing: 0;
  78. background: #fff;
  79. table-layout: fixed;
  80. }
  81. .x-spreadsheet-border-palette table td {
  82. margin: 0;
  83. }
  84. .x-spreadsheet-border-palette .x-spreadsheet-border-palette-left {
  85. border-right: 1px solid #eee;
  86. padding-right: 6px;
  87. }
  88. .x-spreadsheet-border-palette .x-spreadsheet-border-palette-left .x-spreadsheet-border-palette-cell {
  89. width: 30px;
  90. height: 30px;
  91. cursor: pointer;
  92. text-align: center;
  93. }
  94. .x-spreadsheet-border-palette .x-spreadsheet-border-palette-left .x-spreadsheet-border-palette-cell .x-spreadsheet-icon-img {
  95. opacity: 0.8;
  96. }
  97. .x-spreadsheet-border-palette .x-spreadsheet-border-palette-left .x-spreadsheet-border-palette-cell:hover {
  98. background-color: #eee;
  99. }
  100. .x-spreadsheet-border-palette .x-spreadsheet-border-palette-right {
  101. padding-left: 6px;
  102. }
  103. .x-spreadsheet-border-palette .x-spreadsheet-border-palette-right .x-spreadsheet-toolbar-btn {
  104. margin-top: 0;
  105. margin-bottom: 3px;
  106. }
  107. .x-spreadsheet-border-palette .x-spreadsheet-border-palette-right .x-spreadsheet-line-type {
  108. position: relative;
  109. left: 0;
  110. top: -3px;
  111. }
  112. .x-spreadsheet-dropdown {
  113. position: relative;
  114. }
  115. .x-spreadsheet-dropdown .x-spreadsheet-dropdown-content {
  116. position: absolute;
  117. z-index: 200;
  118. background: #fff;
  119. box-shadow: 1px 2px 5px 2px rgba(51, 51, 51, 0.15);
  120. }
  121. .x-spreadsheet-dropdown.bottom-left .x-spreadsheet-dropdown-content {
  122. top: calc(100% + 5px);
  123. left: 0;
  124. }
  125. .x-spreadsheet-dropdown.bottom-right .x-spreadsheet-dropdown-content {
  126. top: calc(100% + 5px);
  127. right: 0;
  128. }
  129. .x-spreadsheet-dropdown.top-left .x-spreadsheet-dropdown-content {
  130. bottom: calc(100% + 5px);
  131. left: 0;
  132. }
  133. .x-spreadsheet-dropdown.top-right .x-spreadsheet-dropdown-content {
  134. bottom: calc(100% + 5px);
  135. right: 0;
  136. }
  137. .x-spreadsheet-dropdown .x-spreadsheet-dropdown-title {
  138. padding: 0 5px;
  139. display: inline-block;
  140. }
  141. .x-spreadsheet-dropdown .x-spreadsheet-dropdown-header .x-spreadsheet-icon.arrow-left {
  142. margin-left: 4px;
  143. }
  144. .x-spreadsheet-dropdown .x-spreadsheet-dropdown-header .x-spreadsheet-icon.arrow-right {
  145. width: 10px;
  146. margin-right: 4px;
  147. }
  148. .x-spreadsheet-dropdown .x-spreadsheet-dropdown-header .x-spreadsheet-icon.arrow-right .arrow-down {
  149. left: -130px;
  150. }
  151. /* resizer **/
  152. .x-spreadsheet-resizer {
  153. position: absolute;
  154. z-index: 11;
  155. }
  156. .x-spreadsheet-resizer .x-spreadsheet-resizer-hover {
  157. background-color: rgba(75, 137, 255, 0.25);
  158. }
  159. .x-spreadsheet-resizer .x-spreadsheet-resizer-line {
  160. position: absolute;
  161. }
  162. .x-spreadsheet-resizer.horizontal {
  163. cursor: row-resize;
  164. }
  165. .x-spreadsheet-resizer.horizontal .x-spreadsheet-resizer-line {
  166. border-bottom: 2px dashed #4b89ff;
  167. left: 0;
  168. bottom: 0;
  169. }
  170. .x-spreadsheet-resizer.vertical {
  171. cursor: col-resize;
  172. }
  173. .x-spreadsheet-resizer.vertical .x-spreadsheet-resizer-line {
  174. border-right: 2px dashed #4b89ff;
  175. top: 0;
  176. right: 0;
  177. }
  178. /* scrollbar */
  179. .x-spreadsheet-scrollbar {
  180. position: absolute;
  181. bottom: 0;
  182. right: 0;
  183. background-color: #f4f5f8;
  184. opacity: 0.9;
  185. z-index: 12;
  186. }
  187. .x-spreadsheet-scrollbar.horizontal {
  188. right: 15px;
  189. overflow-x: scroll;
  190. overflow-y: hidden;
  191. }
  192. .x-spreadsheet-scrollbar.horizontal > div {
  193. height: 1px;
  194. background: #ddd;
  195. }
  196. .x-spreadsheet-scrollbar.vertical {
  197. bottom: 15px;
  198. overflow-x: hidden;
  199. overflow-y: scroll;
  200. }
  201. .x-spreadsheet-scrollbar.vertical > div {
  202. width: 1px;
  203. background: #ddd;
  204. }
  205. /* @{css-prefix}-overlayer */
  206. .x-spreadsheet-overlayer {
  207. position: absolute;
  208. left: 0;
  209. top: 0;
  210. z-index: 10;
  211. }
  212. .x-spreadsheet-overlayer .x-spreadsheet-overlayer-content {
  213. position: absolute;
  214. overflow: hidden;
  215. pointer-events: none;
  216. width: 100%;
  217. height: 100%;
  218. }
  219. .x-spreadsheet-editor,
  220. .x-spreadsheet-selector {
  221. box-sizing: content-box;
  222. position: absolute;
  223. overflow: hidden;
  224. pointer-events: none;
  225. top: 0;
  226. left: 0;
  227. width: 100%;
  228. height: 100%;
  229. }
  230. /* @{css-prefix}-selector */
  231. .x-spreadsheet-selector .hide-input {
  232. position: absolute;
  233. z-index: 0;
  234. }
  235. .x-spreadsheet-selector .hide-input input {
  236. width: 0;
  237. border: none;
  238. }
  239. .x-spreadsheet-selector .x-spreadsheet-selector-area {
  240. position: absolute;
  241. border: 2px solid #4b89ff;
  242. background: rgba(75, 137, 255, 0.1);
  243. z-index: 5;
  244. }
  245. .x-spreadsheet-selector .x-spreadsheet-selector-clipboard,
  246. .x-spreadsheet-selector .x-spreadsheet-selector-autofill {
  247. position: absolute;
  248. background: transparent;
  249. z-index: 100;
  250. }
  251. .x-spreadsheet-selector .x-spreadsheet-selector-clipboard {
  252. border: 2px dashed #4b89ff;
  253. }
  254. .x-spreadsheet-selector .x-spreadsheet-selector-autofill {
  255. border: 1px dashed rgba(0, 0, 0, 0.45);
  256. }
  257. .x-spreadsheet-selector .x-spreadsheet-selector-corner {
  258. pointer-events: auto;
  259. position: absolute;
  260. cursor: crosshair;
  261. font-size: 0;
  262. height: 5px;
  263. width: 5px;
  264. right: -5px;
  265. bottom: -5px;
  266. border: 2px solid #ffffff;
  267. background: #4b89ff;
  268. }
  269. .x-spreadsheet-editor {
  270. z-index: 20;
  271. }
  272. .x-spreadsheet-editor .x-spreadsheet-editor-area {
  273. position: absolute;
  274. text-align: left;
  275. border: 2px solid #4b89ff;
  276. line-height: 0;
  277. z-index: 100;
  278. pointer-events: auto;
  279. }
  280. .x-spreadsheet-editor .x-spreadsheet-editor-area textarea {
  281. box-sizing: content-box;
  282. border: none;
  283. padding: 0 3px;
  284. outline: none;
  285. resize: none;
  286. text-align: start;
  287. overflow-y: hidden;
  288. font: 400 13px Arial, 'Lato', 'Source Sans Pro', Roboto, Helvetica, sans-serif;
  289. color: inherit;
  290. white-space: normal;
  291. word-wrap: break-word;
  292. line-height: 22px;
  293. margin: 0;
  294. }
  295. .x-spreadsheet-editor .x-spreadsheet-editor-area .textline {
  296. overflow: hidden;
  297. visibility: hidden;
  298. position: fixed;
  299. top: 0;
  300. left: 0;
  301. }
  302. .x-spreadsheet-item {
  303. user-select: none;
  304. background: 0;
  305. border: 1px solid transparent;
  306. outline: none;
  307. height: 26px;
  308. color: rgba(0, 0, 0, 0.9);
  309. line-height: 26px;
  310. list-style: none;
  311. padding: 2px 10px;
  312. cursor: default;
  313. text-align: left;
  314. overflow: hidden;
  315. }
  316. .x-spreadsheet-item.disabled {
  317. pointer-events: none;
  318. opacity: 0.5;
  319. }
  320. .x-spreadsheet-item:hover,
  321. .x-spreadsheet-item.active {
  322. background: rgba(0, 0, 0, 0.05);
  323. }
  324. .x-spreadsheet-item.divider {
  325. height: 0;
  326. padding: 0;
  327. margin: 5px 0;
  328. border: none;
  329. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  330. }
  331. .x-spreadsheet-item .label {
  332. float: right;
  333. opacity: 0.65;
  334. font-size: 1em;
  335. }
  336. .x-spreadsheet-item.state,
  337. .x-spreadsheet-header.state {
  338. padding-left: 35px!important;
  339. position: relative;
  340. }
  341. .x-spreadsheet-item.state:before,
  342. .x-spreadsheet-header.state:before {
  343. content: '';
  344. position: absolute;
  345. width: 10px;
  346. height: 10px;
  347. left: 12px;
  348. top: calc(50% - 5px);
  349. background: rgba(0, 0, 0, 0.08);
  350. border-radius: 2px;
  351. }
  352. .x-spreadsheet-item.state.checked:before,
  353. .x-spreadsheet-header.state.checked:before {
  354. background: #4b89ff;
  355. }
  356. .x-spreadsheet-checkbox {
  357. position: relative;
  358. display: inline-block;
  359. backface-visibility: hidden;
  360. outline: 0;
  361. vertical-align: baseline;
  362. font-style: normal;
  363. font-size: 1rem;
  364. line-height: 1em;
  365. }
  366. .x-spreadsheet-checkbox > input {
  367. position: absolute;
  368. top: 0;
  369. left: 0;
  370. opacity: 0!important;
  371. outline: 0;
  372. z-index: -1;
  373. }
  374. .x-spreadsheet-suggest,
  375. .x-spreadsheet-contextmenu,
  376. .x-spreadsheet-sort-filter {
  377. position: absolute;
  378. box-shadow: 1px 2px 5px 2px rgba(51, 51, 51, 0.15);
  379. background: #fff;
  380. z-index: 100;
  381. width: 260px;
  382. pointer-events: auto;
  383. overflow: auto;
  384. }
  385. .x-spreadsheet-suggest {
  386. width: 200px;
  387. }
  388. .x-spreadsheet-filter {
  389. border: 1px solid #e9e9e9;
  390. font-size: 12px;
  391. margin: 10px;
  392. }
  393. .x-spreadsheet-filter .x-spreadsheet-header {
  394. padding: 0.5em 0.75em;
  395. background: #f8f8f9;
  396. border-bottom: 1px solid #e9e9e9;
  397. border-left: 1px solid transparent;
  398. }
  399. .x-spreadsheet-filter .x-spreadsheet-body {
  400. height: 200px;
  401. overflow-y: auto;
  402. }
  403. .x-spreadsheet-filter .x-spreadsheet-body .x-spreadsheet-item {
  404. height: 20px;
  405. line-height: 20px;
  406. }
  407. .x-spreadsheet-sort-filter .x-spreadsheet-buttons {
  408. margin: 10px;
  409. }
  410. .x-spreadsheet-toolbar,
  411. .x-spreadsheet-bottombar {
  412. height: 40px;
  413. padding: 0 30px;
  414. text-align: left;
  415. background: #f5f6f7;
  416. display: flex;
  417. }
  418. .x-spreadsheet-bottombar {
  419. position: relative;
  420. border-top: 1px solid #e0e2e4;
  421. }
  422. .x-spreadsheet-bottombar .x-spreadsheet-menu > li {
  423. line-height: 40px;
  424. height: 40px;
  425. padding-top: 0;
  426. padding-bottom: 0;
  427. vertical-align: middle;
  428. border-right: 1px solid #e8eaed;
  429. }
  430. .x-spreadsheet-menu {
  431. list-style: none;
  432. margin: 0;
  433. padding: 0;
  434. user-select: none;
  435. }
  436. .x-spreadsheet-menu > li {
  437. float: left;
  438. line-height: 1.25em;
  439. padding: 0.785em 1em;
  440. margin: 0;
  441. vertical-align: middle;
  442. text-align: left;
  443. font-weight: 400;
  444. color: #80868b;
  445. white-space: nowrap;
  446. cursor: pointer;
  447. transition: all 0.3s;
  448. font-weight: bold;
  449. }
  450. .x-spreadsheet-menu > li.active {
  451. background-color: #fff;
  452. color: rgba(0, 0, 0, 0.65);
  453. }
  454. .x-spreadsheet-menu > li .x-spreadsheet-icon {
  455. margin: 0 6px;
  456. }
  457. .x-spreadsheet-menu > li .x-spreadsheet-icon .x-spreadsheet-icon-img:hover {
  458. opacity: 0.85;
  459. }
  460. .x-spreadsheet-menu > li .x-spreadsheet-dropdown {
  461. display: inline-block;
  462. }
  463. .x-spreadsheet-toolbar {
  464. border-bottom: 1px solid #e0e2e4;
  465. }
  466. .x-spreadsheet-toolbar .x-spreadsheet-toolbar-btns {
  467. display: inline-flex;
  468. }
  469. .x-spreadsheet-toolbar .x-spreadsheet-toolbar-more {
  470. padding: 0 6px 6px;
  471. text-align: left;
  472. }
  473. .x-spreadsheet-toolbar .x-spreadsheet-toolbar-more .x-spreadsheet-toolbar-divider {
  474. margin-top: 0;
  475. }
  476. .x-spreadsheet-toolbar .x-spreadsheet-toolbar-btn {
  477. flex: 0 0 auto;
  478. display: inline-block;
  479. border: 1px solid transparent;
  480. height: 26px;
  481. line-height: 26px;
  482. min-width: 26px;
  483. margin: 6px 1px 0;
  484. padding: 0;
  485. text-align: center;
  486. border-radius: 2px;
  487. }
  488. .x-spreadsheet-toolbar .x-spreadsheet-toolbar-btn.disabled {
  489. pointer-events: none;
  490. opacity: 0.5;
  491. }
  492. .x-spreadsheet-toolbar .x-spreadsheet-toolbar-btn:hover,
  493. .x-spreadsheet-toolbar .x-spreadsheet-toolbar-btn.active {
  494. background: rgba(0, 0, 0, 0.08);
  495. }
  496. .x-spreadsheet-toolbar-divider {
  497. display: inline-block;
  498. border-right: 1px solid #e0e2e4;
  499. width: 0;
  500. vertical-align: middle;
  501. height: 18px;
  502. margin: 12px 3px 0;
  503. }
  504. .x-spreadsheet-print {
  505. position: absolute;
  506. left: 0;
  507. top: 0;
  508. z-index: 100;
  509. width: 100%;
  510. height: 100%;
  511. display: flex;
  512. flex-direction: column;
  513. }
  514. .x-spreadsheet-print-bar {
  515. background: #424242;
  516. height: 60px;
  517. line-height: 60px;
  518. padding: 0 30px;
  519. }
  520. .x-spreadsheet-print-bar .-title {
  521. color: #fff;
  522. font-weight: bold;
  523. font-size: 1.2em;
  524. float: left;
  525. }
  526. .x-spreadsheet-print-bar .-right {
  527. float: right;
  528. margin-top: 12px;
  529. }
  530. .x-spreadsheet-print-content {
  531. display: flex;
  532. flex: auto;
  533. flex-direction: row;
  534. background: #d0d0d0;
  535. height: calc(100% - 60px);
  536. }
  537. .x-spreadsheet-print-content .-sider {
  538. flex: 0 0 300px;
  539. width: 300px;
  540. border-left: 2px solid #ccc;
  541. background: #fff;
  542. }
  543. .x-spreadsheet-print-content .-content {
  544. flex: auto;
  545. overflow-x: auto;
  546. overflow-y: scroll;
  547. height: 100%;
  548. }
  549. .x-spreadsheet-canvas-card-wraper {
  550. margin: 40px 20px;
  551. }
  552. .x-spreadsheet-canvas-card {
  553. background: #fff;
  554. margin: auto;
  555. page-break-before: auto;
  556. page-break-after: always;
  557. box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 3px rgba(0, 0, 0, 0.12), 0 4px 5px 0 rgba(0, 0, 0, 0.2);
  558. }
  559. .x-spreadsheet-calendar {
  560. color: rgba(0, 0, 0, 0.65);
  561. background: #ffffff;
  562. user-select: none;
  563. }
  564. .x-spreadsheet-calendar .calendar-header {
  565. font-weight: 700;
  566. line-height: 30px;
  567. text-align: center;
  568. width: 100%;
  569. float: left;
  570. background: #f9fafb;
  571. }
  572. .x-spreadsheet-calendar .calendar-header .calendar-header-left {
  573. padding-left: 5px;
  574. float: left;
  575. }
  576. .x-spreadsheet-calendar .calendar-header .calendar-header-right {
  577. float: right;
  578. }
  579. .x-spreadsheet-calendar .calendar-header .calendar-header-right a {
  580. padding: 3px 0;
  581. margin-right: 2px;
  582. border-radius: 2px;
  583. }
  584. .x-spreadsheet-calendar .calendar-header .calendar-header-right a:hover {
  585. background: rgba(0, 0, 0, 0.08);
  586. }
  587. .x-spreadsheet-calendar .calendar-body {
  588. border-collapse: collapse;
  589. border-spacing: 0;
  590. }
  591. .x-spreadsheet-calendar .calendar-body th,
  592. .x-spreadsheet-calendar .calendar-body td {
  593. width: 14.28571429%;
  594. min-width: 32px;
  595. text-align: center;
  596. font-weight: 700;
  597. line-height: 30px;
  598. padding: 0;
  599. }
  600. .x-spreadsheet-calendar .calendar-body td > .cell:hover {
  601. background: #ecf6fd;
  602. }
  603. .x-spreadsheet-calendar .calendar-body td > .cell.active,
  604. .x-spreadsheet-calendar .calendar-body td > .cell.active:hover {
  605. background: #ecf6fd;
  606. color: #2185D0;
  607. }
  608. .x-spreadsheet-calendar .calendar-body td > .cell.disabled {
  609. pointer-events: none;
  610. opacity: 0.5;
  611. }
  612. .x-spreadsheet-datepicker {
  613. box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  614. position: absolute;
  615. left: 0;
  616. top: calc(100% + 5px);
  617. z-index: 10;
  618. width: auto;
  619. }
  620. .x-spreadsheet-buttons {
  621. display: flex;
  622. justify-content: flex-end;
  623. }
  624. .x-spreadsheet-buttons .x-spreadsheet-button {
  625. margin-left: 8px;
  626. }
  627. .x-spreadsheet-button {
  628. display: inline-block;
  629. border-radius: 3px;
  630. line-height: 1em;
  631. min-height: 1em;
  632. white-space: nowrap;
  633. text-align: center;
  634. cursor: pointer;
  635. font-size: 1em;
  636. font-weight: 700;
  637. padding: 0.75em 1em;
  638. color: rgba(0, 0, 0, 0.6);
  639. background: #E0E1E2;
  640. text-decoration: none;
  641. font-family: "Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif;
  642. outline: none;
  643. vertical-align: baseline;
  644. zoom: 1;
  645. user-select: none;
  646. transition: all 0.1s linear;
  647. }
  648. .x-spreadsheet-button.active,
  649. .x-spreadsheet-button:hover {
  650. background-color: #C0C1C2;
  651. color: rgba(0, 0, 0, 0.8);
  652. }
  653. .x-spreadsheet-button.primary {
  654. color: #fff;
  655. background-color: #2185D0;
  656. }
  657. .x-spreadsheet-button.primary:hover,
  658. .x-spreadsheet-button.primary.active {
  659. color: #fff;
  660. background-color: #1678c2;
  661. }
  662. .x-spreadsheet-form-input {
  663. font-size: 1em;
  664. position: relative;
  665. font-weight: 400;
  666. display: inline-flex;
  667. color: rgba(0, 0, 0, 0.87);
  668. }
  669. .x-spreadsheet-form-input input {
  670. z-index: 1;
  671. margin: 0;
  672. max-width: 100%;
  673. flex: 1 0 auto;
  674. outline: 0;
  675. -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  676. text-align: left;
  677. line-height: 30px;
  678. height: 30px;
  679. padding: 0 8px;
  680. background: #fff;
  681. border: 1px solid #e9e9e9;
  682. border-radius: 3px;
  683. transition: box-shadow 0.1s ease, border-color 0.1s ease;
  684. box-shadow: inset 0 1px 2px hsla(0, 0%, 4%, 0.06);
  685. }
  686. .x-spreadsheet-form-input input:focus {
  687. border-color: #4b89ff;
  688. box-shadow: inset 0 1px 2px rgba(75, 137, 255, 0.2);
  689. }
  690. .x-spreadsheet-form-select {
  691. position: relative;
  692. display: inline-block;
  693. background: #fff;
  694. border: 1px solid #e9e9e9;
  695. border-radius: 2px;
  696. cursor: pointer;
  697. color: rgba(0, 0, 0, 0.87);
  698. user-select: none;
  699. box-shadow: inset 0 1px 2px hsla(0, 0%, 4%, 0.06);
  700. }
  701. .x-spreadsheet-form-select .input-text {
  702. text-overflow: ellipsis;
  703. white-space: nowrap;
  704. min-width: 60px;
  705. width: auto;
  706. height: 30px;
  707. line-height: 30px;
  708. padding: 0 8px;
  709. }
  710. .x-spreadsheet-form-fields {
  711. display: flex;
  712. flex-direction: row;
  713. flex-wrap: wrap;
  714. }
  715. .x-spreadsheet-form-fields .x-spreadsheet-form-field {
  716. flex: 0 1 auto;
  717. }
  718. .x-spreadsheet-form-fields .x-spreadsheet-form-field .label {
  719. display: inline-block;
  720. margin: 0 10px 0 0;
  721. }
  722. .x-spreadsheet-form-field {
  723. display: block;
  724. vertical-align: middle;
  725. margin-left: 10px;
  726. margin-bottom: 10px;
  727. }
  728. .x-spreadsheet-form-field:first-child {
  729. margin-left: 0;
  730. }
  731. .x-spreadsheet-form-field.error .x-spreadsheet-form-select,
  732. .x-spreadsheet-form-field.error input {
  733. border-color: #f04134;
  734. }
  735. .x-spreadsheet-form-field .tip {
  736. color: #f04134;
  737. font-size: 0.9em;
  738. }
  739. .x-spreadsheet-dimmer {
  740. display: none;
  741. position: absolute;
  742. top: 0 !important;
  743. left: 0 !important;
  744. width: 100%;
  745. height: 100%;
  746. text-align: center;
  747. vertical-align: middle;
  748. background-color: rgba(0, 0, 0, 0.6);
  749. opacity: 0;
  750. -webkit-animation-fill-mode: both;
  751. animation-fill-mode: both;
  752. -webkit-animation-duration: 0.5s;
  753. animation-duration: 0.5s;
  754. transition: background-color 0.5s linear;
  755. user-select: none;
  756. z-index: 1000;
  757. }
  758. .x-spreadsheet-dimmer.active {
  759. display: block;
  760. opacity: 1;
  761. }
  762. form fieldset {
  763. border: none;
  764. }
  765. form fieldset label {
  766. display: block;
  767. margin-bottom: 0.5em;
  768. font-size: 1em;
  769. color: #666;
  770. }
  771. form fieldset select {
  772. font-size: 1.1em;
  773. width: 100%;
  774. background-color: #fff;
  775. border: none;
  776. border-bottom: 2px solid #ddd;
  777. padding: 0.5em 0.85em;
  778. border-radius: 2px;
  779. }
  780. .x-spreadsheet-modal,
  781. .x-spreadsheet-toast {
  782. font-size: 13px;
  783. position: fixed;
  784. z-index: 1001;
  785. text-align: left;
  786. line-height: 1.25em;
  787. min-width: 360px;
  788. color: rgba(0, 0, 0, 0.87);
  789. font-family: 'Lato', 'Source Sans Pro', Roboto, Helvetica, Arial, sans-serif;
  790. border-radius: 4px;
  791. border: 1px solid rgba(0, 0, 0, 0.1);
  792. background-color: #fff;
  793. background-clip: padding-box;
  794. box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 8px;
  795. }
  796. .x-spreadsheet-toast {
  797. background-color: rgba(255, 255, 255, 0.85);
  798. }
  799. .x-spreadsheet-modal-header,
  800. .x-spreadsheet-toast-header {
  801. font-weight: 600;
  802. background-clip: padding-box;
  803. background-color: rgba(255, 255, 255, 0.85);
  804. border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  805. border-radius: 4px 4px 0 0;
  806. }
  807. .x-spreadsheet-modal-header .x-spreadsheet-icon,
  808. .x-spreadsheet-toast-header .x-spreadsheet-icon {
  809. position: absolute;
  810. right: 0.8em;
  811. top: 0.65em;
  812. border-radius: 18px;
  813. }
  814. .x-spreadsheet-modal-header .x-spreadsheet-icon:hover,
  815. .x-spreadsheet-toast-header .x-spreadsheet-icon:hover {
  816. opacity: 1;
  817. background: rgba(0, 0, 0, 0.08);
  818. }
  819. .x-spreadsheet-toast-header {
  820. color: #F2711C;
  821. }
  822. .x-spreadsheet-modal-header {
  823. border-bottom: 1px solid #e0e2e4;
  824. background: rgba(0, 0, 0, 0.08);
  825. font-size: 1.0785em;
  826. }
  827. .x-spreadsheet-modal-header,
  828. .x-spreadsheet-modal-content,
  829. .x-spreadsheet-toast-header,
  830. .x-spreadsheet-toast-content {
  831. padding: 0.75em 1em;
  832. }
  833. @media screen and (min-width: 320px) and (max-width: 480px) {
  834. .x-spreadsheet-toolbar {
  835. display: none;
  836. }
  837. }
  838. .x-spreadsheet-icon {
  839. width: 18px;
  840. height: 18px;
  841. margin: 1px 1px 2px 1px;
  842. text-align: center;
  843. vertical-align: middle;
  844. user-select: none;
  845. overflow: hidden;
  846. position: relative;
  847. display: inline-block;
  848. }
  849. .x-spreadsheet-icon .x-spreadsheet-icon-img {
  850. background-image: url(58eaeb4e52248a5c75936c6f4c33a370.svg);
  851. position: absolute;
  852. width: 262px;
  853. height: 444px;
  854. opacity: 0.56;
  855. }
  856. .x-spreadsheet-icon .x-spreadsheet-icon-img.undo {
  857. left: 0;
  858. top: 0;
  859. }
  860. .x-spreadsheet-icon .x-spreadsheet-icon-img.redo {
  861. left: -18px;
  862. top: 0;
  863. }
  864. .x-spreadsheet-icon .x-spreadsheet-icon-img.print {
  865. left: -36px;
  866. top: 0;
  867. }
  868. .x-spreadsheet-icon .x-spreadsheet-icon-img.paintformat {
  869. left: -54px;
  870. top: 0;
  871. }
  872. .x-spreadsheet-icon .x-spreadsheet-icon-img.clearformat {
  873. left: -72px;
  874. top: 0;
  875. }
  876. .x-spreadsheet-icon .x-spreadsheet-icon-img.font-bold {
  877. left: -90px;
  878. top: 0;
  879. }
  880. .x-spreadsheet-icon .x-spreadsheet-icon-img.font-italic {
  881. left: -108px;
  882. top: 0;
  883. }
  884. .x-spreadsheet-icon .x-spreadsheet-icon-img.underline {
  885. left: -126px;
  886. top: 0;
  887. }
  888. .x-spreadsheet-icon .x-spreadsheet-icon-img.strike {
  889. left: -144px;
  890. top: 0;
  891. }
  892. .x-spreadsheet-icon .x-spreadsheet-icon-img.color {
  893. left: -162px;
  894. top: 0;
  895. }
  896. .x-spreadsheet-icon .x-spreadsheet-icon-img.bgcolor {
  897. left: -180px;
  898. top: 0;
  899. }
  900. .x-spreadsheet-icon .x-spreadsheet-icon-img.merge {
  901. left: -198px;
  902. top: 0;
  903. }
  904. .x-spreadsheet-icon .x-spreadsheet-icon-img.align-left {
  905. left: -216px;
  906. top: 0;
  907. }
  908. .x-spreadsheet-icon .x-spreadsheet-icon-img.align-center {
  909. left: -234px;
  910. top: 0;
  911. }
  912. .x-spreadsheet-icon .x-spreadsheet-icon-img.align-right {
  913. left: 0;
  914. top: -18px;
  915. }
  916. .x-spreadsheet-icon .x-spreadsheet-icon-img.align-top {
  917. left: -18px;
  918. top: -18px;
  919. }
  920. .x-spreadsheet-icon .x-spreadsheet-icon-img.align-middle {
  921. left: -36px;
  922. top: -18px;
  923. }
  924. .x-spreadsheet-icon .x-spreadsheet-icon-img.align-bottom {
  925. left: -54px;
  926. top: -18px;
  927. }
  928. .x-spreadsheet-icon .x-spreadsheet-icon-img.textwrap {
  929. left: -72px;
  930. top: -18px;
  931. }
  932. .x-spreadsheet-icon .x-spreadsheet-icon-img.autofilter {
  933. left: -90px;
  934. top: -18px;
  935. }
  936. .x-spreadsheet-icon .x-spreadsheet-icon-img.formula {
  937. left: -108px;
  938. top: -18px;
  939. }
  940. .x-spreadsheet-icon .x-spreadsheet-icon-img.arrow-down {
  941. left: -126px;
  942. top: -18px;
  943. }
  944. .x-spreadsheet-icon .x-spreadsheet-icon-img.arrow-right {
  945. left: -144px;
  946. top: -18px;
  947. }
  948. .x-spreadsheet-icon .x-spreadsheet-icon-img.link {
  949. left: -162px;
  950. top: -18px;
  951. }
  952. .x-spreadsheet-icon .x-spreadsheet-icon-img.chart {
  953. left: -180px;
  954. top: -18px;
  955. }
  956. .x-spreadsheet-icon .x-spreadsheet-icon-img.freeze {
  957. left: -198px;
  958. top: -18px;
  959. }
  960. .x-spreadsheet-icon .x-spreadsheet-icon-img.ellipsis {
  961. left: -216px;
  962. top: -18px;
  963. }
  964. .x-spreadsheet-icon .x-spreadsheet-icon-img.add {
  965. left: -234px;
  966. top: -18px;
  967. }
  968. .x-spreadsheet-icon .x-spreadsheet-icon-img.border-all {
  969. left: 0;
  970. top: -36px;
  971. }
  972. .x-spreadsheet-icon .x-spreadsheet-icon-img.border-inside {
  973. left: -18px;
  974. top: -36px;
  975. }
  976. .x-spreadsheet-icon .x-spreadsheet-icon-img.border-horizontal {
  977. left: -36px;
  978. top: -36px;
  979. }
  980. .x-spreadsheet-icon .x-spreadsheet-icon-img.border-vertical {
  981. left: -54px;
  982. top: -36px;
  983. }
  984. .x-spreadsheet-icon .x-spreadsheet-icon-img.border-outside {
  985. left: -72px;
  986. top: -36px;
  987. }
  988. .x-spreadsheet-icon .x-spreadsheet-icon-img.border-left {
  989. left: -90px;
  990. top: -36px;
  991. }
  992. .x-spreadsheet-icon .x-spreadsheet-icon-img.border-top {
  993. left: -108px;
  994. top: -36px;
  995. }
  996. .x-spreadsheet-icon .x-spreadsheet-icon-img.border-right {
  997. left: -126px;
  998. top: -36px;
  999. }
  1000. .x-spreadsheet-icon .x-spreadsheet-icon-img.border-bottom {
  1001. left: -144px;
  1002. top: -36px;
  1003. }
  1004. .x-spreadsheet-icon .x-spreadsheet-icon-img.border-none {
  1005. left: -162px;
  1006. top: -36px;
  1007. }
  1008. .x-spreadsheet-icon .x-spreadsheet-icon-img.line-color {
  1009. left: -180px;
  1010. top: -36px;
  1011. }
  1012. .x-spreadsheet-icon .x-spreadsheet-icon-img.line-type {
  1013. left: -198px;
  1014. top: -36px;
  1015. }
  1016. .x-spreadsheet-icon .x-spreadsheet-icon-img.close {
  1017. left: -234px;
  1018. top: -36px;
  1019. }
  1020. .x-spreadsheet-icon .x-spreadsheet-icon-img.chevron-down {
  1021. left: 0;
  1022. top: -54px;
  1023. }
  1024. .x-spreadsheet-icon .x-spreadsheet-icon-img.chevron-up {
  1025. left: -18px;
  1026. top: -54px;
  1027. }
  1028. .x-spreadsheet-icon .x-spreadsheet-icon-img.chevron-left {
  1029. left: -36px;
  1030. top: -54px;
  1031. }
  1032. .x-spreadsheet-icon .x-spreadsheet-icon-img.chevron-right {
  1033. left: -54px;
  1034. top: -54px;
  1035. }
  1036. /*# sourceMappingURL=xspreadsheet.css.map*/