lfm.css 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. /* General */
  2. a {
  3. color: #333844;
  4. text-decoration: none !important;
  5. cursor: pointer;
  6. }
  7. #nav a, #fab a {
  8. color: white;
  9. }
  10. #nav, #nav .dropdown-menu, .bg-main {
  11. background-color: #333844;
  12. }
  13. #nav .dropdown-menu > a:hover {
  14. color: #333844;
  15. }
  16. #actions {
  17. display: flex;
  18. }
  19. #actions > a {
  20. display: inline-block;
  21. line-height: 4rem;
  22. text-align: center;
  23. width: 100%;
  24. font-size: 1.25rem;
  25. }
  26. #actions > a > i {
  27. margin-right: .25rem;
  28. }
  29. #actions > a + a {
  30. border-left: 1px solid #dee2e6;
  31. }
  32. #multi_selection_toggle > i {
  33. font-size: 20px;
  34. }
  35. .breadcrumb-item:not(.active) {
  36. transition: .2s color;
  37. }
  38. .breadcrumb-item:not(.active):hover {
  39. cursor: pointer;
  40. color: #75C7C3;
  41. }
  42. #main {
  43. width: 100%;
  44. }
  45. @media screen and (min-width: 992px) {
  46. #main {
  47. width: calc(100% - 300px);
  48. /*margin-left: 1rem;*/
  49. padding: 1rem;
  50. }
  51. .invisible-lg {
  52. visibility: hidden;
  53. }
  54. }
  55. #tree {
  56. background-color: white;
  57. width: 300px;
  58. }
  59. @media screen and (max-width: 991px) {
  60. #tree {
  61. position: absolute;
  62. z-index: 999;
  63. left: 0;
  64. transform: translateX(-100%);
  65. transition: 1s transform;
  66. }
  67. #tree.in {
  68. transform: translateX(0);
  69. }
  70. }
  71. #empty {
  72. height: 60vh;
  73. color: #333844;
  74. }
  75. #empty:not(.d-none) {
  76. display: flex;
  77. flex-direction: column;
  78. align-items: center;
  79. justify-content: center;
  80. }
  81. #empty > i {
  82. font-size: 10rem;
  83. }
  84. .carousel-image {
  85. height: 50vh;
  86. background-position: center;
  87. background-size: contain;
  88. background-repeat: no-repeat;
  89. margin: 0 auto;
  90. }
  91. .carousel-indicators {
  92. bottom: 0;
  93. }
  94. .carousel-label, .carousel-label:hover {
  95. position: absolute;
  96. bottom: 0;
  97. background: linear-gradient(transparent 10px, rgba(0, 0, 0, .4), rgba(0, 0, 0, .5));
  98. padding: 40px 20px 30px;
  99. width: 100%;
  100. color: white;
  101. word-break: break-word;
  102. text-align: center;
  103. }
  104. .carousel-control-background {
  105. border-radius: 50%;
  106. width: 25px;
  107. height: 25px;
  108. box-shadow: 0 0 10px #666;
  109. background-color: #666;
  110. }
  111. #uploadForm > .dz-default.dz-message {
  112. border: 2px dashed #ccc;
  113. border-radius: 5px;
  114. color: #aaa;
  115. margin: 0;
  116. padding: 3rem 0;
  117. }
  118. /* Loader */
  119. #lfm-loader {
  120. display: none;
  121. position: fixed;
  122. top: 0;
  123. left: 0;
  124. width: 100%;
  125. height: 100%;
  126. background: gray;
  127. opacity: 0.7;
  128. z-index: 9999;
  129. text-align: center;
  130. }
  131. #lfm-loader:before {
  132. content: "";
  133. display: inline-block;
  134. vertical-align: middle;
  135. height: 100%;
  136. }
  137. #lfm-loader img {
  138. width: 100px;
  139. margin: 0 auto;
  140. display: inline-block;
  141. vertical-align: middle;
  142. }
  143. /* Sidebar */
  144. .nav-pills > .nav-item > .nav-link {
  145. height: 5rem;
  146. display: flex;
  147. align-items: center;
  148. }
  149. .nav-pills > .sub-item > .nav-link {
  150. height: 3rem;
  151. padding-left: 3rem;
  152. }
  153. .nav-pills > li.active > a, .nav-pills > li:hover > a {
  154. background-color: #ddd;
  155. border-radius: 0;
  156. color: #333844;
  157. }
  158. /* Items */
  159. #pagination > ul.pagination {
  160. justify-content: center;
  161. }
  162. #pagination.preserve_actions_space {
  163. padding-top: 1em;
  164. padding-bottom: 4rem; /* preserve space for main actions */
  165. }
  166. .square {
  167. cursor: pointer;
  168. position: relative;
  169. display: flex;
  170. align-items: center;
  171. justify-content: center;
  172. padding: 5px;
  173. }
  174. .grid {
  175. display: flex;
  176. flex-wrap: wrap;
  177. padding: .5rem;
  178. justify-content: center;
  179. }
  180. .grid a {
  181. margin: .5rem;
  182. display: flex;
  183. flex-direction: column;
  184. }
  185. .list a {
  186. border-top: 1px solid rgb(221, 221, 221);
  187. padding: 5px;
  188. margin-top: 0;
  189. display: flex;
  190. flex-direction: row;
  191. }
  192. .list a:last-child {
  193. border-bottom: 1px solid rgb(221, 221, 221);
  194. }
  195. .grid .square {
  196. border: 1px solid rgb(221, 221, 221);
  197. width: 135px;
  198. height: 135px;
  199. }
  200. .list .square {
  201. margin-right: 1rem;
  202. width: 70px;
  203. height: 70px;
  204. }
  205. .square > div {
  206. width: 100%;
  207. height: 100%;
  208. background-size: cover;
  209. background-position: center;
  210. background-repeat: no-repeat;
  211. }
  212. .square > i {
  213. color: #333844;
  214. }
  215. .grid .square > i {
  216. padding: 20px;
  217. font-size: 80px;
  218. }
  219. .list .square > i {
  220. padding: 10px;
  221. font-size: 50px;
  222. }
  223. .grid .square.selected {
  224. border: 5px solid #75C7C3;
  225. }
  226. .list .square.selected {
  227. border: 4px solid #75C7C3;
  228. }
  229. .square.selected {
  230. padding: 1px;
  231. }
  232. .grid .item_name {
  233. border: 1px solid rgb(221, 221, 221);
  234. border-top: none;
  235. margin-top: -1px;
  236. padding: 10px;
  237. text-align: center;
  238. max-width: calc(135px);
  239. }
  240. .list .item_name {
  241. font-size: 1.25rem;
  242. padding: 5px 0 5px;
  243. }
  244. time {
  245. font-size: .9rem;
  246. }
  247. .grid time {
  248. display: none;
  249. }
  250. .info > * {
  251. max-width: calc(100vw - 70px - 60px);
  252. }
  253. /* Mime icon generator overwrite */
  254. .grid .mime-icon:before {
  255. top: calc(45% - 1rem);
  256. font-size: 2rem;
  257. }
  258. .list .mime-icon .ico:before {
  259. top: calc(45% - .5rem);
  260. font-size: 1rem;
  261. }
  262. .mime-icon .ico {
  263. height: 100%;
  264. display: inline-flex;
  265. align-items: center;
  266. width: 100%;
  267. justify-content: center;
  268. }
  269. /* Floating action buttons */
  270. .fab-wrapper {
  271. margin: 1.5rem;
  272. right: 0;
  273. bottom: 0;
  274. position: fixed;
  275. }
  276. .fab-wrapper .fab-button {
  277. position: relative;
  278. background-color: #333844;
  279. width: 3.5rem;
  280. height: 3.5rem;
  281. border-radius: 50%;
  282. display: flex;
  283. align-items: center;
  284. justify-content: center;
  285. font-size: 1.25rem;
  286. box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
  287. }
  288. .fab-wrapper .fab-toggle {
  289. z-index: 1;
  290. }
  291. .fab-wrapper .fab-toggle i {
  292. -webkit-transform: scale(1) rotate(0deg);
  293. transform: scale(1) rotate(0deg);
  294. -webkit-transition: -webkit-transform 350ms;
  295. transition: transform 350ms;
  296. }
  297. .fab-wrapper.fab-expand .fab-toggle i {
  298. -webkit-transform: scale(1) rotate(-225deg);
  299. transform: scale(1) rotate(-225deg);
  300. -webkit-transition: -webkit-transform 350ms;
  301. transition: transform 350ms;
  302. }
  303. .fab-wrapper .fab-action {
  304. z-index: -1;
  305. margin-bottom: -3.5rem;
  306. opacity: 0;
  307. transition: margin-bottom 350ms, opacity 350ms;
  308. }
  309. .fab-wrapper.fab-expand .fab-action {
  310. margin-bottom: 1rem;
  311. opacity: 1;
  312. transition: margin-bottom 350ms, opacity 350ms;
  313. }
  314. .fab-wrapper .fab-action:before {
  315. position: absolute;
  316. right: 4rem;
  317. padding: .15rem .75rem;
  318. border-radius: .25rem;
  319. background-color: rgba(0, 0, 0, .4);
  320. color: rgba(255, 255, 255, .8);
  321. text-align: right;
  322. font-size: .9rem;
  323. white-space: nowrap;
  324. content: attr(data-label);
  325. }