fileexplorer.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. font-family: 'Roboto', sans-serif;
  5. user-select: none;
  6. transition: .2s all;
  7. }
  8. body {
  9. padding-top: 77px;
  10. }
  11. /* header {
  12. position: fixed;
  13. top: 0;
  14. left: 0;
  15. right: 0;
  16. z-index: 10;
  17. padding: 20px;
  18. background-color: #2196F3;
  19. color: white;
  20. }
  21. header h1 {
  22. float: left;
  23. font-size: 20px;
  24. font-weight: 400;
  25. }
  26. header .material-icons {
  27. float: right;
  28. cursor: pointer;
  29. }
  30. header .icon-menu {
  31. float: left;
  32. margin-right: 20px;
  33. } */
  34. main {
  35. padding: 20px 50px;
  36. }
  37. .folder * {
  38. width: 100px;
  39. }
  40. .folder {
  41. float: left;
  42. width: 100px;
  43. height: 152px;
  44. /* //padding: 20px; */
  45. margin-right: 50px;
  46. margin-bottom: 70px;
  47. border-radius: 2px;
  48. /* //overflow: hidden; */
  49. cursor: pointer;
  50. }
  51. .folder:hover h1 {
  52. display: none;
  53. }
  54. .folder:hover p.cooltip {
  55. opacity: 1;
  56. top: 0;
  57. }
  58. .folder * {
  59. text-align: center;
  60. }
  61. .folder i {
  62. margin: 0;
  63. font-size: 100px;
  64. color: #607D8B;
  65. }
  66. .folder h1 {
  67. position: relative;
  68. display: block;
  69. top: -37px;
  70. font-size: 20px;
  71. font-weight: 400;
  72. }
  73. .folder p.cooltip {
  74. position: relative;
  75. top: 5px;
  76. left: -50%;
  77. margin-left: 35px;
  78. background: #212121;
  79. font-size: 15px;
  80. color: white;
  81. border-radius: 4px;
  82. padding: 10px 20px;
  83. padding-right: 30px;
  84. width: 100px;
  85. opacity: 0;
  86. }
  87. .folder p.cooltip:before {
  88. content: '';
  89. position: absolute;
  90. display: block;
  91. top: -4px;
  92. left: 50%;
  93. margin-left: -5px;
  94. height: 10px;
  95. width: 10px;
  96. border-radius: 2px;
  97. background-color: #212121;
  98. transform: rotate(45deg);
  99. }
  100. div.properties {
  101. position: fixed;
  102. top: 0;
  103. right: 0;
  104. bottom: 0;
  105. z-index: 10;
  106. width: 300px;
  107. background-color: white;
  108. }
  109. div.properties:before {
  110. content: '';
  111. position: fixed;
  112. top: 0;
  113. left: 0;
  114. right: 300px;
  115. bottom: 0;
  116. background-color: #212121;
  117. opacity: .5;
  118. overflow: hidden;
  119. }
  120. div.properties img {
  121. position: relative;
  122. top: -1px;
  123. left: -1px;
  124. width: 110%;
  125. height: 200px;
  126. filter: blur(2px);
  127. }
  128. div.properties h1 {
  129. position: relative;
  130. width: 100%;
  131. text-align: left;
  132. margin-left: 20px;
  133. color: white;
  134. }
  135. header {
  136. position: fixed;
  137. top: 0;
  138. left: 0;
  139. right: 0;
  140. padding: 20px;
  141. background-color: #2196F3;
  142. color: white;
  143. display: flex;
  144. align-items: center;
  145. }
  146. header h1 {
  147. font-weight: 400;
  148. }
  149. header span {
  150. flex: 1;
  151. }
  152. header i {
  153. margin: 0 10px;
  154. cursor: pointer;
  155. }
  156. header i:nth-child(1) {
  157. margin: 0 20px;
  158. }