UiFileManager.css 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. body { background-color: #EEEEF5; font-family: "Segoe UI", Helvetica, Arial; height: 95000px; overflow: hidden; }
  2. body.loaded { height: auto; overflow: auto }
  3. h1 { font-weight: lighter; }
  4. a { color: #333 }
  5. a:hover { text-decoration: none }
  6. input::placeholder { color: rgba(255, 255, 255, 0.3) }
  7. h2 { font-weight: lighter; }
  8. .link { background-color: transparent; outline: 5px solid transparent; transition: all 0.3s }
  9. .link:active { background-color: #fbf5ff; outline: 5px solid #fbf5ff; transition: none }
  10. .manager.editing .files { float: left; width: 280px; }
  11. .sidebar-button {
  12. display: inline-block; padding: 25px 19px; text-decoration: none; position: absolute;
  13. border-right: 1px solid #EEE; line-height: 10px; color: #7801F5; transition: all 0.3s
  14. }
  15. .sidebar-button:active { background-color: #f5e7ff; transition: none }
  16. /*.sidebar-button:hover { background-color: #fbf5ff; }*/
  17. .sidebar-button span { transition: 1s all; transform-origin: 2.5px 7px; display: inline-block; }
  18. .manager.sidebar_closed .sidebar-button span { transform: rotateZ(180deg); }
  19. .manager.sidebar_closed .files { margin-left: -300px; }
  20. .manager.sidebar_closed .editor { width: 100%; }
  21. .button {
  22. padding: 5px 10px; margin-left: 10px; background-color: #752ff2; border-bottom: 2px solid #caadff; background-position: -50px center;
  23. border-radius: 2px; text-decoration: none; transition: all 0.5s ease-out; display: inline-block;
  24. color: #333; font-size: 12px; vertical-align: 2px; text-transform: uppercase; color: white; max-width: 100px;
  25. }
  26. .button:hover { background-color: #9e71ed; transition: none; }
  27. .button:active { position: relative; top: 1px }
  28. .button.loading, .button.disabled { color: rgba(255,255,255,0.7);; pointer-events: none; border-bottom: 2px solid #666; background-color: #999; }
  29. .button.loading { background: #999 url(../img/loading.gif) no-repeat center center; transition: all 0.5s ease-out; color: rgba(0,0,0,0); }
  30. .button.done { background-color: #4dc758; transition: all 0.3s; border-color: #4dc758; pointer-events: none; }
  31. .button.hidden { max-width: 0px; display: inline-block; padding-left: 0px; padding-right: 0px; margin: 0px; }
  32. /* List */
  33. .files {
  34. width: 97%; box-sizing: border-box; color: #555; position: relative; z-index: 1; transition: all 0.6s;
  35. font-size: 14px; box-shadow: 0px 9px 20px -15px #a5cbec; max-width: 400px; border: 1px solid #EEEEF5;
  36. }
  37. .files .tr { white-space: nowrap }
  38. .files .td { display: inline-block; width: 60px }
  39. .files .tbody .td { line-height: 18px; vertical-align: bottom; }
  40. .files .td.name { min-width: 100px }
  41. .files .td.size { width: 60px; text-align: right; padding-left: 5px; }
  42. .files .td.status { text-align: right; }
  43. .files .td.peer { width: 60px }
  44. .files .td.uploaded { width: 130px; text-align: right; }
  45. .files .td.added { width: 90px }
  46. .files .orderby { color: inherit; text-decoration: none; transition: all 0.3s; outline: 5px solid transparent; }
  47. .files .orderby:hover { text-decoration: underline; }
  48. .files .orderby .icon-arrow-down { opacity: 0; transition: all 0.3s ease-in-out; }
  49. .files .orderby.selected .icon-arrow-down { opacity: 0.3; }
  50. .files .orderby:active { background-color: rgba(133, 239, 255, 0.09); outline: 5px solid rgba(133, 239, 255, 0.09); transition: none; }
  51. .files .orderby:hover .icon-arrow-down { opacity: 0.5; }
  52. .files .orderby:not(.desc) .icon-arrow-down { transform: rotateZ(180deg); }
  53. .files .tr.editing .td { background-color: #ede1f582; border-top-color: #ece9ef; }
  54. .files .thead { /*background: linear-gradient(358deg, #e7f1f7, #e9f2f72e);*/ }
  55. .files .thead .td {
  56. border-top: none; color: #8984c2; background-color: #f7f7fc;
  57. font-size: 12px; /*text-transform: uppercase; background-color: transparent; font-weight: bold;*/
  58. }
  59. .files .thead .td a:last-of-type { font-weight: bold; }
  60. .files .thead .td a { text-decoration: none; }
  61. .files .thead .td a:hover { text-decoration: underline; }
  62. .files .tbody { max-height: calc(100vh - 95px); overflow-y: auto; overflow-x: hidden; }
  63. .files .tr { background-color: white; }
  64. .files .td { padding: 10px 20px; border-top: 1px solid #EEE; font-size: 13px; white-space: nowrap; }
  65. .files .td.full { width: 100%; box-sizing: border-box; white-space: pre-line; }
  66. .files .td.pre { width: 0px; color: transparent; padding-left: 0px; border-left: 2px solid transparent; }
  67. .files .tbody .td { height: 18px; }
  68. .files .tbody .td.full { height: auto; }
  69. .files .td.pre .checkbox-outer { opacity: 0.6; margin-left: -11px; margin-top: -15px; width: 18px; height: 12px; display: inline-block; }
  70. .files .tr.modified .td.pre { border-left-color: #7801F5 }
  71. .files .tr.added .td.pre { border-left-color: #00ec93 }
  72. .files .tr.ignored .td.pre { border-left-color: #999; }
  73. .files .tr.ignored { opacity: 0.5; }
  74. .files .tr.optional { background: linear-gradient(90deg, #fff6dd, 30%, white, 10%, white); }
  75. .files .tr.optional_empty { color: #999; font-style: italic; }
  76. .files .td.error { background-color: #F44336; color: white; }
  77. .files .td.site { width: 70px }
  78. .files .td.site .link { color: inherit; text-decoration: none }
  79. .files .td.status .percent {
  80. transition: all 1s ease-in-out; display: inline-block; width: 80px; background-color: #EEE; font-size: 10px;
  81. height: 15px; line-height: 15px; text-align: center; margin-right: 20px;
  82. }
  83. .files .td.name { padding-left: 10px; width: calc(100% - 167px); max-height: 18px; padding-right: 10px; }
  84. .files .tr.nobuttons .td.name { width: calc(100% - 127px); }
  85. .files .tr.nobuttons .td.buttons { width: 0px; }
  86. .files .td.name .title { color: inherit; text-decoration: none }
  87. .files .td.name .link { display: inline-block; overflow: hidden; text-overflow: ellipsis; vertical-align: -4px; max-width: 100%; }
  88. .files .pinned .td.name .link { max-width: calc(100% - 40px); }
  89. .files .thead .td.uploaded { text-align: left }
  90. .files .thead .td.uploaded .title { padding-left: 7px; }
  91. .files .peer .icon-profile { background: currentColor; color: #47d094; font-size: 10px; top: 1px; margin-right: 13px }
  92. .files .peer .icon-profile:before { background: currentColor }
  93. .files .peer .num { color: #969696; }
  94. .files .uploaded .uploaded-text { display: inline-block; text-align: right; }
  95. .files .uploaded .dots-container { display: inline-block; width: 0px; padding-right: 65px;; }
  96. .files .td.buttons { width: 40px; padding-left: 0px; padding-right: 0px; }
  97. .files .td.buttons .edit {
  98. background-color: #2196f336; border-radius: 15px; padding: 1px 9px; font-size: 80%; text-decoration: none; color: #1976D2;
  99. }
  100. .files .checkbox-outer { padding: 15px; padding-left: 20px; padding-right: 0px; }
  101. .files .checkbox {
  102. display: inline-block; width: 12px; height: 12px; border: 2px solid #00000014;
  103. border-radius: 3px; vertical-align: -3px; margin-right: 10px;
  104. }
  105. .files .selected .checkbox { border-color: #dedede }
  106. .files .selected .checkbox:after {
  107. background-color: #dedede; content: ""; text-decoration: none; display: block; width: 10px; height: 10px; margin-left: 1px; margin-top: 1px;
  108. }
  109. .files .tbody .td.size { font-size: 13px }
  110. .files .tbody .td.added, #PageFiles .files .td.access { font-size: 12px; color: #999 }
  111. .files .tr.type-dir .name { font-weight: bold; }
  112. .files .tr.type-parent .name .link { display: inline-block; width: 100%; padding: 5px; margin-top: -5px; }
  113. .files .foot .td { color: #a4a4a4; background-color: #f7f7fc; }
  114. .files .foot .create { float: right; text-decoration: none; position: relative; }
  115. .files .foot .create .link { color: #8c42ed; text-decoration: none; }
  116. .files .foot .create .link:active { background-color: #8c42ed3b; outline: 5px solid #8c42ed3b; }
  117. .files .foot .create .menu { top: 40px; }
  118. /* Editor */
  119. .editor { background-color: #F7F7FC; float: left; width: calc(100% - 280px); box-sizing: border-box; transition: all 0.6s; }
  120. .editor .CodeMirror { height: calc(100vh - 79px); visibility: hidden; }
  121. .editor textarea { width: 100%; height: 800px; white-space: pre; }
  122. .editor .title { margin-left: 20px; }
  123. .editor .editor-head {
  124. padding: 15px 20px; padding-left: 45px; font-size: 18px; font-weight: lighter; border: 1px solid #EEEEF5;
  125. white-space: nowrap; overflow: hidden;
  126. }
  127. .editor.loaded .CodeMirror { visibility: inherit; }
  128. .editor.error .CodeMirror { display: none; }
  129. .editor .button.save { min-width: 30px; text-align: center; transition: all 0.3s; }
  130. .editor .button.save.done { min-width: 80px; }
  131. .editor .error-message { text-align: center; padding: 50px; }
  132. .editor .CodeMirror-foldmarker {
  133. line-height: .3; cursor: pointer; background-color: #ffeb3b61; text-shadow: none; font-family: inherit;
  134. color: #050505; border: 1px solid #ffdf7f; padding: 0px 5px;
  135. }
  136. .editor .CodeMirror-activeline-background { background-color: #F6F6F6 !important; }