handsontable.full.css 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101
  1. /*!
  2. * Handsontable 0.12.3
  3. * Handsontable is a JavaScript library for editable tables with basic copy-paste compatibility with Excel and Google Docs
  4. *
  5. * Copyright 2012-2014 Marcin Warpechowski
  6. * Licensed under the MIT license.
  7. * http://handsontable.com/
  8. *
  9. * Date: Mon Jan 12 2015 10:24:46 GMT+0100 (CET)
  10. */
  11. .handsontable {
  12. position: relative;
  13. }
  14. .handsontable .hide{
  15. display: none;
  16. }
  17. .handsontable .relative {
  18. position: relative;
  19. }
  20. .handsontable.htAutoColumnSize {
  21. visibility: hidden;
  22. left: 0;
  23. position: absolute;
  24. top: 0;
  25. }
  26. .handsontable .wtHider {
  27. width: 0;
  28. }
  29. .handsontable .wtSpreader {
  30. position: relative;
  31. width: 0; /*must be 0, otherwise blank space appears in scroll demo after scrolling max to the right */
  32. height: auto;
  33. }
  34. .handsontable table,
  35. .handsontable tbody,
  36. .handsontable thead,
  37. .handsontable td,
  38. .handsontable th,
  39. .handsontable input,
  40. .handsontable textarea,
  41. .handsontable div {
  42. box-sizing: content-box;
  43. -webkit-box-sizing: content-box;
  44. -moz-box-sizing: content-box;
  45. }
  46. .handsontable input,
  47. .handsontable textarea {
  48. min-height: initial;
  49. }
  50. .handsontable table.htCore {
  51. border-collapse: separate;
  52. /*it must be separate, otherwise there are offset miscalculations in WebKit: http://stackoverflow.com/questions/2655987/border-collapse-differences-in-ff-and-webkit*/
  53. /*this actually only changes appearance of user selection - does not make text unselectable
  54. -webkit-user-select: none;
  55. -khtml-user-select: none;
  56. -moz-user-select: none;
  57. -o-user-select: none;
  58. -ms-user-select: none;
  59. /*user-select: none; /*no browser supports unprefixed version*/
  60. border-spacing: 0;
  61. margin: 0;
  62. border-width: 0;
  63. table-layout: fixed;
  64. width: 0;
  65. outline-width: 0;
  66. /* reset bootstrap table style. for more info see: https://github.com/handsontable/handsontable/issues/224 */
  67. max-width: none;
  68. max-height: none;
  69. }
  70. .handsontable col {
  71. width: 50px;
  72. }
  73. .handsontable col.rowHeader {
  74. width: 50px;
  75. }
  76. .handsontable th,
  77. .handsontable td {
  78. border-right: 1px solid #CCC;
  79. border-bottom: 1px solid #CCC;
  80. height: 22px;
  81. empty-cells: show;
  82. line-height: 21px;
  83. padding: 0 4px 0 4px;
  84. /* top, bottom padding different than 0 is handled poorly by FF with HTML5 doctype */
  85. background-color: #FFF;
  86. vertical-align: top;
  87. overflow: hidden;
  88. outline-width: 0;
  89. white-space: pre-line;
  90. /* preserve new line character in cell */
  91. }
  92. .handsontable td.htInvalid {
  93. background-color: #ff4c42 !important; /*gives priority over td.area selection background*/
  94. }
  95. .handsontable td.htNoWrap {
  96. white-space: nowrap;
  97. }
  98. .handsontable th:last-child {
  99. /*Foundation framework fix*/
  100. border-right: 1px solid #CCC;
  101. border-bottom: 1px solid #CCC;
  102. }
  103. .handsontable tr:first-child th.htNoFrame,
  104. .handsontable th:first-child.htNoFrame,
  105. .handsontable th.htNoFrame {
  106. border-left-width: 0;
  107. background-color: white;
  108. border-color: #FFF;
  109. }
  110. .handsontable th:first-child,
  111. .handsontable td:first-child,
  112. .handsontable .htNoFrame + th,
  113. .handsontable .htNoFrame + td {
  114. border-left: 1px solid #CCC;
  115. }
  116. .handsontable tr:first-child th,
  117. .handsontable tr:first-child td {
  118. border-top: 1px solid #CCC;
  119. }
  120. .handsontable thead tr:last-child th {
  121. border-bottom-width: 0;
  122. }
  123. .handsontable thead tr.lastChild th {
  124. border-bottom-width: 0;
  125. }
  126. .handsontable th {
  127. background-color: #EEE;
  128. color: #222;
  129. text-align: center;
  130. font-weight: normal;
  131. white-space: nowrap;
  132. }
  133. .handsontable thead th {
  134. padding: 0;
  135. }
  136. .handsontable th.active {
  137. background-color: #CCC;
  138. }
  139. .handsontable thead th .relative {
  140. padding: 2px 4px;
  141. }
  142. /* plugins */
  143. .handsontable .manualColumnMover {
  144. position: fixed;
  145. left: 0;
  146. top: 0;
  147. background-color: transparent;
  148. width: 5px;
  149. height: 25px;
  150. z-index: 999;
  151. cursor: move;
  152. }
  153. .handsontable .manualRowMover {
  154. position: fixed;
  155. left: -4px;
  156. top: 0;
  157. background-color: transparent;
  158. height: 5px;
  159. width: 50px;
  160. z-index: 999;
  161. cursor: move;
  162. }
  163. .handsontable .manualColumnMoverGuide,
  164. .handsontable .manualRowMoverGuide {
  165. position: fixed;
  166. left: 0;
  167. top: 0;
  168. background-color: #CCC;
  169. width: 25px;
  170. height: 25px;
  171. opacity: 0.7;
  172. display: none;
  173. }
  174. .handsontable .manualColumnMoverGuide.active,
  175. .handsontable .manualRowMoverGuide.active {
  176. display: block;
  177. }
  178. .handsontable .manualColumnMover:hover,
  179. .handsontable .manualColumnMover.active,
  180. .handsontable .manualRowMover:hover,
  181. .handsontable .manualRowMover.active{
  182. background-color: #88F;
  183. }
  184. /* row + column resizer*/
  185. .handsontable .manualColumnResizer {
  186. position: fixed;
  187. top: 0;
  188. cursor: col-resize;
  189. z-index: 110;
  190. width: 5px;
  191. height: 25px;
  192. }
  193. .handsontable .manualRowResizer {
  194. position: fixed;
  195. left: 0;
  196. cursor: row-resize;
  197. z-index: 110;
  198. height: 5px;
  199. width: 50px;
  200. }
  201. .handsontable .manualColumnResizer:hover,
  202. .handsontable .manualColumnResizer.active,
  203. .handsontable .manualRowResizer:hover,
  204. .handsontable .manualRowResizer.active {
  205. background-color: #AAB;
  206. }
  207. .handsontable .manualColumnResizerGuide {
  208. position: fixed;
  209. right: 0;
  210. top: 0;
  211. background-color: #AAB;
  212. display: none;
  213. width: 0;
  214. border-right: 1px dashed #777;
  215. margin-left: 5px;
  216. }
  217. .handsontable .manualRowResizerGuide {
  218. position: fixed;
  219. left: 0;
  220. bottom: 0;
  221. background-color: #AAB;
  222. display: none;
  223. height: 0;
  224. border-bottom: 1px dashed #777;
  225. margin-top: 5px;
  226. }
  227. .handsontable .manualColumnResizerGuide.active,
  228. .handsontable .manualRowResizerGuide.active {
  229. display: block;
  230. }
  231. .handsontable .columnSorting:hover {
  232. text-decoration: underline;
  233. cursor: pointer;
  234. }
  235. /* border line */
  236. .handsontable .wtBorder {
  237. position: absolute;
  238. font-size: 0;
  239. }
  240. .handsontable .wtBorder.hidden{
  241. display:none !important;
  242. }
  243. .handsontable td.area {
  244. background-color: #EEF4FF;
  245. }
  246. /* fill handle */
  247. .handsontable .wtBorder.corner {
  248. font-size: 0;
  249. cursor: crosshair;
  250. }
  251. .handsontable .htBorder.htFillBorder {
  252. background: red;
  253. width: 1px;
  254. height: 1px;
  255. }
  256. .handsontableInput {
  257. border: 2px solid #5292F7;
  258. outline-width: 0;
  259. margin: 0;
  260. padding: 1px 4px 0 2px;
  261. font-family: inherit;
  262. line-height: inherit;
  263. font-size: inherit;
  264. -webkit-box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.4);
  265. box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.4);
  266. resize: none;
  267. /*below are needed to overwrite stuff added by jQuery UI Bootstrap theme*/
  268. display: inline-block;
  269. color: #000;
  270. border-radius: 0;
  271. background-color: #FFF;
  272. /*overwrite styles potentionally made by a framework*/
  273. }
  274. .handsontableInput:focus {
  275. border: 2px solid #5292F7;
  276. }
  277. .handsontableInputHolder {
  278. position: absolute;
  279. top: 0;
  280. left: 0;
  281. z-index: 100;
  282. }
  283. .htSelectEditor {
  284. -webkit-appearance: menulist-button !important;
  285. position: absolute;
  286. width: auto;
  287. }
  288. /*
  289. TextRenderer readOnly cell
  290. */
  291. .handsontable .htDimmed {
  292. color: #777;
  293. }
  294. .handsontable .htSubmenu {
  295. position: relative;
  296. }
  297. .handsontable .htSubmenu :after{
  298. content: '▶';
  299. color: #777;
  300. position: absolute;
  301. right: 5px;
  302. }
  303. /*
  304. TextRenderer horizontal alignment
  305. */
  306. .handsontable .htLeft{
  307. text-align: left;
  308. }
  309. .handsontable .htCenter{
  310. text-align: center;
  311. }
  312. .handsontable .htRight{
  313. text-align: right;
  314. }
  315. .handsontable .htJustify{
  316. text-align: justify;
  317. }
  318. /*
  319. TextRenderer vertical alignment
  320. */
  321. .handsontable .htTop{
  322. vertical-align: top;
  323. }
  324. .handsontable .htMiddle{
  325. vertical-align: middle;
  326. }
  327. .handsontable .htBottom{
  328. vertical-align: bottom;
  329. }
  330. /*
  331. TextRenderer placeholder value
  332. */
  333. .handsontable .htPlaceholder {
  334. color: #999;
  335. }
  336. /*
  337. AutocompleteRenderer down arrow
  338. */
  339. .handsontable .htAutocompleteArrow {
  340. float: right;
  341. font-size: 10px;
  342. color: #EEE;
  343. cursor: default;
  344. width: 16px;
  345. text-align: center;
  346. }
  347. .handsontable td .htAutocompleteArrow:hover {
  348. color: #777;
  349. }
  350. /*
  351. CheckboxRenderer
  352. */
  353. .handsontable .htCheckboxRendererInput.noValue {
  354. opacity: 0.5;
  355. }
  356. /*
  357. NumericRenderer
  358. */
  359. .handsontable .htNumeric {
  360. text-align: right;
  361. }
  362. /*
  363. Comment For Cell
  364. */
  365. .htCommentCell{
  366. position: relative;
  367. }
  368. .htCommentCell:after{
  369. content: '';
  370. position: absolute;
  371. top: 0;
  372. right: 0;
  373. border-left: 6px solid transparent;
  374. border-top: 6px solid red;
  375. }
  376. @-webkit-keyframes opacity-hide {
  377. from {
  378. opacity: 1;
  379. }
  380. to {
  381. opacity: 0;
  382. /*display: none;*/
  383. }
  384. }
  385. @keyframes opacity-hide {
  386. from {
  387. /*display: block;*/
  388. opacity: 1;
  389. }
  390. to {
  391. opacity: 0;
  392. /*display: none;*/
  393. }
  394. }
  395. @-webkit-keyframes opacity-show {
  396. from {
  397. opacity: 0;
  398. /*display: none;*/
  399. }
  400. to {
  401. opacity: 1;
  402. /*display: block;*/
  403. }
  404. }
  405. @keyframes opacity-show {
  406. from {
  407. opacity: 0;
  408. /*display: none;*/
  409. }
  410. to {
  411. opacity: 1;
  412. /*display: block;*/
  413. }
  414. }
  415. /**
  416. * Handsontable in Handsontable
  417. */
  418. .handsontable .handsontable .wtHider {
  419. padding: 0 0 5px 0;
  420. }
  421. .handsontable .handsontable table {
  422. -webkit-box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.4);
  423. box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.4);
  424. }
  425. /**
  426. * Autocomplete Editor
  427. */
  428. .handsontable .autocompleteEditor.handsontable {
  429. padding-right: 17px;
  430. }
  431. .handsontable .autocompleteEditor.handsontable.htMacScroll {
  432. padding-right: 15px;
  433. }
  434. /**
  435. * Handsontable listbox theme
  436. */
  437. .handsontable.listbox {
  438. margin: 0;
  439. }
  440. .handsontable.listbox .ht_master table {
  441. border: 1px solid #ccc;
  442. border-collapse: separate;
  443. background: white;
  444. }
  445. .handsontable.listbox th,
  446. .handsontable.listbox tr:first-child th,
  447. .handsontable.listbox tr:last-child th,
  448. .handsontable.listbox tr:first-child td,
  449. .handsontable.listbox td {
  450. border-width: 0;
  451. }
  452. .handsontable.listbox th,
  453. .handsontable.listbox td {
  454. white-space: nowrap;
  455. text-overflow: ellipsis;
  456. }
  457. .handsontable.listbox td.htDimmed {
  458. cursor: default;
  459. color: inherit;
  460. font-style: inherit;
  461. }
  462. .handsontable.listbox .wtBorder {
  463. visibility: hidden;
  464. }
  465. .handsontable.listbox tr td.current,
  466. .handsontable.listbox tr:hover td {
  467. background: #eee;
  468. }
  469. .htContextMenu {
  470. display: none;
  471. position: absolute;
  472. z-index: 1060; /*needs to be higher than 1050 - z-index for Twitter Bootstrap modal (#1569)*/
  473. }
  474. .htContextMenu .ht_clone_top,
  475. .htContextMenu .ht_clone_left,
  476. .htContextMenu .ht_clone_corner,
  477. .htContextMenu .ht_clone_debug {
  478. display: none;
  479. }
  480. .ht_clone_top {
  481. z-index: 101;
  482. }
  483. .ht_clone_left {
  484. z-index: 102;
  485. }
  486. .ht_clone_corner {
  487. z-index: 103;
  488. }
  489. .ht_clone_debug {
  490. z-index: 103;
  491. }
  492. .htContextMenu table.htCore {
  493. outline: 1px solid #bbb;
  494. }
  495. .htContextMenu .wtBorder {
  496. visibility: hidden;
  497. }
  498. .htContextMenu table tbody tr td {
  499. background: white;
  500. border-width: 0;
  501. padding: 4px 6px 0px 6px;
  502. cursor: pointer;
  503. overflow: hidden;
  504. white-space: nowrap;
  505. text-overflow: ellipsis;
  506. }
  507. .htContextMenu table tbody tr td:first-child {
  508. border: 0;
  509. }
  510. .htContextMenu table tbody tr td.htDimmed{
  511. font-style: normal;
  512. color: #323232;
  513. }
  514. .htContextMenu table tbody tr td.current,
  515. .htContextMenu table tbody tr td.zeroclipboard-is-hover {
  516. background: rgb(233, 233, 233);
  517. }
  518. .htContextMenu table tbody tr td.htSeparator {
  519. border-top: 1px solid #bbb;
  520. height: 0;
  521. padding: 0;
  522. }
  523. .htContextMenu table tbody tr td.htDisabled {
  524. color: #999;
  525. }
  526. .htContextMenu table tbody tr td.htDisabled:hover {
  527. background: white;
  528. color: #999;
  529. cursor: default;
  530. }
  531. .htContextMenu table tbody tr td div{
  532. padding-left: 10px;
  533. }
  534. .htContextMenu table tbody tr td div span.selected{
  535. margin-top: -2px;
  536. position: absolute;
  537. left: 4px;
  538. }
  539. .handsontable td.htSearchResult {
  540. background: #fcedd9;
  541. color: #583707;
  542. }
  543. /*
  544. Cell borders
  545. */
  546. .htBordered{
  547. /*box-sizing: border-box !important;*/
  548. border-width: 1px;
  549. }
  550. .htBordered.htTopBorderSolid{
  551. border-top-style: solid;
  552. border-top-color: #000;
  553. }
  554. .htBordered.htRightBorderSolid{
  555. border-right-style: solid;
  556. border-right-color: #000;
  557. }
  558. .htBordered.htBottomBorderSolid{
  559. border-bottom-style: solid;
  560. border-bottom-color: #000;
  561. }
  562. .htBordered.htLeftBorderSolid{
  563. border-left-style: solid;
  564. border-left-color: #000;
  565. }
  566. .htCommentTextArea{
  567. background-color: #FFFACD;
  568. box-shadow: 1px 1px 2px #bbb;
  569. font-family: 'Arial';
  570. -webkit-box-shadow: 1px 1px 2px #bbb;
  571. -moz-box-shadow: 1px 1px 2px #bbb;
  572. }
  573. /* Grouping indicators */
  574. .handsontable colgroup col.rowHeader.htGroupCol {
  575. width: 25px !important;
  576. }
  577. .handsontable colgroup col.rowHeader.htGroupColClosest {
  578. width: 30px !important;
  579. }
  580. .handsontable .htGroupIndicatorContainer {
  581. background: #fff;
  582. border: 0px;
  583. padding-bottom: 0px;
  584. vertical-align: bottom;
  585. position: relative;
  586. }
  587. .handsontable thead .htGroupIndicatorContainer {
  588. vertical-align: top;
  589. border-bottom: 0px;
  590. }
  591. .handsontable tbody tr th:nth-last-child(2) {
  592. border-right: 1px solid #CCC;
  593. }
  594. .handsontable thead tr:nth-last-child(2) th {
  595. border-bottom: 1px solid #CCC;
  596. padding-bottom: 5px;
  597. }
  598. .ht_clone_corner thead tr th:nth-last-child(2) {
  599. border-right: 1px solid #CCC;
  600. }
  601. .htVerticalGroup {
  602. height: 100%;
  603. }
  604. .htHorizontalGroup {
  605. width: 100%;
  606. height: 100%;
  607. }
  608. .htVerticalGroup:not(.htCollapseButton):after {
  609. content: "";
  610. height: 100%;
  611. width: 1px;
  612. display: block;
  613. background: #ccc;
  614. margin-left: 5px;
  615. }
  616. .htHorizontalGroup:not(.htCollapseButton):after {
  617. content: "";
  618. width: 100%;
  619. height: 1px;
  620. display: block;
  621. background: #ccc;
  622. margin-top: 20%;
  623. }
  624. .htCollapseButton {
  625. width: 10px;
  626. height: 10px;
  627. line-height: 10px;
  628. text-align: center;
  629. border-radius: 5px;
  630. border: 1px solid #f3f3f3;
  631. -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  632. box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  633. cursor: pointer;
  634. margin-bottom: 3px;
  635. position: relative;
  636. }
  637. .htCollapseButton:after {
  638. content: "";
  639. height: 300%;
  640. width: 1px;
  641. display: block;
  642. background: #ccc;
  643. margin-left: 4px;
  644. position: absolute;
  645. /*top: -300%;*/
  646. bottom: 10px;
  647. }
  648. thead .htCollapseButton {
  649. right: 5px;
  650. position: absolute;
  651. top: 5px;
  652. background: #fff;
  653. }
  654. thead .htCollapseButton:after {
  655. height: 1px;
  656. width: 700%;
  657. right: 10px;
  658. top: 4px;
  659. }
  660. .handsontable tr th .htGroupStart:after {
  661. background: transparent;
  662. border-left: 1px solid #ccc;
  663. border-top: 1px solid #ccc;
  664. width: 5px;
  665. position: relative;
  666. top: 50%;
  667. }
  668. .handsontable thead tr th .htGroupStart:after {
  669. background: transparent;
  670. border-left: 1px solid #ccc;
  671. border-top: 1px solid #ccc;
  672. height: 5px;
  673. width: 50%;
  674. position: relative;
  675. top: 0px;
  676. left: 50%;
  677. }
  678. .handsontable .htGroupLevelTrigger {
  679. -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  680. box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  681. width: 15px;
  682. height: 15px;
  683. margin: 4px auto;
  684. padding: 0px;
  685. line-height: 15px;
  686. cursor: pointer;
  687. }
  688. .handsontable tr th .htExpandButton {
  689. position: absolute;
  690. width: 10px;
  691. height: 10px;
  692. line-height: 10px;
  693. text-align: center;
  694. border-radius: 5px;
  695. border: 1px solid #f3f3f3;
  696. -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  697. box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  698. cursor: pointer;
  699. top: 0px;
  700. display: none;
  701. }
  702. .handsontable thead tr th .htExpandButton {
  703. /*left: 5px;*/
  704. top: 5px;
  705. }
  706. .handsontable tr th .htExpandButton.clickable {
  707. display: block;
  708. }
  709. .handsontable col.hidden {
  710. width: 0px !important;
  711. }
  712. .handsontable tr.hidden,
  713. .handsontable tr.hidden td,
  714. .handsontable tr.hidden th {
  715. display: none;
  716. }
  717. /*WalkontableDebugOverlay*/
  718. .wtDebugHidden {
  719. display: none;
  720. }
  721. .wtDebugVisible {
  722. display: block;
  723. -webkit-animation-duration: 0.5s;
  724. -webkit-animation-name: wtFadeInFromNone;
  725. animation-duration: 0.5s;
  726. animation-name: wtFadeInFromNone;
  727. }
  728. @keyframes wtFadeInFromNone {
  729. 0% {
  730. display: none;
  731. opacity: 0;
  732. }
  733. 1% {
  734. display: block;
  735. opacity: 0;
  736. }
  737. 100% {
  738. display: block;
  739. opacity: 1;
  740. }
  741. }
  742. @-webkit-keyframes wtFadeInFromNone {
  743. 0% {
  744. display: none;
  745. opacity: 0;
  746. }
  747. 1% {
  748. display: block;
  749. opacity: 0;
  750. }
  751. 100% {
  752. display: block;
  753. opacity: 1;
  754. }
  755. }
  756. /*
  757. Handsontable Mobile Text Editor stylesheet
  758. */
  759. .handsontable.mobile {
  760. -webkit-touch-callout:none;
  761. -webkit-user-select:none;
  762. -khtml-user-select:none;
  763. -moz-user-select:none;
  764. -ms-user-select:none;
  765. user-select:none;
  766. -webkit-tap-highlight-color:rgba(0,0,0,0);
  767. -webkit-overflow-scrolling: touch;
  768. }
  769. .htMobileEditorContainer {
  770. display: none;
  771. position: absolute;
  772. top: 0;
  773. width: 70%;
  774. height: 54pt;
  775. background: #f8f8f8;
  776. border-radius: 20px;
  777. border: 1px solid #ebebeb;
  778. z-index: 999;
  779. box-sizing: border-box;
  780. -webkit-box-sizing: border-box;
  781. -webkit-text-size-adjust: none;
  782. }
  783. .topLeftSelectionHandle:not(.ht_master .topLeftSelectionHandle),
  784. .topLeftSelectionHandle-HitArea:not(.ht_master .topLeftSelectionHandle-HitArea) {
  785. z-index: 9999;
  786. }
  787. /* Initial left/top coordinates - overwritten when actual position is set */
  788. .topLeftSelectionHandle,
  789. .topLeftSelectionHandle-HitArea,
  790. .bottomRightSelectionHandle,
  791. .bottomRightSelectionHandle-HitArea {
  792. left: -10000px;
  793. top: -10000px;
  794. }
  795. .htMobileEditorContainer.active {
  796. display: block;
  797. }
  798. .htMobileEditorContainer .inputs {
  799. position: absolute;
  800. right: 210pt;
  801. bottom: 10pt;
  802. top: 10pt;
  803. left: 14px;
  804. height: 34pt;
  805. }
  806. .htMobileEditorContainer .inputs textarea {
  807. font-size: 13pt;
  808. border: 1px solid #a1a1a1;
  809. -webkit-appearance: none;
  810. -webkit-box-shadow: none;
  811. -moz-box-shadow: none;
  812. box-shadow: none;
  813. position: absolute;
  814. left: 14px;
  815. right: 14px;
  816. top: 0;
  817. bottom: 0;
  818. padding: 7pt;
  819. }
  820. .htMobileEditorContainer .cellPointer {
  821. position: absolute;
  822. top: -13pt;
  823. height: 0;
  824. width: 0;
  825. left: 30px;
  826. border-left: 13pt solid transparent;
  827. border-right: 13pt solid transparent;
  828. border-bottom: 13pt solid #ebebeb;
  829. }
  830. .htMobileEditorContainer .cellPointer.hidden {
  831. display: none;
  832. }
  833. .htMobileEditorContainer .cellPointer:before {
  834. content: '';
  835. display: block;
  836. position: absolute;
  837. top: 2px;
  838. height: 0;
  839. width: 0;
  840. left: -13pt;
  841. border-left: 13pt solid transparent;
  842. border-right: 13pt solid transparent;
  843. border-bottom: 13pt solid #f8f8f8;
  844. }
  845. .htMobileEditorContainer .moveHandle {
  846. position: absolute;
  847. top: 10pt;
  848. left: 5px;
  849. width: 30px;
  850. bottom: 0px;
  851. cursor: move;
  852. z-index: 9999;
  853. }
  854. .htMobileEditorContainer .moveHandle:after {
  855. content: "..\a..\a..\a..";
  856. white-space: pre;
  857. line-height: 10px;
  858. font-size: 20pt;
  859. display: inline-block;
  860. margin-top: -8px;
  861. color: #ebebeb;
  862. }
  863. .htMobileEditorContainer .positionControls {
  864. width: 205pt;
  865. position: absolute;
  866. right: 5pt;
  867. top: 0;
  868. bottom: 0;
  869. }
  870. .htMobileEditorContainer .positionControls > div {
  871. width: 50pt;
  872. height: 100%;
  873. float: left;
  874. }
  875. .htMobileEditorContainer .positionControls > div:after {
  876. content: " ";
  877. display: block;
  878. width: 15pt;
  879. height: 15pt;
  880. text-align: center;
  881. line-height: 50pt;
  882. }
  883. .htMobileEditorContainer .leftButton:after,
  884. .htMobileEditorContainer .rightButton:after,
  885. .htMobileEditorContainer .upButton:after,
  886. .htMobileEditorContainer .downButton:after {
  887. transform-origin: 5pt 5pt;
  888. -webkit-transform-origin: 5pt 5pt;
  889. margin: 21pt 0 0 21pt;
  890. }
  891. .htMobileEditorContainer .leftButton:after {
  892. border-top: 2px solid #288ffe;
  893. border-left: 2px solid #288ffe;
  894. -webkit-transform: rotate(-45deg);
  895. /*margin-top: 17pt;*/
  896. /*margin-left: 20pt;*/
  897. }
  898. .htMobileEditorContainer .leftButton:active:after {
  899. border-color: #cfcfcf;
  900. }
  901. .htMobileEditorContainer .rightButton:after {
  902. border-top: 2px solid #288ffe;
  903. border-left: 2px solid #288ffe;
  904. -webkit-transform: rotate(135deg);
  905. /*margin-top: 17pt;*/
  906. /*margin-left: 10pt;*/
  907. }
  908. .htMobileEditorContainer .rightButton:active:after {
  909. border-color: #cfcfcf;
  910. }
  911. .htMobileEditorContainer .upButton:after {
  912. /*border-top: 2px solid #cfcfcf;*/
  913. border-top: 2px solid #288ffe;
  914. border-left: 2px solid #288ffe;
  915. -webkit-transform: rotate(45deg);
  916. /*margin-top: 22pt;*/
  917. /*margin-left: 15pt;*/
  918. }
  919. .htMobileEditorContainer .upButton:active:after {
  920. border-color: #cfcfcf;
  921. }
  922. .htMobileEditorContainer .downButton:after {
  923. border-top: 2px solid #288ffe;
  924. border-left: 2px solid #288ffe;
  925. -webkit-transform: rotate(225deg);
  926. /*margin-top: 15pt;*/
  927. /*margin-left: 15pt;*/
  928. }
  929. .htMobileEditorContainer .downButton:active:after {
  930. border-color: #cfcfcf;
  931. }
  932. .handsontable.hide-tween {
  933. -webkit-animation: opacity-hide 0.3s;
  934. animation: opacity-hide 0.3s;
  935. animation-fill-mode: forwards;
  936. -webkit-animation-fill-mode: forwards;
  937. }
  938. .handsontable.show-tween {
  939. -webkit-animation: opacity-show 0.3s;
  940. animation: opacity-show 0.3s;
  941. animation-fill-mode: forwards;
  942. -webkit-animation-fill-mode: forwards;
  943. }