file_explorer.css 27 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388
  1. /*
  2. ArozOS File Manager css file
  3. This file is used to overwrite the default css
  4. on segmentic ui (or formantic if it is later upgraded)
  5. */
  6. /*
  7. Color definations
  8. */
  9. :root{
  10. --dark_theme_toggle: #333333;
  11. --dark_theme_toggle_text: rgb(218, 218, 218);
  12. --white_theme_toggle: #dadada;
  13. --white_theme_toggle_text: rgb(27, 27, 27);
  14. }
  15. body.whiteTheme {
  16. --fileopr_btnTxt: rgb(226, 226, 226);
  17. --fileopr_oprtxt: rgb(56, 52, 52);
  18. --fileopr_btnhover: #f0f0f0;
  19. --divider: #f0f0f0;
  20. --navi_bgcolor: var(--body_background_secondary, #fcfcfc);
  21. --navi_theme: var(--theme_color, #92cfe7);
  22. --navi_theme_multiselect: #6c06ba;
  23. --navi_txt: rgb(114, 114, 114);
  24. --dropdown_bg: white;
  25. --dropdown_txt: black;
  26. --vroot_active_bg: #dadada;
  27. --dir_item_color: rgb(78, 78, 78);
  28. --text_active: #23cc28;
  29. --dir_bg: #f5f5f5;
  30. --dir_txt: rgb(44, 44, 44);
  31. --dir_border: rgba(219, 226, 241, 0.7);
  32. --dir_hover_text: #a3a3a3;
  33. --dir_hover_background: #f3f3f3;
  34. --dir_hover_active: #c9e7f1;
  35. --normal_object_txt: #303030;
  36. --hex_folder_txt: #2b9447;
  37. --um_file_txt: #69aaff;
  38. --folder_view_background: #ffffff;
  39. --folder_view_share: #24cc29;
  40. --fileobject_background_hover: #f2f2f2;
  41. --fileobject_background_selected: #d2f2f7;
  42. --fileobject_text_selected: black;
  43. --address_text_border:#cfcfcf;
  44. --address_text_background: white;
  45. --popup_bg: white;
  46. --popup_border: rgb(226, 226, 226);
  47. --popup_header_bg: #171719;
  48. --popup_header_txt: white;
  49. --popup_header_bottom: #34b7eb;
  50. --popup_btn_border: #dedede;
  51. --popup_btn_hover: rgba(238, 238, 238, 0.932);
  52. --popup_btn_primary_bg: #51aded;
  53. --popup_btn_primary_txt: white;
  54. --popup_btn_primary_bg_hover: #76c0f5;
  55. --popup_btn_negative_bg: #ed5151;
  56. --popup_btn_negative_txt: white;
  57. --popup_btn_negative_bg_hover: #f57676;
  58. --modulelist_bg: white;
  59. --contextmenu_background: #ffffff;
  60. --contextmenu_hover: #f9f9f9;
  61. --contextmenu_textcolor: rgb(78, 78, 78);
  62. --upload_progressbar: #92cfe7;
  63. --upload_progresstext: rgb(255, 255, 255);
  64. --upload_progress_succ: #8cd68f;
  65. --upload_progress_failed: #d68c8c;
  66. --open_with_selected: #51aded;
  67. --open_with_selected_text: white;
  68. --open_with_item_hover_background:rgba(35,35,35,0.14);
  69. --popup_wrapper_background: rgba(27,27,27,0.5);
  70. --code_bg: #f7f7f9;
  71. --code_txt: #bd4147;
  72. --uploadtab_bg: #f5f5f5;
  73. --uploadtab_txt: rgb(78, 78, 78);
  74. --upload_bg: #ffffff;
  75. }
  76. body.darkTheme{
  77. --fileopr_btnTxt: rgb(255, 255, 255);
  78. --fileopr_oprtxt: rgb(241, 241, 241);
  79. --fileopr_btnhover: #353535;
  80. --navi_bgcolor: var(--body_background_secondary, #27292d);
  81. --navi_theme: var(--theme_color, #6682c4);
  82. --navi_theme_multiselect: #6c06ba;
  83. --navi_txt: rgb(241, 241, 241);
  84. --dropdown_bg: #373a42;
  85. --dropdown_txt: rgb(231, 231, 231);
  86. --vroot_active_bg: #95b5de;
  87. --dir_item_color: rgb(228, 228, 228);
  88. --text_active: #23cc28;
  89. --dir_bg: #373a42;
  90. --dir_txt: rgb(230, 230, 230);
  91. --dir_border: #3b4751;
  92. --dir_hover_text: #a3a3a3;
  93. --dir_hover_background: #f3f3f3;
  94. --dir_hover_active: #7c9cc7;
  95. --normal_object_txt: rgb(236, 236, 236);;
  96. --hex_folder_txt: #44d36a;
  97. --um_file_txt: #69aaff;
  98. --folder_view_background: var(--body_background_active, #3d3f47);
  99. --folder_view_share: #24cc29;
  100. --fileobject_background_hover: #5a5e6b;
  101. --fileobject_background_selected: #95b5de;
  102. --fileobject_text_selected: black;
  103. --address_text_border:#27292d;
  104. --address_text_background: rgb(0, 0, 0);
  105. --popup_bg: black;
  106. --popup_border: rgb(226, 226, 226);
  107. --popup_header_bg: #171719;
  108. --popup_header_txt: white;
  109. --popup_header_bottom: #6682c4;
  110. --popup_btn_border: #dedede;
  111. --popup_btn_hover: rgb(53, 53, 53);
  112. --popup_btn_primary_bg: #51aded;
  113. --popup_btn_primary_txt: white;
  114. --popup_btn_primary_bg_hover: #4391c9;
  115. --popup_btn_negative_bg: #ed5151;
  116. --popup_btn_negative_txt: white;
  117. --popup_btn_negative_bg_hover: #f57676;
  118. --modulelist_bg: transparent;
  119. --modulelist_hover: rgba(240,240,240,0.3);
  120. --contextmenu_background: #0e0e0e;
  121. --contextmenu_hover: #292929;
  122. --contextmenu_textcolor: rgb(233, 233, 233);
  123. --upload_progressbar: #92cfe7;
  124. --upload_progresstext: rgb(255, 255, 255);
  125. --upload_progress_succ: #8cd68f;
  126. --upload_progress_failed: #d68c8c;
  127. --open_with_selected: #95b5de;
  128. --open_with_selected_text: white;
  129. --open_with_item_hover_background:rgba(35,35,35,0.14);
  130. --popup_wrapper_background: rgba(27,27,27,0.5);
  131. --code_bg: rgb(20, 20, 20);
  132. --code_txt: #d68c8c;
  133. --uploadtab_bg: #27292d;
  134. --uploadtab_txt: rgb(233, 233, 233);
  135. --upload_bg: #373a42;
  136. }
  137. body{
  138. color:var(--body_text);
  139. background-color:var(--body_background);
  140. height:100%;
  141. overflow: hidden;
  142. }
  143. h1, h2, h3, p, span, div, input, .dropdown { font-family: "Microsoft JhengHei","SimHei", "Apple LiGothic Medium", "STHeiti"}
  144. html{
  145. height:100%;
  146. overflow:hidden;
  147. }
  148. /* force override of semantic button rule */
  149. body.darkTheme .ui.icon.button{
  150. color: var(--text_color) !important;
  151. }
  152. /*
  153. Navigation Bar
  154. The top bar of the interface
  155. see subparts for more detail configs
  156. */
  157. .navibar{
  158. width:100%;
  159. padding-left:12px;
  160. padding-right:12px;
  161. padding-top:6px;
  162. padding-bottom:3px;
  163. z-index: 99;
  164. background-color:var(--navi_bgcolor);
  165. border-bottom:2px solid var(--navi_theme);
  166. }
  167. .navibar.ctrl{
  168. border-bottom:2px solid var(--navi_theme_multiselect);
  169. }
  170. .navibar.mobile{
  171. padding-top: 0;
  172. }
  173. .button.standard{
  174. box-shadow: 0 1px 1px 0px rgb(190, 190, 190);
  175. border: 0px;
  176. }
  177. .button.standard:hover{
  178. background-color:#82c2f0 !important;
  179. color:white !important;
  180. }
  181. /*
  182. File operation bar
  183. */
  184. .navibar .fileOprBtn{
  185. vertical-align: top;
  186. border: 1px solid transparent;
  187. cursor: pointer;
  188. background-color: transparent;
  189. text-align: center;
  190. padding-bottom: 0.4em;
  191. padding-top: 0.5em;
  192. border-radius: 0.4em;
  193. }
  194. .navibar .fileOprBtn:hover{
  195. border: 1px solid var(--fileopr_btnhover);
  196. opacity: 0.8;
  197. }
  198. .navibar .fileOprBtn .opricon{
  199. width: 46px;
  200. }
  201. .navibar .fileOprBtn .oprtxt{
  202. color:var(--fileopr_oprtxt);
  203. }
  204. .navibar .twolines.fileOprBtn{
  205. padding-top: 0.1em;
  206. padding-bottom: 0.1em;
  207. }
  208. .navibar .twolines.fileOprBtn .opricon{
  209. width: 40px;
  210. }
  211. .navibar .twolines.fileOprBtn .oprtxt{
  212. font-size: 1em;
  213. }
  214. .navibar.mobile .fileOprBtn{
  215. padding-bottom: 0.4em;
  216. padding-top: 0.2em;
  217. border-radius: 0.4em;
  218. }
  219. .navibar.mobile .fileOprBtn .opricon{
  220. width: 36px;
  221. }
  222. .navibar.mobile .twolines.fileOprBtn .opricon{
  223. width: 28px;
  224. }
  225. .navibar.mobile .twolines.fileOprBtn .oprtxt{
  226. font-size: 0.7em;
  227. }
  228. .navibar .fileoprSmallBtn{
  229. cursor: pointer;
  230. border: 1px solid transparent;
  231. color:var(--navi_txt);
  232. background-color: transparent;
  233. padding: 0.3em;
  234. width: fit-content;
  235. text-align: left;
  236. }
  237. .navibar .fileoprSmallBtn:hover{
  238. opacity: 0.8;
  239. border: 1px solid var(--divider);
  240. border-radius: 0.4em;
  241. }
  242. .navibar.mobile .fileoprSmallBtn{
  243. font-size: 0.9em;
  244. padding: 0.2em;
  245. }
  246. .navibar .fileoprGroupDivider{
  247. padding-right: 0.2em;
  248. margin-right: 0.2em;
  249. border-right: 1px solid var(--divider);
  250. height: 80px;
  251. }
  252. .navibar.mobile .fileoprGroupDivider{
  253. height: 64px;
  254. }
  255. .ui.selection.dropdown{
  256. background-color: var(--dropdown_bg) !important;
  257. color: var(--dropdown_txt) !important;
  258. min-width: 13em !important;
  259. }
  260. /* special case when using in mobile sidebar */
  261. #mobileSortDropdown .ui.selection.dropdown{
  262. width: 100%;
  263. border-radius: 0;
  264. padding: 1em;
  265. }
  266. .ui.selection.dropdown .menu > .item{
  267. border-top-color:var(--divider);
  268. background-color: var(--dropdown_bg) !important;
  269. color: var(--dropdown_txt) !important;
  270. }
  271. .ui.selection.active.dropdown .menu{
  272. border: 1px solid var(--divider) !important;
  273. }
  274. .ui.selection.visible.dropdown > .text:not(.default){
  275. color: var(--text_color_secondary) !important;
  276. }
  277. /* Mobile interface */
  278. .fileOprBtnMobile{
  279. position: relative;
  280. width: 100%;
  281. background-color: none;
  282. padding: 0.5em;
  283. padding-left: 1em;
  284. cursor: pointer;
  285. }
  286. #mobileNaviBar{
  287. height: 100vh !important;
  288. overflow-y: auto !important;
  289. }
  290. #mobileNaviBar .fileoprBtnMobile{
  291. border-bottom: 1px solid var(--divider);
  292. }
  293. .fileOprBtnMobile:hover{
  294. background-color: var(--popup_btn_hover) !important;
  295. }
  296. .fileOprBtnMobile .opricon{
  297. width: 30px;
  298. display: inline-block;
  299. vertical-align: middle;
  300. margin-right: 0.4em;
  301. }
  302. .fileOprBtnMobile p{
  303. display: inline-block;
  304. vertical-align: middle;
  305. }
  306. .fileoprSmallBtnMobile{
  307. cursor: pointer;
  308. border: 1px solid transparent;
  309. color:var(--navi_txt);
  310. background-color: transparent;
  311. padding: 0.5em;
  312. padding-left: 1em;
  313. width: 100%;
  314. text-align: left;
  315. }
  316. #mobileNaviBar .fileoprSmallBtnMobile{
  317. border-bottom: 1px solid var(--divider);
  318. }
  319. .fileoprSmallBtnMobile:hover{
  320. background-color: var(--popup_btn_hover) !important;
  321. }
  322. /*
  323. Address and search bar
  324. */
  325. .navibarBtn{
  326. cursor: pointer;
  327. border: 1px solid transparent;
  328. color:var(--navi_txt);
  329. background-color: transparent;
  330. padding: 0.3em;
  331. display: inline-block;
  332. border-radius: 0.4em;
  333. padding-right: 0.1em;
  334. padding-bottom: 0.4em;
  335. margin-left: 0.2em;
  336. }
  337. .navibarBtn:hover{
  338. opacity: 0.8;
  339. border: 1px solid var(--divider);
  340. }
  341. .navibarBtn.disabled{
  342. pointer-events: none;
  343. opacity: 0.5;
  344. user-select: none;
  345. }
  346. /* Special button for switching over to dark theme*/
  347. .navibarBtn.DarkThemeToggle.inverted{
  348. color:var(--dark_theme_toggle_text);
  349. background-color: var(--dark_theme_toggle);
  350. }
  351. .navibarBtn.DarkThemeToggle{
  352. color: var(--white_theme_toggle_text);
  353. background-color: var(--white_theme_toggle);
  354. }
  355. .navibarBtn.DarkThemeToggle:hover{
  356. border: 1px solid transparent;
  357. }
  358. .navibarBtn:hover{
  359. opacity: 0.8;
  360. }
  361. /* View mode buttons */
  362. .videmode.button{
  363. color:var(--navi_txt) !important;
  364. background-color: transparent;
  365. }
  366. .videmode.button:hover{
  367. background-color: transparent;
  368. opacity: 0.8;
  369. }
  370. .videmode.button:focus:not(#togglePropertiesViewBtn){
  371. background-color: transparent !important;
  372. }
  373. .addressBar{
  374. border-top: 1px solid var(--divider);
  375. width:100%;
  376. padding: 0.4em;
  377. padding-left: 0;
  378. padding-right: 0;
  379. padding-top: 0.6em;
  380. min-height: 35px;
  381. margin-top:0.4em;
  382. vertical-align: top;
  383. display: flex;
  384. position: relative;
  385. }
  386. .addressBar .divider{
  387. color: var(--text_color_secondary) !important;
  388. }
  389. #pathDisplayField{
  390. margin-left: 0.4em !important;
  391. }
  392. .addressText{
  393. padding:5px;
  394. border-radius: 0.4em;
  395. border: 1px solid var(--address_text_border);
  396. flex-grow: 1;
  397. background-color: var(--address_text_background);
  398. }
  399. #pathInputField{
  400. margin-left: 0.4em !important;
  401. font-size: 1rem;
  402. height: 27px;
  403. width: 100%;
  404. }
  405. #pathInputField input{
  406. background-color: var(--address_text_background);
  407. color: var(--text_color);
  408. }
  409. .selectable{
  410. cursor:pointer;
  411. }
  412. .viewportBtns.mobile{
  413. order: 2;
  414. margin-left: auto !important;
  415. height: 30px;
  416. border-right: none;
  417. margin-top: -10px;
  418. }
  419. /* Mobile file operation menus */
  420. .mobileFileOprMenu{
  421. position: fixed;
  422. top: 0.6em;
  423. right: 0.6em;
  424. background-color: var(--navi_bgcolor);
  425. border: none;
  426. color: var(--text_color);
  427. cursor: pointer;
  428. width: 50px;
  429. height: 50px;
  430. padding-top: 4px;
  431. padding-left: 10px;
  432. border-radius: 0.4em;
  433. }
  434. .mobileFileOprMenu:hover{
  435. opacity: 0.8;
  436. }
  437. .mobileFileOprMenuToggle{
  438. padding: 1em;
  439. border: 0px solid transparent;
  440. color: var(--text_color);
  441. border-bottom:2px solid var(--navi_theme);
  442. text-align: right;
  443. cursor: pointer;
  444. }
  445. .mobileFileOprMenuToggle .logo{
  446. position: absolute;
  447. top: 0.8em;
  448. left: 0.5em;
  449. width: 100px;
  450. opacity: 0.6;
  451. }
  452. /*
  453. Search bar
  454. */
  455. .searchbar{
  456. width:100%;
  457. padding: 0.4em;
  458. padding-left: 0;
  459. padding-right: 0;
  460. min-height: 35px;
  461. margin-top:0.4em;
  462. vertical-align: top;
  463. display: flex;
  464. align-items: center;
  465. }
  466. .searchbar .searInputBar{
  467. flex-grow: 1;
  468. }
  469. .searchbar .navibarBtn.active{
  470. color: var(--text_active);
  471. font-weight: bold;
  472. }
  473. /*
  474. Main Window scalling
  475. */
  476. #mainWindow{
  477. display: flex;
  478. align-items:flex-start;
  479. }
  480. /*
  481. Directory Sidebar
  482. */
  483. #directorySidebar{
  484. padding-top:1em;
  485. padding-bottom: 1em;
  486. overflow-y:auto;
  487. padding-bottom:20px;
  488. border-right:2px solid var(--dir_border);
  489. background-color:var(--dir_bg);
  490. color:var(--dir_txt);
  491. width: 250px;
  492. min-width: 250px;
  493. scrollbar-width: thin;
  494. }
  495. .rightmargin.icon{
  496. margin-right:8px !important;
  497. }
  498. .dir{
  499. cursor:pointer;
  500. }
  501. .dir:not(.active):hover{
  502. color: var(--dir_hover_text) !important;
  503. }
  504. .dir.active:hover{
  505. background-color:var(--dir_hover_active);
  506. }
  507. .dir.item{
  508. padding-top: 0.4em !important;
  509. padding-bottom: 0.4em !important;
  510. padding-left: 1.4em !important;
  511. padding-right: 1.4em !important;
  512. color:var(--dir_item_color);
  513. }
  514. .vroot.active{
  515. background-color: var(--vroot_active_bg);
  516. }
  517. #selectInfo{
  518. padding-left: 1.2em;
  519. padding-right: 1.2em;
  520. color: var(--text_color_secondary);
  521. }
  522. .mobilePathDisplayWrapper{
  523. width:100%;
  524. margin-bottom:5px;
  525. }
  526. #mobilePathDisplay .divider{
  527. color: var(--text_color_secondary) !important;
  528. }
  529. .pathDisplay{
  530. cursor: text;
  531. overflow:hidden;
  532. white-space: nowrap;
  533. text-align: left;
  534. }
  535. .measure {
  536. position: absolute;
  537. visibility: hidden;
  538. left: -1000px;
  539. top: -1000px;
  540. }
  541. /*
  542. Folder Viewer (Main viewer)
  543. */
  544. #folderView{
  545. flex-grow:1;
  546. padding-left:2em;
  547. padding-right:2em;
  548. padding-top:2em;
  549. overflow-y:auto;
  550. background-color: var(--folder_view_background);
  551. scrollbar-width: thin;
  552. }
  553. #folderview.fixscroll{
  554. overflow: hidden;
  555. padding-right: calc(2em + 12px);
  556. }
  557. #folderList{
  558. margin-bottom:1em;
  559. }
  560. .fileviewList{
  561. position: relative;
  562. }
  563. /* Common spacing for list view and grid view */
  564. .fileviewList .fileObject.item,.fileviewList .fileObject.card{
  565. display:block !important;
  566. cursor:pointer;
  567. overflow-wrap: break-word !important;
  568. user-select: none;
  569. border: 1px solid var(--divider);
  570. }
  571. .fileviewList .fileObject.item:hover,.fileviewList .fileObject.card:hover{
  572. background-color: var(--fileobject_background_hover) !important;
  573. }
  574. .fileviewList .fileObject.item.selected, .fileviewList .fileObject.card.selected{
  575. background-color: var(--fileobject_background_selected) !important;
  576. color: var(--fileobject_text_selected) !important;
  577. }
  578. /* Filelist in list mode */
  579. .fileviewList .fileObject.item{
  580. padding: 0.8em;
  581. padding-left: 1.2em;
  582. padding-right: 1em;
  583. }
  584. .fileviewList .fileObject.item:first-child{
  585. border-top-left-radius: 0.4em;
  586. border-top-right-radius: 0.4em;
  587. }
  588. .fileviewList .fileObject.item:last-child{
  589. border-bottom-left-radius: 0.4em;
  590. border-bottom-right-radius: 0.4em;
  591. }
  592. .fileviewList .fileObject.item.selected.renaming{
  593. padding-top: 0.6em !important;
  594. padding-bottom: 0.6em !important;
  595. }
  596. .fileviewList .fileObject.item:not(:first-child) {
  597. border-top: 0;
  598. }
  599. /* Filelist in grid mode */
  600. .fileviewList .fileObject.card{
  601. border-radius: 0.4em;
  602. position: relative;
  603. margin-bottom:1em;
  604. width: 148px !important;
  605. }
  606. .fileviewList .fileObject.card img{
  607. width: 148px;
  608. height: 148px;
  609. }
  610. .fileviewList .fileObject.card .content{
  611. padding-left: 1em;
  612. padding-right: 1em;
  613. padding-top: 1em;
  614. padding-bottom: 0.4em;
  615. }
  616. /* Share icon overlay for card view */
  617. .fileviewList .fileObject.card .image{
  618. position: relative;
  619. }
  620. .fileviewList .fileObject.card .shareOverlay.visible{
  621. position: absolute;
  622. bottom: 0.4em;
  623. left: 0.4em;
  624. padding-top: 4px;
  625. background-color: var(--navi_bgcolor);
  626. height: 28px;
  627. width: 28px;
  628. border-radius: 0.4em;
  629. border: 1px solid var(--divider);
  630. box-shadow: 3px 1px 5px 1px rgba(158,158,158,0.2);
  631. opacity: 0.9;
  632. }
  633. .fileviewList .fileObject.card .content .header{
  634. font-size: 1.2em;
  635. font-weight: 500;
  636. color: var(--text_color);
  637. }
  638. .fileviewList .fileObject.card .content .meta{
  639. font-size: 0.9em;
  640. color: var(--text_color_secondary);
  641. }
  642. .fileviewList .fileObject.card .content .description{
  643. font-size: 1em;
  644. color: var(--text_color);
  645. position: absolute;
  646. bottom: 1em;
  647. left: 1em;
  648. }
  649. /* fileview in detail mode */
  650. .fileviewList .fileObject.details{
  651. cursor:pointer;
  652. user-select: none;
  653. border: 1px solid var(--divider);
  654. color: var(--text_color);
  655. }
  656. .fileviewList .fileObject.details:hover{
  657. background-color:var(--fileobject_background_hover) !important;
  658. }
  659. .fileviewList .fileObject.details.selected{
  660. background-color:var(--fileobject_background_selected) !important;
  661. }
  662. #folderView th{
  663. color: var(--text_color);
  664. }
  665. .fileviewList .fileObject.details.selected.renaming td:first-child{
  666. padding: inherit;
  667. }
  668. .fileviewList .detailTableContent tr td:first-child{
  669. padding-left: 1em !important;
  670. }
  671. .fileviewList .fileObject.details .light-text{
  672. color: var(--text_color_secondary);
  673. }
  674. /* Share button */
  675. .sharebtn{
  676. cursor: pointer;
  677. border: 1px solid transparent;
  678. background-color: transparent;
  679. color: var(--folder_view_share);
  680. margin-left: 4px;
  681. margin-top: 1px;
  682. }
  683. /* Handle specific Chrome bug in rendering the share icon */
  684. @media screen and (-webkit-min-device-pixel-ratio:0)
  685. and (min-resolution:.001dpcm) {
  686. .sharebtn{
  687. padding: 0 !important;
  688. }
  689. }
  690. .sharebtn:hover{
  691. opacity: 0.5;
  692. }
  693. /*
  694. Properties View
  695. */
  696. #propertiesView{
  697. width: 300px;
  698. min-width: 300px;
  699. padding: 1em;
  700. overflow-y: auto;
  701. scrollbar-width: thin;
  702. color: var(--text_color);
  703. border-left: 1px solid var(--divider);
  704. background-color: var(--folder_view_background);
  705. }
  706. #propertiesView td, #propertiesView span, #propertiesView div{
  707. color: var(--text_color);
  708. }
  709. /*
  710. Context Menu
  711. This is a complete rewrite / re-implement of the
  712. ts contextmenu after migration
  713. */
  714. .contextmenu{
  715. position: fixed;
  716. display: none;
  717. width: 200px;
  718. background-color: var(--contextmenu_background);
  719. border: 1px solid var(--divider);
  720. -webkit-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.12);
  721. -moz-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.12);
  722. box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.12);
  723. /*border-radius: 0.4em;*/
  724. z-index: 999;
  725. }
  726. .contextmenu.visible{
  727. display: block;
  728. }
  729. .contextmenu .item{
  730. padding: 0.6em;
  731. cursor: pointer;
  732. padding-left: 1.5em;
  733. padding-right: 1.5em;
  734. color: var(--contextmenu_textcolor);
  735. }
  736. .contextmenu .item:hover{
  737. background-color: var(--contextmenu_hover);
  738. }
  739. .contextmenu .description{
  740. color: var(--text_color_secondary);
  741. float: right;
  742. font-size: 0.9em;
  743. }
  744. .contextmenu .divider{
  745. width: 100%;
  746. border-bottom: 1px solid var(--divider);
  747. }
  748. /*
  749. Message box and popups
  750. */
  751. .msgbox{
  752. position: absolute;
  753. bottom: 0;
  754. left: 3em;
  755. width: 20em;
  756. padding: 1.2em;
  757. padding-right: 2em;
  758. background-color: var(--navi_bgcolor);
  759. border-top-right-radius: 0.4em;
  760. border-top-left-radius: 0.4em;
  761. border: 1px solid var(--divider) !important;
  762. color: var(--text_color);
  763. }
  764. .closeMsgButton{
  765. position:absolute;
  766. top:8px;
  767. right:12px;
  768. }
  769. .closeMsgButton{
  770. cursor:pointer;
  771. }
  772. .popup{
  773. position:fixed;
  774. top:0;
  775. z-index:200;
  776. right:0;
  777. bottom:30px;
  778. padding-bottom:24px;
  779. border: 0px solid transparent !important;
  780. width: 30em;
  781. height: 100%;
  782. max-width: 100%;
  783. border: 1px solid var(--popup_border);
  784. background-color:var(--popup_bg);
  785. }
  786. .popup.wide{
  787. width: 60em;
  788. }
  789. .popupheader{
  790. width:100%;
  791. padding:3px;
  792. padding-left:12px;
  793. border-bottom:2px solid var(--popup_header_bottom);
  794. background-color: var(--popup_header_bg);
  795. color: var(--popup_header_txt);
  796. height:29px;
  797. }
  798. .popupcontent{
  799. height: calc(100% - 29px);
  800. overflow:auto;
  801. }
  802. .popupcloser{
  803. position:absolute;
  804. top:5px;
  805. right:0px;
  806. font-size: 120%;
  807. cursor:pointer;
  808. }
  809. .popupbuttons{
  810. cursor:pointer;
  811. padding:5px;
  812. padding-left:12px;
  813. margin-bottom:4px;
  814. border: 1px solid var(--popup_btn_border);
  815. border-radius: 4px;
  816. }
  817. .popupbuttons.primary{
  818. background-color:var(--popup_btn_primary_bg);
  819. border: 1px solid transparent;
  820. color:var(--popup_btn_primary_txt);
  821. }
  822. .popupbuttons.negative{
  823. background-color:var(--popup_btn_negative_bg);
  824. border: 1px solid transparent;
  825. color:var(--popup_btn_negative_txt);
  826. }
  827. .popupbuttons.disabled{
  828. opacity: 0.4;
  829. pointer-events: none;
  830. }
  831. .popupbuttons.primary.disabled{
  832. opacity: 0.4;
  833. pointer-events: none;
  834. }
  835. /* Rename dialog */
  836. .renameinput input{
  837. box-shadow: none;
  838. border: 1px solid var(--divider);
  839. padding-left: 0.4em;
  840. padding-right: 0.4em;
  841. padding-top: 0.2em;
  842. padding-bottom: 0.2em;
  843. width: 100%;
  844. }
  845. .renameinput input:focus {
  846. outline: none !important;
  847. border: 1px solid var(--navi_theme);
  848. }
  849. .allowHover:hover{
  850. background-color:var(--popup_btn_hover);
  851. }
  852. .allowHover.primary:hover{
  853. background-color:var(--popup_btn_primary_bg_hover);
  854. }
  855. .allowHover.negative:hover{
  856. background-color:var(--popup_btn_negative_bg_hover);
  857. }
  858. .newFileFormat{
  859. cursor:pointer;
  860. }
  861. .popupWrapper{
  862. position:fixed;
  863. top:0px;
  864. left:0px;
  865. width:100%;
  866. height:100%;
  867. z-index:199;
  868. background-color: var(--popup_wrapper_background);
  869. display:none;
  870. }
  871. @supports (backdrop-filter: none) {
  872. .popupWrapper {
  873. backdrop-filter: blur(5px);
  874. }
  875. }
  876. #openWithModuleList{
  877. height:50vh;
  878. overflow-y:auto;
  879. background-color: var(--modulelist_bg);
  880. border: 1px solid var(--divider);
  881. border-radius: 0;
  882. }
  883. #openWithModuleList .ui.avatar.image, #openWithModuleList .ui.avatar.image img, #openWithModuleList .ui.avatar.image svg, #openWithModuleList .ui.avatar.images .image, #openWithModuleList .ui.avatar.images img, #openWithModuleList .ui.avatar.images svg{
  884. border-radius: 0;
  885. }
  886. #openWithModuleList .item{
  887. padding:8px;
  888. padding-left:22px;
  889. border-radius: 2px;
  890. display: flex;
  891. flex-wrap: wrap;
  892. }
  893. #openWithModuleList .item:hover{
  894. background-color: var(--modulelist_hover) !important;
  895. }
  896. #openWithModuleList .item.selected{
  897. background-color: var(--open_with_selected) !important;
  898. color:var(--open_with_selected_text);
  899. }
  900. #openWithModuleList .item.selectable:hover{
  901. background-color:var(--open_with_item_hover_background);
  902. }
  903. .contextmenu .item{
  904. font-size:90% !important;
  905. }
  906. /*
  907. New Item List
  908. */
  909. .newfilelist{
  910. border: 1px solid var(--divider);
  911. border-radius: 0.4em;
  912. margin-bottom: 0.6em;
  913. }
  914. .newfilelist .item{
  915. padding: 0.6em;
  916. }
  917. .newfilelist .item:not(:last-child){
  918. border-bottom: 1px solid var(--divider);
  919. }
  920. .newfilelist .item.selected{
  921. background-color: var(--open_with_selected) !important;
  922. color:var(--open_with_selected_text);
  923. }
  924. /*
  925. Upload Related
  926. */
  927. #uploadTab{
  928. position:fixed;
  929. right:0px;
  930. bottom: 0px;
  931. width:300px;
  932. margin-bottom:0px !important;
  933. padding:0px !important;
  934. background-color: var(--upload_bg) !important;
  935. overflow-x: hidden;
  936. }
  937. .statusBar{
  938. height:32px;
  939. background-color:var(--uploadtab_bg);
  940. padding:8px;
  941. }
  942. .statusBar{
  943. color:var(--uploadtab_txt);
  944. }
  945. .hideUploadButton{
  946. float: right;
  947. cursor:pointer;
  948. }
  949. .uploadList{
  950. margin:8px;
  951. padding-bottom:3px;
  952. margin-bottom:0px;
  953. max-height: 250px;
  954. overflow-y:auto;
  955. }
  956. .uploadTask{
  957. margin-top:6px;
  958. position: relative;
  959. }
  960. .uploadTaskRemoveIcon{
  961. position:absolute;
  962. top:0px;
  963. right:0px;
  964. cursor:pointer;
  965. }
  966. .saving {
  967. -moz-animation: saving 3s ease-out;
  968. -moz-animation-iteration-count: infinite;
  969. -webkit-animation: saving 3s ease-out;
  970. -webkit-animation-iteration-count: infinite;
  971. -ms-animation: saving 3s ease-out;
  972. -ms-animation-iteration-count: infinite;
  973. }
  974. @keyframes saving {
  975. 0% { opacity: 0.6; }
  976. 50% { opacity: 1; }
  977. 100% { opacity: 0.6; }
  978. }
  979. @-webkit-keyframes saving {
  980. 0% { opacity: 0.6; }
  981. 50% { opacity: 1; }
  982. 100% { opacity: 0.6; }
  983. }
  984. @-moz-keyframes saving {
  985. 0% { opacity: 0.6; }
  986. 50% { opacity: 1; }
  987. 100% { opacity: 0.6; }
  988. }
  989. @-ms-keyframes saving {
  990. 0% { opacity: 0.3; }
  991. 50% { opacity: 1; }
  992. 100% { opacity: 0.3; }
  993. }
  994. .clearallButton{
  995. padding:8px;
  996. cursor:pointer;
  997. }
  998. .themed.progress .bar{
  999. background-color: var(--upload_progressbar);
  1000. }
  1001. .themed.progress .percentage{
  1002. color: var(--upload_progresstext) !important;
  1003. }
  1004. .success.progress .bar{
  1005. background-color: var(--upload_progress_succ);
  1006. }
  1007. .error.progress .bar{
  1008. background-color: var(--upload_progress_failed);
  1009. }
  1010. .ui.progress{
  1011. margin-bottom: 1em !important;
  1012. }
  1013. /*
  1014. Special message or exceptions
  1015. */
  1016. .ui.themed.header{
  1017. color: var(--text_color);
  1018. }
  1019. .ui.themed.header .sub.header{
  1020. color: var(--text_color_secondary);
  1021. }
  1022. code{
  1023. background-color: var(--code_bg);
  1024. color: var(--code_txt);
  1025. line-height: 2.5;
  1026. padding: 0.1em;
  1027. padding-left: 0.4em;
  1028. padding-right: 0.4em;
  1029. border-radius: 0.2em;
  1030. }
  1031. /*
  1032. Legacy supports (Deprecated)
  1033. */
  1034. .normal.object{
  1035. color:var(--normal_object_txt);
  1036. }
  1037. .hex.foldername{
  1038. color: var(--hex_folder_txt) !important;
  1039. }
  1040. .um.filename{
  1041. color: var(--um_file_txt) !important;
  1042. }
  1043. /*
  1044. Hot Search Related
  1045. */
  1046. i.blue{
  1047. color: #345eeb;
  1048. }
  1049. .fileObject.hotSearchHighlight{
  1050. background-color: #d2f2f7 !important;
  1051. }
  1052. /*
  1053. Responsive
  1054. */
  1055. @media (max-width:1035px) {
  1056. .viewportBtns{
  1057. display: block;
  1058. float: right;
  1059. }
  1060. }
  1061. @media (max-width:840px) {
  1062. .viewportBtns{
  1063. float: none;
  1064. }
  1065. .tabletAndDesktopOnly{
  1066. display:none !important;
  1067. }
  1068. .mobileFileOprMenu{
  1069. display:block !important;
  1070. }
  1071. .navibar.mobile .fileOprBtn{
  1072. padding-top: 0.1em;
  1073. padding-bottom: 0em;
  1074. }
  1075. .navibar.mobile .twolines.fileOprBtn{
  1076. padding-top: 0.1em;
  1077. padding-bottom: 0em;
  1078. }
  1079. .navibar.mobile .twolines.fileOprBtn .opricon{
  1080. width: 36px;
  1081. }
  1082. .navibar.mobile .twolines.fileOprBtn .oprtxt{
  1083. display:none !important;
  1084. }
  1085. .navibar.mobile .wideScreenOnly{
  1086. display:none;
  1087. }
  1088. .navibar.mobile .fileoprGroupDivider{
  1089. height: 42px;
  1090. }
  1091. .mobileFileOprMenu{
  1092. top: 0;
  1093. right: 0.4em;
  1094. margin-top: -0.2em;
  1095. }
  1096. }
  1097. @media (max-width:620px) {
  1098. #pathInputField{
  1099. width: 100%;
  1100. }
  1101. #pathInputField input{
  1102. margin-left: 0;
  1103. }
  1104. .ui.selection.dropdown{
  1105. min-width: 8em;
  1106. }
  1107. /*Directory sidebar, full width */
  1108. #directorySidebar{
  1109. width: 100%;
  1110. min-width: 100%;
  1111. }
  1112. /* grid mode preview */
  1113. .fileviewList .fileObject.card{
  1114. border-radius: 0.4em;
  1115. position: relative;
  1116. margin-bottom:1em;
  1117. width: calc(33% - 4px) !important;
  1118. min-width: 100px;
  1119. max-width: 148px;
  1120. }
  1121. .fileviewList .fileObject.card img{
  1122. width: 100% !important;
  1123. height: auto !important;
  1124. }
  1125. /* Properties view, disable function in small display size*/
  1126. #propertiesView{
  1127. display:none !important;
  1128. }
  1129. #togglePropertiesViewBtn{
  1130. display:none !important;
  1131. }
  1132. /* popups */
  1133. .popup{
  1134. top: 5em;
  1135. bottom: 5em;
  1136. width:100%;
  1137. height: auto;
  1138. }
  1139. /* msgbox */
  1140. .msgbox{
  1141. left: 0.4em;
  1142. border: 0px solid transparent;
  1143. }
  1144. }
  1145. @media (max-width:450px) {
  1146. .viewportBtns{
  1147. float: right;
  1148. }
  1149. }