PageRenderTime 45ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/Web/Data/style/qtfile/default.css

#
CSS | 527 lines | 420 code | 73 blank | 34 comment | 0 complexity | b9c46e5ba9762569f067dda94634a37d MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause, CPL-1.0, CC-BY-SA-3.0, GPL-2.0
  1. /* Reset */
  2. .qtfile,
  3. .qtfile p,
  4. .qtfile ul,
  5. .qtfile li,
  6. .qtfile a,
  7. .qtfile span,
  8. .qtfile img
  9. {
  10. border-style: none;
  11. border-width: 0;
  12. margin: 0;
  13. padding: 0;
  14. list-style: none;
  15. text-decoration: none;
  16. outline: 0;
  17. /*
  18. zoom: 1;
  19. */
  20. }
  21. .qtfile
  22. {
  23. min-width: 650px;
  24. }
  25. .qtfile span
  26. {
  27. vertical-align: text-top;
  28. line-height: 100%;
  29. }
  30. /* Button elements */
  31. .qtfile .button
  32. {
  33. cursor: pointer;
  34. }
  35. .qtfile .button.button-disabled
  36. {
  37. color: Gray;
  38. cursor: default;
  39. }
  40. /* Icons */
  41. /* Command buttons */
  42. .qtfile .button.folder-create .icon,
  43. .qtfile .button.folder-rename .icon,
  44. .qtfile .button.folder-move .icon,
  45. .qtfile .button.folder-delete .icon,
  46. .qtfile .button.file-upload .icon,
  47. .qtfile .button.file-refresh .icon,
  48. .qtfile .button.folder-refresh .icon,
  49. /* File actions */
  50. .qtfile .file-panel .icon-file-name,
  51. .qtfile .file-panel .file-actions span,
  52. /* Folder items */
  53. .qtfile .folder-panel .folder-bullet,
  54. .qtfile .folder-panel .folder-bullet.folder-bullet-closed,
  55. .qtfile .folder-panel .folder-bullet.folder-bullet-opened,
  56. .qtfile .folder-panel .icon-folder,
  57. .qtfile .folder-panel .icon-folder-end,
  58. /* Status icons */
  59. .qtfile .qtfile-footer .icon-status
  60. {
  61. background-image: url('icons.png');
  62. width: 16px;
  63. height: 16px;
  64. display: inline-block;
  65. overflow: hidden;
  66. }
  67. /* Header */
  68. .qtfile .qtfile-header
  69. {
  70. padding: 7px 0 3px 10px;
  71. }
  72. /* Footer */
  73. .qtfile .qtfile-footer
  74. {
  75. border-top: none;
  76. padding: 6px 0 5px 5px;
  77. position: relative;
  78. }
  79. .qtfile .qtfile-footer .status-message
  80. {
  81. position: absolute;
  82. left: 10px;
  83. top: 8px;
  84. }
  85. .qtfile .qtfile-footer .icon-status
  86. {
  87. margin: 0 5px 0 0;
  88. }
  89. .qtfile .qtfile-footer .status-info .icon-status { background-position: 64px 64px; }
  90. .qtfile .qtfile-footer .status-warn .icon-status { background-position: 32px 64px; }
  91. .qtfile .qtfile-footer .status-error .icon-status { background-position: 16px 64px; }
  92. .qtfile .qtfile-footer .credit
  93. {
  94. display: block;
  95. float: right;
  96. margin-right: 15px;
  97. }
  98. .qtfile .qtfile-footer .credit a
  99. {
  100. line-height: 1.6em;
  101. }
  102. .qtfile .qtfile-footer .credit a:hover
  103. {
  104. text-decoration: underline;
  105. }
  106. /* Menu list */
  107. .qtfile .menu-bar
  108. {
  109. margin: 5px 0 5px 5px;
  110. position: relative;
  111. }
  112. .qtfile .menu-bar .icon
  113. {
  114. margin-right: 3px;
  115. }
  116. .qtfile .menu-bar .button.file-refresh
  117. {
  118. position: absolute;
  119. right: 3px;
  120. top: 2px;
  121. }
  122. .qtfile .button.file-refresh .icon { background-position: 0 32px; }
  123. .qtfile .button.folder-create .icon { background-position: 0 48px; }
  124. .qtfile .button.folder-rename .icon { background-position: 64px 48px; }
  125. .qtfile .button.folder-delete .icon { background-position: 32px 48px; }
  126. .qtfile .button.folder-move .icon { background-position: 48px 48px; }
  127. .qtfile .button.file-upload .icon { background-position: 64px 32px; }
  128. .qtfile .qtfile-content
  129. {
  130. position: relative;
  131. height: 389px;
  132. /* Only need the top border from jquery-ui */
  133. border-bottom: none;
  134. border-right: none;
  135. border-left: none;
  136. }
  137. /* Headers */
  138. .qtfile .file-header *,
  139. .qtfile .folder-header *
  140. {
  141. line-height: 27px;
  142. }
  143. .qtfile .folder-header
  144. {
  145. border-right: none;
  146. border-left: none;
  147. position: relative;
  148. padding-left: 2%;
  149. margin-right: -2%;
  150. }
  151. .qtfile .folder-header .button.folder-refresh
  152. {
  153. position: absolute;
  154. right: 3%;
  155. top: 3px;
  156. }
  157. .qtfile .button.folder-refresh .icon { background-position: 0 32px; }
  158. .qtfile .file-header
  159. {
  160. border-right: none;
  161. padding-left: 0px;
  162. position: relative;
  163. }
  164. .qtfile .file-header .file-size-header,
  165. .qtfile .file-header .file-name-header,
  166. .qtfile .file-header .file-actions-header
  167. {
  168. float: left;
  169. text-align: center;
  170. background-image: none;
  171. background-color: Transparent;
  172. border-top: none;
  173. border-right: none;
  174. border-bottom: none;
  175. margin-right: -1px;
  176. }
  177. .qtfile .file-header .file-name-header
  178. {
  179. border: none;
  180. width: 55%;
  181. text-align: left;
  182. text-indent: 1%;
  183. }
  184. .qtfile .file-header .file-size-header
  185. {
  186. width: 20%;
  187. }
  188. .qtfile .file-header .file-actions-header
  189. {
  190. width: 25%;
  191. text-indent: -10000px;
  192. }
  193. /* Folders */
  194. .qtfile .folder-wraper
  195. {
  196. width: 26%;
  197. position: absolute;
  198. }
  199. /* Folder list */
  200. .qtfile .folder-panel
  201. {
  202. height: 360px;
  203. overflow: auto;
  204. }
  205. .qtfile .folder-panel li,
  206. .qtfile .file-panel li
  207. {
  208. white-space: nowrap;
  209. }
  210. .qtfile .folder-panel li li
  211. {
  212. padding-left: 16px;
  213. }
  214. .qtfile .folder-panel .folder-bullet,
  215. .qtfile .folder-panel .folder-name
  216. {
  217. cursor: pointer;
  218. }
  219. .qtfile .folder-panel .folder-name-text
  220. {
  221. line-height: 1.5em;
  222. }
  223. .qtfile .folder-panel .folder-name:hover
  224. {
  225. color: Blue;
  226. }
  227. .qtfile .folder-bullet { background-image: none; }
  228. .qtfile .icon-folder-end { background-position: 16px 32px; }
  229. .qtfile .icon-folder { background-position: 16px 48px; }
  230. .qtfile .folder-bullet.folder-bullet-closed { background-position: 48px 32px; }
  231. .qtfile .folder-bullet.folder-bullet-opened { background-position: 32px 32px; }
  232. .qtfile .folder-panel .folder-name .icon-folder,
  233. .qtfile .folder-panel .folder-name .icon-folder-end
  234. {
  235. margin-right: 5px;
  236. }
  237. .qtfile .folder-panel .folder-name .icon-folder-end
  238. {
  239. visibility: hidden;
  240. left: 5px;
  241. }
  242. .qtfile .folder-panel .folder-name-selected .icon-folder-end
  243. {
  244. visibility: visible;
  245. }
  246. /* Files */
  247. .qtfile .file-wraper
  248. {
  249. width: 74%;
  250. position: absolute;
  251. right: 0;
  252. }
  253. .qtfile .file-panel
  254. {
  255. padding-left: 0px;
  256. border-top: none;
  257. border-right: none;
  258. border-bottom: none;
  259. background-image: none;
  260. background-color: Transparent;
  261. height: 360px;
  262. overflow: auto;
  263. }
  264. .qtfile .file-panel.file-list-empty
  265. {
  266. /* background: url('empty_folder_bg.png') 50% 50% no-repeat; */
  267. }
  268. .qtfile .file-panel .file-name,
  269. .qtfile .file-panel .file-size,
  270. .qtfile .file-panel .file-actions
  271. {
  272. display: block;
  273. overflow: hidden;
  274. white-space: nowrap;
  275. cursor: pointer;
  276. float: left;
  277. line-height: 1.7em;
  278. }
  279. .qtfile .file-panel .file-name
  280. {
  281. width: 55%;
  282. text-indent: 1%;
  283. }
  284. .qtfile .file-panel li:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
  285. .qtfile .file-panel li { display: inline-block; }
  286. /* required comment for clearfix to work in Opera \*/
  287. .qtfile .file-panel li { height:1%; }
  288. .qtfile .file-panel li { display:block; }
  289. /* end clearfix */
  290. .qtfile .file-panel li.even
  291. {
  292. background-image: url('file_even_bg.png');
  293. }
  294. .qtfile .file-panel li:hover
  295. {
  296. background-image: url('file_hover_bg.png');
  297. }
  298. .qtfile .file-panel .file-size
  299. {
  300. width: 19%;
  301. text-align: right;
  302. }
  303. .qtfile .file-panel .file-actions
  304. {
  305. float: right;
  306. width: 22%;
  307. text-align: center;
  308. margin: 0 0 0 1%;
  309. }
  310. .qtfile .file-panel .icon-file-name
  311. {
  312. margin: 0 1% 0 0;
  313. }
  314. .qtfile .file-panel .file-actions span
  315. {
  316. cursor: pointer;
  317. margin: 0 0 0 1%;
  318. text-indent: -10000px;
  319. /* Fix for IE7 moved to IE7Specific css
  320. *text-indent: 0;
  321. *font-size: 0;
  322. */
  323. }
  324. .qtfile .file-panel .file-action-link { background-position: 48px 64px; }
  325. .qtfile .file-panel .file-action-delete { background-position: 16px 16px; }
  326. .qtfile .file-panel .file-action-move { background-position: 32px 16px; }
  327. .qtfile .file-panel .file-action-rename { background-position: 48px 16px; }
  328. .qtfile .file-panel .file-action-download { background-position: 64px 16px; }
  329. .qtfile .file-panel .file-action-preview { background-position: 80px 64px; }
  330. /* File preview */
  331. .qtfile .file-preview p,
  332. .qtfile .file-preview img
  333. {
  334. margin: 0;
  335. padding: 0;
  336. }
  337. .qtfile .file-preview p
  338. {
  339. overflow: hidden;
  340. white-space: nowrap;
  341. }
  342. .qtfile .file-preview p span
  343. {
  344. line-height: 1.6em;
  345. vertical-align: text-top;
  346. }
  347. .qtfile .file-preview
  348. {
  349. position: absolute;
  350. right: -1px;
  351. bottom: -1px;
  352. width: auto;
  353. max-width: 65%;
  354. display: none;
  355. /* Width must be set in IE7 for header get right moved to IE7Specific.css
  356. *width: 65%;
  357. */
  358. }
  359. .qtfile .file-preview-field-name
  360. {
  361. display: inline-block;
  362. width: 7.5em;
  363. font-weight: bold;
  364. }
  365. .qtfile .file-preview p.file-preview-image
  366. {
  367. line-height: 0;
  368. width: auto;
  369. }
  370. .qtfile .file-preview .file-preview-image img
  371. {
  372. max-width: 100%;
  373. overflow: auto;
  374. max-height: 150px;
  375. }
  376. .qtfile .file-preview .file-preview-image-loading
  377. {
  378. display: block;
  379. width: 48px;
  380. height: 48px;
  381. background: url('indicator.gif') no-repeat;
  382. }
  383. /* File icons */
  384. .qtfile .file-panel .icon-file-name
  385. {
  386. background-image: url('file_types.png');
  387. background-position: 16px 16px;
  388. }
  389. .qtfile .file-panel .icon-file-bmp { background-position: 256px 256px; }
  390. .qtfile .file-panel .icon-file-jpg, .qtfile .file-panel .icon-file-jpeg { background-position: 240px 0; }
  391. .qtfile .file-panel .icon-file-png { background-position: 224px 0; }
  392. .qtfile .file-panel .icon-file-gif { background-position: 208px 0; }
  393. .qtfile .file-panel .icon-file-txt { background-position: 256px 240px; }
  394. .qtfile .file-panel .icon-file-pdf { background-position: 240px 240px; }
  395. /* Impromptu
  396. http://trentrichardson.com/Impromptu/index.php
  397. */
  398. .jqifade{
  399. position: absolute;
  400. background-color: #aaaaaa;
  401. }
  402. div.jqi{
  403. width: 400px;
  404. font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  405. position: absolute;
  406. background-color: #ffffff;
  407. font-size: 11px;
  408. text-align: left;
  409. border: solid 1px #eeeeee;
  410. -moz-border-radius: 10px;
  411. -webkit-border-radius: 10px;
  412. padding: 7px;
  413. }
  414. div.jqi .jqicontainer{
  415. font-weight: bold;
  416. }
  417. div.jqi .jqiclose{
  418. position: absolute;
  419. top: 4px; right: -2px;
  420. width: 18px;
  421. cursor: default;
  422. color: #bbbbbb;
  423. font-weight: bold;
  424. }
  425. div.jqi .jqimessage{
  426. padding: 10px;
  427. line-height: 20px;
  428. color: #444444;
  429. }
  430. div.jqi .jqibuttons{
  431. text-align: right;
  432. padding: 5px 0 5px 0;
  433. border: solid 1px #eeeeee;
  434. background-color: #f4f4f4;
  435. }
  436. div.jqi button{
  437. padding: 3px 10px;
  438. margin: 0 10px;
  439. background-color: #2F6073;
  440. border: solid 1px #f4f4f4;
  441. color: #ffffff;
  442. font-weight: bold;
  443. font-size: 12px;
  444. }
  445. div.jqi button:hover{
  446. background-color: #728A8C;
  447. }
  448. div.jqi button.jqidefaultbutton{
  449. /*background-color: #8DC05B;*/
  450. background-color: #BF5E26;
  451. }
  452. .jqiwarning .jqi .jqibuttons{
  453. background-color: #BF5E26;
  454. }