document.api.css 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888
  1. /** DOCUMENT **/
  2. .document-container{
  3. display: flex;
  4. flex:1;
  5. /*100vh - 50px (header) - 50px (footer)*/
  6. height: calc(100vh - 100px);
  7. user-select: none;
  8. }
  9. .document-container.embedded {
  10. margin: 0px;
  11. }
  12. .document-container ul{
  13. list-style-type: none;
  14. margin:0;
  15. padding:0;
  16. }
  17. .document-container .file-preloader{
  18. text-align: center;
  19. color: #cecece;
  20. font-size: 40px;
  21. position: absolute;
  22. width: 100%;
  23. left:0;
  24. top:100px;
  25. padding: 50px;
  26. }
  27. .document-container .file-preloader i{
  28. /*background-color: #ffffff;*/
  29. padding:5px;
  30. border-radius: 100px;
  31. }
  32. .document-container .file-preloader .fa-spin {
  33. animation: fa-spin 0.6s infinite linear;
  34. }
  35. .document-container .tree-panel {
  36. width: 15%;
  37. order:1;
  38. padding: 15px;
  39. color:#444444;
  40. background-color: #f5f4f4;
  41. /*background-color: #ddedff;*/
  42. font-size: 15px;
  43. border-right:1px solid #cecece;
  44. /*100vh - 50px (header) - 50px (footer)*/
  45. height: calc(100vh - 100px);
  46. overflow-y: auto;
  47. /*resize: horizontal;*/
  48. }
  49. .document-container .tree-panel > ul li.folder.folder-open>i.far.fa-folder,
  50. .document-container .tree-panel > ul li.folder.folder-open>i.far.fa-folder-open {
  51. font-weight: normal;
  52. }
  53. .document-container .tree-panel > ul li.folder.folder-open>i::before {
  54. content: "\f07c"!important;
  55. }
  56. .document-container i.far.fa-folder,
  57. .document-container i.far.fa-folder-open {
  58. color: #f1c40f;
  59. font-weight: bold;
  60. }
  61. .document-container .tree-panel > ul li i.fa-folder-open,.document-container .tree-panel > ul li i.fa-folder{
  62. display: inline-block;
  63. width: 15px;
  64. }
  65. .document-container .tree-panel > ul li.folder:before {
  66. content :'\f105';
  67. padding-right:10px;
  68. color:#aeaeae;
  69. font-family: 'Font Awesome 5 Free';
  70. font-weight: 900;
  71. display: inline-block;
  72. width: 15px;
  73. transition: all 0.2s ease-in-out;
  74. opacity: 0;
  75. }
  76. .document-container .tree-panel > ul li.folder.folder-open:before {
  77. content:'\f107';
  78. padding-right:6px;
  79. color:#444444;
  80. font-family: 'Font Awesome 5 Free';
  81. }
  82. .document-container .tree-panel > ul li.folder:hover:before {
  83. opacity:1;
  84. }
  85. .document-container .tree-panel > ul li.folder {
  86. transition: transform 0.1s linear;
  87. word-break: break-all;
  88. text-overflow: ellipsis;
  89. overflow: hidden;
  90. white-space: nowrap;
  91. }
  92. .document-container .tree-panel ul li.folder-focused {
  93. font-weight: bold;
  94. }
  95. .document-container .tree-panel ul li.folder-hover {
  96. font-weight: bold;
  97. }
  98. .document-container .tree-panel ul li.folder-hover:before {
  99. content:'\f107';
  100. padding-right:6px;
  101. color:#aeaeae;
  102. font-family: 'Font Awesome 5 Free';
  103. font-weight: 900;
  104. }
  105. .document-container .tree-panel ul li.folder-focused ul {
  106. font-weight: normal;
  107. }
  108. /* VUE LISTE */
  109. .document-container .file-elements-list tbody tr {
  110. cursor: pointer;
  111. transition: background 0.1s ease-in-out;
  112. }
  113. .document-container .file-elements-list tbody tr:hover {
  114. background-color: #f8f8f8;
  115. }
  116. .document-container .file-elements-list tbody tr .element-rename {
  117. opacity: 0;
  118. transform: translateX(-10px);
  119. margin-left: 10px;
  120. cursor: pointer;
  121. color:#cecece;
  122. transition: all 0.2s ease-in-out;
  123. }
  124. .document-container .file-elements-list tbody tr:hover .element-rename {
  125. transform: translateX(0);
  126. opacity:1;
  127. }
  128. .document-container .file-elements-list tbody tr.folder-receive-element {
  129. background-color:#bad4ff;
  130. }
  131. .file-elements-list .rename-input,.file-elements-list .rename-input:focus,.file-elements-list .rename-input:active{
  132. border:0px;
  133. padding:0;
  134. outline: none;
  135. }
  136. .document-container .file-elements-list .element-focused {
  137. font-weight: bold;
  138. background-color: #f8f8f8;
  139. }
  140. .document-container .file-elements-list .element-thumbnail {
  141. height: 15px;
  142. width: 15px;
  143. margin-right: 5px;
  144. }
  145. .document-container .file-elements-list .file-element.element-thumbnail-symlink span{
  146. position: relative;
  147. }
  148. .document-container .file-elements-list .file-element.element-thumbnail-symlink span:after{
  149. top:10px;
  150. left:-10px;
  151. font-size: 8px;
  152. position: absolute;
  153. font-family: "Font Awesome 5 Free";
  154. content: "\f360";
  155. font-weight: 900;
  156. color:#007bff;
  157. }
  158. /* VUE GRILLE*/
  159. .file-elements-grid .file-element.element-thumbnail-symlink .element-thumbnail{
  160. position: relative;
  161. }
  162. .file-elements-grid .file-element.element-thumbnail-symlink .element-thumbnail:after{
  163. width: 100%;
  164. padding: 5px;
  165. bottom: 0px;
  166. right: 0;
  167. font-size: 18px;
  168. position: absolute;
  169. font-family: "Font Awesome 5 Free";
  170. content: "\f360";
  171. font-weight: 900;
  172. color: #007bff;
  173. }
  174. .document-container .file-elements-grid > li {
  175. cursor: pointer;
  176. display: inline-block;
  177. vertical-align: top;
  178. transition: background 0.1s ease-in-out;
  179. padding:15px;
  180. text-align: center;
  181. overflow: hidden;
  182. }
  183. .document-container ul.file-elements-grid{
  184. text-align: center;
  185. }
  186. .file-module[data-view="grid"] {
  187. background-color: #f8f8f8;
  188. }
  189. .document-container .file-elements-grid .name-cell > span > span{
  190. width: calc(100% - 45px)!important;
  191. display: inline-block;
  192. overflow: hidden;
  193. white-space: nowrap;
  194. text-overflow: ellipsis;
  195. }
  196. .document-container .file-elements-grid > li > .grid-container{
  197. border-radius:3px;
  198. width:250px;
  199. height:200px;
  200. background-color:#ffffff;
  201. padding: 15px 5px 5px 5px;
  202. border:1px solid #fefefe;
  203. box-shadow: 0 1px 4px rgba(165, 165, 165, 0.4);
  204. transition: all 0.2s ease-in-out;
  205. position: relative;
  206. }
  207. .document-container .file-elements-grid .element-thumbnail {
  208. border-radius: 5px 5px 0 0;
  209. background-repeat: no-repeat;
  210. background-position:center center;
  211. margin: -15px -6px 0 -6px;
  212. height: 100px;
  213. }
  214. .document-container .file-elements-grid .element-type-jfif .element-thumbnail,
  215. .document-container .file-elements-grid .element-type-jpg .element-thumbnail,
  216. .document-container .file-elements-grid .element-type-jpeg .element-thumbnail,
  217. .document-container .file-elements-grid .element-type-png .element-thumbnail,
  218. .document-container .file-elements-grid .element-type-gif .element-thumbnail,
  219. .document-container .file-elements-grid .element-type-bmp .element-thumbnail {
  220. background-size: cover;
  221. position: absolute;
  222. width:250px;
  223. height:200px;
  224. z-index: 0;
  225. border-radius: 5px;
  226. }
  227. .document-container .file-elements-grid .element-type-jfif .element-infos,
  228. .document-container .file-elements-grid .element-type-jpg .element-infos,
  229. .document-container .file-elements-grid .element-type-jpeg .element-infos,
  230. .document-container .file-elements-grid .element-type-png .element-infos,
  231. .document-container .file-elements-grid .element-type-gif .element-infos,
  232. .document-container .file-elements-grid .element-type-bmp .element-infos {
  233. color:#ffffff;
  234. position: absolute;
  235. background: rgba(0,0,0,0.5);
  236. width:100%;
  237. bottom:0;
  238. border-radius:0 0 5px 5px;
  239. margin-left: -5px;
  240. margin-bottom: -2px;
  241. margin-right: -5px;
  242. z-index: 1;
  243. }
  244. .document-container .file-elements-grid .element-type-jfif .name-cell,
  245. .document-container .file-elements-grid .element-type-jpg .name-cell,
  246. .document-container .file-elements-grid .element-type-jpeg .name-cell,
  247. .document-container .file-elements-grid .element-type-png .name-cell,
  248. .document-container .file-elements-grid .element-type-gif .name-cell,
  249. .document-container .file-elements-grid .element-type-bmp .name-cell {
  250. color:#ffffff;
  251. }
  252. .document-container .view-module{
  253. position: absolute;
  254. right: 10px;
  255. }
  256. .document-container .view-module > li{
  257. cursor: pointer;
  258. display: inline-block;
  259. vertical-align: top;
  260. padding:5px;
  261. opacity: 0.8;
  262. transition: all 0.2s ease-in-out;
  263. }
  264. .document-container .view-module > li:hover{
  265. opacity: 1;
  266. transform: scale(1.1);
  267. }
  268. .document-container .view-module > li.selected{
  269. color:#007bff;
  270. }
  271. .document-container .file-elements-grid .name-cell{
  272. margin-top:5px;
  273. font-weight: bold;
  274. color: rgb(0, 123, 255);
  275. font-size: 12px;
  276. }
  277. .document-container .file-elements-grid .creator-cell,
  278. .document-container .file-elements-grid .size-cell,
  279. .document-container .file-elements-grid .updated-cell{
  280. font-size:11px;
  281. color:#cecece;
  282. }
  283. .document-container .file-elements-grid .name-cell{
  284. margin-top:5px;
  285. font-weight: bold;
  286. color: rgb(0, 123, 255);
  287. font-size: 12px;
  288. }
  289. .document-container .file-elements-grid > li .grid-container:hover {
  290. /*background-color: #f8f8f8;*/
  291. transform: scale(1.05);
  292. }
  293. .document-container .file-elements-grid .grid-container .element-rename {
  294. opacity: 0;
  295. transform: translateX(-10px);
  296. margin-left: 10px;
  297. position: absolute;
  298. cursor: pointer;
  299. color:#cecece;
  300. transition: all 0.2s ease-in-out;
  301. }
  302. .document-container .file-elements-grid > li .name-cell:hover .element-rename {
  303. transform: translateX(0);
  304. opacity:1;
  305. }
  306. .document-container .file-elements-grid > li.folder-receive-element .grid-container{
  307. background-color:#bad4ff;
  308. }
  309. .file-elements-grid .rename-input,.file-elements-grid .rename-input:focus,.file-elements-grid .rename-input:active{
  310. border:0px;
  311. padding:0;
  312. outline: none;
  313. }
  314. .document-container .file-elements-grid .element-focused .grid-container{
  315. box-shadow: 0 1px 4px #00adff;
  316. }
  317. /**/
  318. .dragging-element{
  319. opacity: 0.5;
  320. }
  321. .original-placeholder {
  322. display: table-row;
  323. opacity: 0.5;
  324. background-color: #deebff !important;
  325. }
  326. .hidden-rename {
  327. display:none;
  328. white-space:pre;
  329. }
  330. .document-container .tree-panel > ul li.folder {
  331. cursor:pointer;
  332. }
  333. .document-container .tree-panel > ul li ul {
  334. padding-left: 10px;
  335. }
  336. .document-container .file-panel {
  337. flex: 1;
  338. order: 2;
  339. border-right:1px solid #cecece;
  340. position: relative;
  341. z-index: 100;
  342. }
  343. .document-create-dropdown a.dropdown-item {
  344. font-size: 0.9em;
  345. padding: .25rem .75rem;
  346. transition: background-color 0.05s linear;
  347. }
  348. .document-create-dropdown a.dropdown-item:hover {
  349. background: #f8f8f8;
  350. }
  351. .document-create-dropdown .dropdown-item.active,
  352. .document-create-dropdown .dropdown-item:active,
  353. .document-create-dropdown .dropdown-item:hover{
  354. background: inherit;
  355. color: inherit;
  356. }
  357. /* upload panel */
  358. .upload-state{
  359. color: #fff;
  360. margin:5px 0 0 80px;
  361. }
  362. .document-container .upload-files{
  363. color: #fff;
  364. width: 500px;
  365. margin-top:20px;
  366. max-height: 400px;
  367. overflow-y: auto;
  368. }
  369. .document-container .upload-files > li > div{
  370. width:100%;
  371. }
  372. .document-container .upload-files h5{
  373. font-weight: bold;
  374. font-size: 14px;
  375. line-height: 18px;
  376. margin:0 5px 0 0;
  377. padding:0;
  378. float:left;
  379. }
  380. .document-container .upload-files small{
  381. opacity:0.5;
  382. margin-right:5px;
  383. float:left;
  384. }
  385. .document-container .upload-files .progress {
  386. margin: 7px 0;
  387. border-radius: 5rem;
  388. border: 1px solid #fff;
  389. background-color: transparent;
  390. height: 12px;
  391. width: 100%;
  392. float:left;
  393. }
  394. .document-container .upload-files .progress .progress-bar {
  395. color: #444;
  396. background-color: #fff;
  397. }
  398. .document-container .upload-file-state{
  399. float:right;
  400. font-size: 13px;
  401. }
  402. .document-container .upload-file-state:after{
  403. clear: both;
  404. display: block;
  405. content: ' ';
  406. }
  407. .document-container .upload-file-state.success
  408. {
  409. color: #0bc60b;
  410. }
  411. .document-container .upload-file-state.error {
  412. color: #ff6b79;
  413. }
  414. .preloader-upload-container .preloader-upload-close{
  415. font-size: 30px;
  416. position: absolute;
  417. right: 20px;
  418. top: 65px;
  419. cursor: pointer;
  420. color: #d0d0d0;
  421. }
  422. .preloader-upload-container .upload-state h5{
  423. font-weight: bold;
  424. font-size: 14px !important;
  425. text-transform: uppercase;
  426. font-size: 1.25rem;
  427. color: #a9a9a9;
  428. }
  429. .drag-overlay,
  430. .preloader-upload-container {
  431. position: fixed; /* Sit on top of the page content */
  432. width: 100%; /* Full width (cover the whole page) */
  433. height: 100%; /* Full height (cover the whole page) */
  434. top: 0;
  435. left: 0;
  436. right: 0;
  437. bottom: 0;
  438. background-color: rgba(0,0,0,0.7); /* Black background with opacity */
  439. z-index: 10000; /* Specify a stack order in case you're using a different order for other elements */
  440. cursor: pointer; /* Add a pointer on hover */
  441. }
  442. .overlay-text {
  443. position: absolute;
  444. top: 50%;
  445. left: 50%;
  446. font-size: 30px;
  447. color: white;
  448. transform: translate(-50%,-50%);
  449. -ms-transform: translate(-50%,-50%);
  450. z-index: 10000;
  451. }
  452. .overlay-icon {
  453. position: absolute;
  454. top: 52%;
  455. left: 49%;
  456. font-size: 60px;
  457. font-weight: lighter;
  458. color: #ffc700;
  459. transform: translate(-49%,-52%);
  460. -ms-transform: translate(-49%,-52%);
  461. z-index: 10000;
  462. animation: floating 1.5s ease-in-out infinite;
  463. }
  464. .upload-button > div > i.far.fa-file-alt {
  465. color: #007bff;
  466. }
  467. .file-form input.label-required {
  468. background: rgba(229, 35, 37, 0.25);
  469. }
  470. .file-form input.label-required::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  471. color: red;
  472. opacity: 1; /* Firefox */
  473. }
  474. .file-form input.label-required:-ms-input-placeholder { /* Internet Explorer 10-11 */
  475. color: red;
  476. }
  477. .file-form input.label-required::-ms-input-placeholder { /* Microsoft Edge */
  478. color: red;
  479. }
  480. @keyframes floating {
  481. from { transform: translate(0, 0px); }
  482. 50% { transform: translate(0, 15px); }
  483. to { transform: translate(0, -0px); }
  484. }
  485. .document-container .file-panel.drag-over {
  486. box-shadow: 0 0 5px rgba(0,0,0,0.5);
  487. }
  488. .doc-search-container {
  489. position: relative;
  490. width: 50%;
  491. }
  492. .doc-search-container .btn-search {
  493. position: absolute;
  494. right: 10px;
  495. top: 5px;
  496. bottom: 0;
  497. height: 25px;
  498. margin: auto;
  499. font-size: 14px;
  500. cursor: pointer;
  501. color: #a0a0a0;
  502. z-index: 4;
  503. transition: all 0.15s ease-in;
  504. }
  505. .document-container .search-clear {
  506. opacity: 0;
  507. transform: scale(0);
  508. position: absolute;
  509. right: 33px;
  510. top: 12px;
  511. bottom: 0;
  512. height: 25px;
  513. margin: auto;
  514. font-size: 14px;
  515. cursor: pointer;
  516. color: #a0a0a0;
  517. z-index: 4;
  518. transition: all 0.15s ease-in;
  519. }
  520. .doc-search-container.typing .search-clear {
  521. opacity: 1;
  522. transform: scale(1);
  523. }
  524. .input-group-append {
  525. z-index: 5;
  526. }
  527. .file-panel .breadcrumb-module {
  528. padding: 0 15px 0 15px;
  529. margin: 5px 0;
  530. color:#666666;
  531. }
  532. .file-panel .breadcrumb-module > ul li:not(:last-of-type) {
  533. background-image: url(../img/breadcrumb.svg);
  534. }
  535. .file-panel .breadcrumb-module > ul li{
  536. display: inline-block;
  537. padding: 8px 15px 0 0;
  538. margin: 0 0 0 5px;
  539. background-repeat: no-repeat;
  540. background-position: right center;
  541. height: 40px;
  542. background-size: auto 20px;
  543. cursor: pointer;
  544. }
  545. .file-panel .search-module {
  546. padding: 0 15px 0 15px;
  547. margin:0px 0 10px 0 ;
  548. color:#aeaeae;
  549. position: relative;
  550. }
  551. .file-panel .search-module .doc-search-container input {
  552. width:100%;
  553. border-radius: 2em;
  554. }
  555. .document-container .detail-panel {
  556. width: 20%;
  557. overflow-y: auto;
  558. order:3;
  559. border-right:1px solid #cecece;
  560. }
  561. .document-container .detail-panel::-webkit-scrollbar {
  562. width: 6px;
  563. height: 6px;
  564. }
  565. .document-container .detail-panel::-webkit-scrollbar-button {
  566. width: 0px;
  567. height: 0px;
  568. }
  569. .document-container .detail-panel::-webkit-scrollbar-thumb {
  570. background: #cecece;
  571. border: 0px none #ffffff;
  572. border-radius: 50px;
  573. }
  574. .document-container .detail-panel::-webkit-scrollbar-thumb:hover {
  575. background: #707070;
  576. }
  577. .document-container .detail-panel::-webkit-scrollbar-thumb:active {
  578. background: #949494;
  579. }
  580. .document-container .detail-panel::-webkit-scrollbar-track {
  581. background: #ffffff;
  582. border: 0px none #ffffff;
  583. border-radius: 50px;
  584. }
  585. .document-container .detail-panel::-webkit-scrollbar-track:hover {
  586. background: #d4d4d4;
  587. }
  588. .document-container .detail-panel::-webkit-scrollbar-track:active {
  589. background: #d3d3d3;
  590. }
  591. .document-container .detail-panel::-webkit-scrollbar-corner {
  592. background: transparent;
  593. }
  594. .detail-panel h1{
  595. font-size: 18px;
  596. margin: 5px 0;
  597. }
  598. .document-container .document-add-element{
  599. display:inline-block;
  600. margin-left:10px;
  601. }
  602. .document-container .document-add-element > button{
  603. border-radius: 2em;
  604. padding-top: 4px;
  605. padding-bottom: 4px;
  606. }
  607. .documents-settings {
  608. position: absolute;
  609. right: 10px;
  610. }
  611. .file-module {
  612. border-top: 1px solid #cecece;
  613. /*100vh - 50px (header) - 50px (footer) - 92px (breadcrumb + search)*/
  614. height: calc(100vh - 192px);
  615. overflow-y: auto;
  616. }
  617. .file-module > table {
  618. width:100%;
  619. }
  620. .file-module > table th,
  621. .file-module > table td{
  622. padding: 5px 10px;
  623. }
  624. .file-module > table thead th {
  625. padding: 10px;
  626. cursor: pointer;
  627. transition: all 0.1s ease-in-out;
  628. }
  629. .file-module > table thead th:hover {
  630. color: #8c8c8c;
  631. background-color: #ddedff;
  632. }
  633. .file-module > table thead {
  634. color:#b2b2b2;
  635. font-size: 0.75em;
  636. }
  637. .file-module > table thead tr {
  638. border-bottom:1px solid #eaeaea;
  639. }
  640. .file-module > table thead tr th.name-head,
  641. .file-module > table tbody tr td.name-cell {
  642. padding-left: 20px;
  643. }
  644. .file-module > table tbody tr td.name-cell {
  645. font-size: 0.8em;
  646. width: 350px;
  647. max-width: 350px;
  648. text-overflow: ellipsis;
  649. overflow: hidden;
  650. white-space: nowrap;
  651. }
  652. .file-module > table tbody tr td.size-cell {
  653. width: 100px;
  654. font-size: 11px;
  655. }
  656. .file-module > table tbody tr td.creator-cell,
  657. .file-module > table tbody tr td.firm-cell,
  658. .file-module > table tbody tr td.updated-cell {
  659. width: 160px;
  660. font-size: 11px;
  661. }
  662. .file-module > table tbody tr {
  663. border-bottom:1px solid #eaeaea;
  664. color:#595959;
  665. }
  666. .file-module > table tbody tr.ui-sortable-placeholder {
  667. display: none;
  668. }
  669. .detail-panel .detail-thumbnail{
  670. background: url(../img/default-image.svg) no-repeat center center #f5f4f4;
  671. height:250px;
  672. text-align: center;
  673. background-size: auto 140px;
  674. }
  675. .detail-panel .detail-thumbnail .thumbnail-preloader{
  676. font-size: 40px;
  677. height:250px;
  678. background-color: #f5f4f4;
  679. padding-top: 100px;
  680. opacity:0;
  681. box-sizing: border-box;
  682. color:#cecece;
  683. transition: opacity 0.2s ease-in-out;
  684. }
  685. .detail-panel .detail-thumbnail .thumbnail-preloader.show{
  686. opacity:1;
  687. transition:none;
  688. }
  689. .document-container .detail-buttons{
  690. padding: 5px 10px;
  691. }
  692. .document-container .detail-buttons li .btn{
  693. width:100%;
  694. }
  695. .detail-panel h1{
  696. padding: 5px 10px;
  697. color: #333333;
  698. word-break: break-all;
  699. }
  700. .detail-panel small.informations {
  701. display: inline-block;
  702. width: 100%;
  703. color: #bebebe;
  704. padding: 5px 10px;
  705. }
  706. .document-container .file-editor{
  707. position: absolute;
  708. background: #fefefe;
  709. width: 100%;
  710. height: calc(100vh - 192px);
  711. z-index: 10;
  712. }
  713. .document-container .file-editor .file-editor-input{
  714. width: 100%;
  715. height:100%;
  716. padding:15px;
  717. color:#222222;
  718. outline: none;
  719. }
  720. .document-container .btn-editor-save,.btn-editor-cancel,.btn-editor-expand{
  721. border-radius: 0px;
  722. }
  723. .document-container .file-editor .file-editor-header{
  724. background: #f5f4f4;
  725. display: flex;
  726. }
  727. .document-container .file-editor.expanded {
  728. width: 100%;
  729. position: fixed;
  730. top: 50px;
  731. left: 0;
  732. height: 100%;
  733. }
  734. .document-container .file-editor.expanded .file-editor-header {
  735. height: 38px;
  736. }
  737. .document-container .file-editor .file-editor-content {
  738. /*header: 50px + editor: 38px = 88px*/
  739. height:calc(100% - 88px);
  740. }
  741. .document-container .file-editor .file-editor-name{
  742. flex: 1 0;
  743. margin-left: 5px;
  744. font-weight: bold;
  745. height: 38px;
  746. opacity: 0.5;
  747. transition: opacity 0.1s ease-in-out;
  748. outline: none;
  749. background: transparent;
  750. border: 0;
  751. z-index: 1100;
  752. }
  753. .document-container .file-editor .file-editor-name:hover{
  754. opacity:1;
  755. }
  756. @keyframes pop{
  757. 50% {transform: scale(1.2);}
  758. }
  759. .preloader-upload {
  760. position: absolute;
  761. top: calc(30% - 20px);
  762. left: calc(50% - 250px);
  763. }
  764. @keyframes loader {
  765. 0% { left: -100px }
  766. 100% { left: 110%; }
  767. }
  768. .preloader-upload-box {
  769. width: 50px;
  770. height: 50px;
  771. background: #ffc700;
  772. animation: animate .5s linear infinite;
  773. position: absolute;
  774. top: 0;
  775. left: 0;
  776. border-radius: 3px;
  777. }
  778. @keyframes animate {
  779. 17% { border-bottom-right-radius: 3px; }
  780. 25% { transform: translateY(9px) rotate(22.5deg); }
  781. 50% {
  782. transform: translateY(18px) scale(1,.9) rotate(45deg) ;
  783. border-bottom-right-radius: 40px;
  784. }
  785. 75% { transform: translateY(9px) rotate(67.5deg); }
  786. 100% { transform: translateY(0) rotate(90deg); }
  787. }
  788. .preloader-upload-shadow {
  789. width: 50px;
  790. height: 5px;
  791. background: #000;
  792. opacity: 0.1;
  793. position: absolute;
  794. top: 59px;
  795. left: 0;
  796. border-radius: 50%;
  797. animation: shadow .5s linear infinite;
  798. }
  799. @keyframes shadow {
  800. 50% {
  801. transform: scale(1.2,1);
  802. }
  803. }
  804. @media (max-width: 768px){
  805. .module-document {
  806. overflow: auto;
  807. }
  808. .document-container{
  809. display: block;
  810. }
  811. .document-container .detail-panel {
  812. display: block!important;
  813. width: 100%;
  814. }
  815. .document-container .detail-thumbnail {
  816. height:200px;
  817. }
  818. .module-document .footer{
  819. display: none;
  820. }
  821. }