document.api.css 19 KB

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