styles.css 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921
  1. /* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
  2. This file is licensed under the Affero General Public License version 3 or later.
  3. See the COPYING-README file. */
  4. html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section { margin:0; padding:0; border:0; outline:0; font-weight:inherit; font-size:100%; font-family:inherit; vertical-align:baseline; cursor:default; }
  5. html, body { height:100%; }
  6. article, aside, dialog, figure, footer, header, hgroup, nav, section { display:block; }
  7. body { line-height:1.5; }
  8. table { border-collapse:separate; border-spacing:0; white-space:nowrap; }
  9. caption, th, td { text-align:left; font-weight:normal; }
  10. table, td, th { vertical-align:middle; }
  11. a { border:0; color:#000; text-decoration:none;}
  12. a, a *, input, input *, select, .button span, li, label { cursor:pointer; }
  13. ul { list-style:none; }
  14. body { background:#fefefe; font:normal .8em/1.6em "Helvetica Neue",Helvetica,Arial,FreeSans,sans-serif; color:#000; }
  15. /* HEADERS */
  16. #body-user #header, #body-settings #header {
  17. position:fixed; top:0; left:0; right:0; z-index:100; height:45px; line-height:2.5em;
  18. background:#1d2d44 url('../img/noise.png') repeat;
  19. }
  20. #body-login {
  21. text-align: center;
  22. background: #1d2d44; /* Old browsers */
  23. background: url('../img/noise.png'), -moz-linear-gradient(top, #35537a 0%, #1d2d44 100%); /* FF3.6+ */
  24. background: url('../img/noise.png'), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#35537a), color-stop(100%,#1d2d44)); /* Chrome,Safari4+ */
  25. background: url('../img/noise.png'), -webkit-linear-gradient(top, #35537a 0%,#1d2d44 100%); /* Chrome10+,Safari5.1+ */
  26. background: url('../img/noise.png'), -o-linear-gradient(top, #35537a 0%,#1d2d44 100%); /* Opera11.10+ */
  27. background: url('../img/noise.png'), -ms-linear-gradient(top, #35537a 0%,#1d2d44 100%); /* IE10+ */
  28. background: url('../img/noise.png'), linear-gradient(top, #35537a 0%,#1d2d44 100%); /* W3C */
  29. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#35537a', endColorstr='#1d2d44',GradientType=0 ); /* IE6-9 */
  30. }
  31. #owncloud { position:absolute; top:0; left:0; padding:6px; padding-bottom:0; }
  32. .header-right { float:right; vertical-align:middle; padding:0.5em; }
  33. .header-right > * { vertical-align:middle; }
  34. #header .avatardiv {
  35. float: left;
  36. display: inline-block;
  37. }
  38. #header .avatardiv img {
  39. opacity: 1;
  40. }
  41. #nojavascript {
  42. position: absolute;
  43. top: 0;
  44. bottom: 0;
  45. z-index: 999;
  46. width: 100%;
  47. text-align: center;
  48. background-color: rgba(50,0,0,0.5);
  49. color: white;
  50. text-shadow: 0px 0px 5px black;
  51. line-height: 125%;
  52. font-size: x-large;
  53. }
  54. #nojavascript div {
  55. width: 50%;
  56. top: 40%;
  57. position: absolute;
  58. left: 50%;
  59. margin-left: -25%;
  60. }
  61. #nojavascript a {
  62. color: #ccc;
  63. text-decoration: underline;
  64. }
  65. #nojavascript a:hover {
  66. color: #aaa;
  67. }
  68. /* INPUTS */
  69. input[type="text"],
  70. input[type="password"],
  71. input[type="search"],
  72. input[type="number"],
  73. input[type="email"],
  74. input[type="url"],
  75. input[type="time"],
  76. textarea,
  77. select,
  78. button, .button,
  79. #quota,
  80. .pager li a {
  81. width:10em; margin:.3em; padding:.6em .5em .4em;
  82. font-size:1em;
  83. background:#fff; color:#333; border:1px solid #ddd; outline:none;
  84. border-radius: 3px;
  85. }
  86. input[type="hidden"] {
  87. height: 0;
  88. width: 0;
  89. }
  90. input[type="text"],
  91. input[type="password"],
  92. input[type="search"],
  93. input[type="number"],
  94. input[type="email"],
  95. input[type="url"],
  96. input[type="time"],
  97. textarea {
  98. background: #fff;
  99. color: #555;
  100. cursor: text;
  101. font-family: inherit; /* use default ownCloud font instead of default textarea monospace */
  102. }
  103. input[type="text"],
  104. input[type="password"],
  105. input[type="search"],
  106. input[type="number"],
  107. input[type="email"],
  108. input[type="url"],
  109. input[type="time"] {
  110. -webkit-appearance:textfield; -moz-appearance:textfield;
  111. -webkit-box-sizing:content-box; -moz-box-sizing:content-box; box-sizing:content-box;
  112. }
  113. input[type="text"]:hover, input[type="text"]:focus, input[type="text"]:active,
  114. input[type="password"]:hover, input[type="password"]:focus, input[type="password"]:active,
  115. input[type="number"]:hover, input[type="number"]:focus, input[type="number"]:active,
  116. .searchbox input[type="search"]:hover, .searchbox input[type="search"]:focus, .searchbox input[type="search"]:active,
  117. input[type="email"]:hover, input[type="email"]:focus, input[type="email"]:active,
  118. input[type="url"]:hover, input[type="url"]:focus, input[type="url"]:active,
  119. input[type="time"]:hover, input[type="time"]:focus, input[type="time"]:active,
  120. textarea:hover, textarea:focus, textarea:active {
  121. color: #333;
  122. -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1;
  123. }
  124. input[type="checkbox"] { margin:0; padding:0; height:auto; width:auto; }
  125. input[type="checkbox"]:hover+label, input[type="checkbox"]:focus+label { color:#111 !important; }
  126. input[type="time"] {
  127. width: initial;
  128. height: 31px;
  129. -moz-box-sizing: border-box; box-sizing: border-box;
  130. }
  131. #quota {
  132. cursor: default;
  133. margin: 30px;
  134. }
  135. /* SCROLLING */
  136. ::-webkit-scrollbar { width:8px; }
  137. ::-webkit-scrollbar-track-piece { background-color:transparent; }
  138. ::-webkit-scrollbar-thumb { background:#ddd; }
  139. /* BUTTONS */
  140. input[type="submit"], input[type="button"],
  141. button, .button,
  142. #quota, select, .pager li a {
  143. width: auto;
  144. padding: .4em;
  145. background-color: rgba(240,240,240,.9);
  146. font-weight: bold;
  147. color: #555;
  148. border: 1px solid rgba(190,190,190,.9);
  149. cursor: pointer;
  150. border-radius: 3px;
  151. }
  152. input[type="submit"]:hover, input[type="submit"]:focus,
  153. input[type="button"]:hover, input[type="button"]:focus,
  154. button:hover, button:focus,
  155. .button:hover, .button:focus,
  156. select:hover, select:focus, select:active {
  157. background-color:rgba(250,250,250,.9);
  158. color:#333;
  159. }
  160. input[type="submit"] img, input[type="button"] img, button img, .button img { cursor:pointer; }
  161. #header .button {
  162. border: none;
  163. box-shadow: none;
  164. }
  165. /* disabled input fields and buttons */
  166. input:disabled, input:disabled:hover, input:disabled:focus,
  167. button:disabled, button:disabled:hover, button:disabled:focus,
  168. .button:disabled, .button:disabled:hover, .button:disabled:focus,
  169. a.disabled, a.disabled:hover, a.disabled:focus,
  170. textarea:disabled {
  171. background-color: rgba(230,230,230,.9);
  172. color: #999;
  173. cursor: default;
  174. }
  175. /* Primary action button, use sparingly */
  176. .primary, input[type="submit"].primary, input[type="button"].primary, button.primary, .button.primary {
  177. border: 1px solid #1d2d44;
  178. background: #35537a;
  179. color: #ddd;
  180. }
  181. .primary:hover, input[type="submit"].primary:hover, input[type="button"].primary:hover, button.primary:hover, .button.primary:hover,
  182. .primary:focus, input[type="submit"].primary:focus, input[type="button"].primary:focus, button.primary:focus, .button.primary:focus {
  183. border: 1px solid #1d2d44;
  184. background: #304d76;
  185. color: #fff;
  186. }
  187. .primary:active, input[type="submit"].primary:active, input[type="button"].primary:active, button.primary:active, .button.primary:active {
  188. border: 1px solid #1d2d44;
  189. background: #1d2d44;
  190. color: #bbb;
  191. }
  192. .searchbox input[type="search"] {
  193. font-size: 1.2em;
  194. padding: .2em .5em .2em 1.5em;
  195. background: #fff url('../img/actions/search.svg') no-repeat .5em center;
  196. border: 0;
  197. border-radius: 1em;
  198. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; filter:alpha(opacity=70); opacity: .7;
  199. margin-top: 10px;
  200. float: right;
  201. }
  202. input[type="submit"].enabled {
  203. background: #66f866;
  204. border: 1px solid #5e5;
  205. }
  206. /* CONTENT ------------------------------------------------------------------ */
  207. #controls {
  208. -moz-box-sizing: border-box;
  209. -webkit-box-sizing: border-box;
  210. box-sizing: border-box;
  211. position: fixed;
  212. right: 0;
  213. left: 0;
  214. height: 44px;
  215. width: 100%;
  216. padding: 0;
  217. margin: 0;
  218. background: #eee;
  219. border-bottom: 1px solid #e7e7e7;
  220. z-index: 50;
  221. }
  222. /* account for shift of controls bar due to app navigation */
  223. #body-user #controls,
  224. #body-settings #controls {
  225. padding-left: 80px;
  226. }
  227. #controls .button,
  228. #controls button,
  229. #controls input[type='submit'],
  230. #controls input[type='text'],
  231. #controls input[type='password'],
  232. #controls select {
  233. -moz-box-sizing: border-box;
  234. -webkit-box-sizing: border-box;
  235. box-sizing: border-box;
  236. display: inline-block;
  237. height: 36px;
  238. padding: 7px 10px
  239. }
  240. #content { position:relative; height:100%; width:100%; }
  241. #content .hascontrols {
  242. position: relative;
  243. top: 45px;
  244. }
  245. #content-wrapper {
  246. position:absolute; height:100%; width:100%; padding-top:3.5em; padding-left:80px;
  247. -moz-box-sizing:border-box; box-sizing:border-box;
  248. }
  249. #leftcontent, .leftcontent {
  250. position:relative; overflow:auto; width:256px; height:100%;
  251. background:#f8f8f8; border-right:1px solid #ddd;
  252. -moz-box-sizing:border-box; box-sizing:border-box;
  253. }
  254. #leftcontent li, .leftcontent li { background:#f8f8f8; padding:.5em .8em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; -webkit-transition:background-color 200ms; -moz-transition:background-color 200ms; -o-transition:background-color 200ms; transition:background-color 200ms; }
  255. #leftcontent li:hover, #leftcontent li:active, #leftcontent li.active, .leftcontent li:hover, .leftcontent li:active, .leftcontent li.active { background:#eee; }
  256. #leftcontent li.active, .leftcontent li.active { font-weight:bold; }
  257. #leftcontent li:hover, .leftcontent li:hover { color:#333; background:#ddd; }
  258. #leftcontent a { height:100%; display:block; margin:0; padding:0 1em 0 0; float:left; }
  259. #rightcontent, .rightcontent { position:fixed; top:89px; left: 336px; overflow:auto }
  260. #controls + .leftcontent{
  261. top: 44px;
  262. }
  263. #emptycontent {
  264. font-size: 1.5em;
  265. font-weight: bold;
  266. color: #888;
  267. position: absolute;
  268. text-align: center;
  269. top: 50%;
  270. width: 100%;
  271. }
  272. /* LOG IN & INSTALLATION ------------------------------------------------------------ */
  273. /* Some whitespace to the top */
  274. #body-login #header {
  275. padding-top: 100px;
  276. }
  277. /* Fix background gradient */
  278. #body-login {
  279. background-attachment: fixed;
  280. }
  281. /* Dark subtle label text */
  282. #body-login p.info,
  283. #body-login form fieldset legend,
  284. #body-login #datadirContent label,
  285. #body-login form fieldset .warning-info,
  286. #body-login form input[type="checkbox"]+label {
  287. text-align: center;
  288. color: #ccc;
  289. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
  290. filter: alpha(opacity=60);
  291. opacity: .6;
  292. }
  293. #body-login p#message img {
  294. vertical-align: middle;
  295. padding: 5px;
  296. }
  297. #body-login div.buttons { text-align:center; }
  298. #body-login p.info {
  299. width: 22em;
  300. margin: 0 auto;
  301. padding-top: 20px;
  302. }
  303. #body-login p.info a {
  304. font-weight: bold;
  305. padding: 13px;
  306. margin: -13px;
  307. }
  308. #body-login #submit.login { margin-right:7px; } /* quick fix for log in button not being aligned with input fields, should be properly fixed by input field width later */
  309. #body-login form { width:22em; margin:2em auto 2em; padding:0; }
  310. #body-login form fieldset {
  311. margin-bottom: 20px;
  312. text-align: left;
  313. }
  314. #body-login form #adminaccount { margin-bottom:5px; }
  315. #body-login form fieldset legend, #datadirContent label {
  316. width: 100%;
  317. font-weight: bold;
  318. }
  319. #body-login #datadirContent label {
  320. display: block;
  321. margin: 0;
  322. }
  323. #body-login form #datadirField legend {
  324. margin-bottom: 15px;
  325. }
  326. #body-login #showAdvanced {
  327. padding: 13px; /* increase clickable area of Advanced dropdown */
  328. }
  329. #body-login #showAdvanced img {
  330. vertical-align: bottom; /* adjust position of Advanced dropdown arrow */
  331. margin-left: -4px;
  332. }
  333. /* Icons for username and password fields to better recognize them */
  334. #adminlogin, #adminpass, #user, #password { width:11.7em!important; padding-left:1.8em; }
  335. #adminlogin+label+img, #adminpass-icon, #user+label+img, #password-icon {
  336. position:absolute; left:1.25em; top:1.65em;
  337. -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; filter:alpha(opacity=30); opacity:.3;
  338. }
  339. #adminpass-icon, #password-icon { top:1.1em; }
  340. input[name="password-clone"] { padding-left:1.8em; width:11.7em !important; }
  341. input[name="adminpass-clone"] { padding-left:1.8em; width:11.7em !important; }
  342. /* General new input field look */
  343. #body-login input[type="text"],
  344. #body-login input[type="password"],
  345. #body-login input[type="email"] {
  346. border: 1px solid #323233;
  347. border-radius: 5px;
  348. }
  349. #body-login input[type='submit'] {
  350. border-radius: 5px;
  351. }
  352. /* Nicely grouping input field sets */
  353. #body-login .grouptop input {
  354. margin-bottom: 0;
  355. border-bottom: 0;
  356. border-bottom-left-radius: 0;
  357. border-bottom-right-radius: 0;
  358. }
  359. #body-login .groupmiddle input {
  360. margin-top: 0;
  361. margin-bottom: 0;
  362. border-top: 0;
  363. border-bottom: 0;
  364. border-radius: 0;
  365. box-shadow: 0 1px 0 rgba(0,0,0,.1) inset !important;
  366. }
  367. #body-login .groupbottom input {
  368. margin-top: 0;
  369. border-top: 0;
  370. border-top-right-radius: 0;
  371. border-top-left-radius: 0;
  372. box-shadow: 0 1px 0 rgba(0,0,0,.1) inset !important;
  373. }
  374. /* In field labels. No, HTML placeholder does not work as well. */
  375. #body-login .groupmiddle label, #body-login .groupbottom label { top:.65em; }
  376. p.infield { position:relative; }
  377. label.infield { cursor:text !important; top:1.05em; left:.85em; }
  378. #body-login form label.infield { /* labels are ellipsized when too long, keep them short */
  379. position:absolute; width:90%; padding-left:1.4em;
  380. font-size:19px; color:#aaa;
  381. white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  382. }
  383. #body-login #databaseField .infield { padding-left:0; }
  384. #body-login form input[type="checkbox"]+label {
  385. position: relative;
  386. margin: 0;
  387. font-size: 1em;
  388. padding: 14px;
  389. padding-left: 28px;
  390. margin-left: -28px;
  391. }
  392. #body-login form .errors { background:#fed7d7; border:1px solid #f00; list-style-indent:inside; margin:0 0 2em; padding:1em; }
  393. #body-login .success { background:#d7fed7; border:1px solid #0f0; width: 35%; margin: 30px auto; padding:1em; text-align: center;}
  394. #body-login #remember_login:hover+label,
  395. #body-login #remember_login:focus+label {
  396. color: #fff !important;
  397. }
  398. #body-login #showAdvanced > img {
  399. height: 16px;
  400. width: 16px;
  401. padding: 4px;
  402. box-sizing: border-box;
  403. }
  404. #body-login p.info a, #body-login #showAdvanced {
  405. color: #ccc;
  406. }
  407. #body-login p.info a:hover, #body-login p.info a:focus {
  408. color: #fff;
  409. }
  410. #body-login p.info{
  411. white-space: nowrap;
  412. }
  413. /* Show password toggle */
  414. #show, #dbpassword {
  415. position: absolute;
  416. right: 1em;
  417. top: .8em;
  418. float: right;
  419. }
  420. #show, #dbpassword, #personal-show {
  421. display: none;
  422. }
  423. #show + label, #dbpassword + label {
  424. right: 21px;
  425. top: 15px !important;
  426. margin: -14px !important;
  427. padding: 14px !important;
  428. }
  429. #show:checked + label, #dbpassword:checked + label, #personal-show:checked + label {
  430. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  431. filter: alpha(opacity=80);
  432. opacity: .8;
  433. }
  434. #show + label, #dbpassword + label, #personal-show + label {
  435. position: absolute !important;
  436. height: 14px;
  437. width: 24px;
  438. background-image: url("../img/actions/toggle.png");
  439. background-repeat: no-repeat;
  440. background-position: center;
  441. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
  442. filter: alpha(opacity=30);
  443. opacity: .3;
  444. }
  445. #pass2, input[name="personal-password-clone"] {
  446. padding: .6em 2.5em .4em .4em;
  447. width: 8em;
  448. }
  449. #personal-show + label {
  450. margin-top: 1em;
  451. margin-left: -3em;
  452. }
  453. #passwordbutton {
  454. margin-left: .5em;
  455. }
  456. /* Database selector */
  457. #body-login form #selectDbType { text-align:center; white-space: nowrap; }
  458. #body-login form #selectDbType label {
  459. position:static; margin:0 -3px 5px; padding:.4em;
  460. font-size:12px; font-weight:bold; background:#f8f8f8; color:#888; cursor:pointer;
  461. border: 1px solid #ddd;
  462. }
  463. #body-login form #selectDbType label.ui-state-hover, #body-login form #selectDbType label.ui-state-active { color:#000; background-color:#e8e8e8; }
  464. /* Warnings and errors are the same */
  465. #body-login .warning, #body-login .update, #body-login .error {
  466. display: block;
  467. padding: 10px;
  468. color: #d2322d;
  469. background-color: rgba(0,0,0,.3);
  470. text-align: left;
  471. border-radius: 3px;
  472. cursor: default;
  473. }
  474. #body-login .update {
  475. text-align: center;
  476. color: #ccc;
  477. }
  478. #body-login .update img.float-spinner {
  479. float: left;
  480. }
  481. #body-user .warning, #body-settings .warning {
  482. margin-top: 8px;
  483. padding: 5px;
  484. background: #fdd;
  485. border-radius: 3px;
  486. }
  487. .warning legend,
  488. .warning a,
  489. .error a {
  490. color: #d2322d !important;
  491. font-weight: bold;
  492. }
  493. .error pre {
  494. white-space: pre-wrap;
  495. text-align: left;
  496. }
  497. .error-wide {
  498. width: 800px;
  499. margin-left: -250px;
  500. }
  501. /* Fixes for log in page, TODO should be removed some time */
  502. #body-login .update,
  503. #body-login .error {
  504. margin: 35px auto;
  505. }
  506. #body-login .warning {
  507. margin: 0 7px 5px;
  508. }
  509. #body-login .warning legend {
  510. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  511. filter: alpha(opacity=100);
  512. opacity: 1;
  513. }
  514. #body-login a.warning {
  515. cursor: pointer;
  516. }
  517. /* Alternative Logins */
  518. #alternative-logins legend { margin-bottom:10px; }
  519. #alternative-logins li { height:40px; display:inline-block; white-space:nowrap; }
  520. /* Log in and install button */
  521. #body-login input {
  522. font-size: 1.5em;
  523. }
  524. #body-login input[type="text"],
  525. #body-login input[type="password"] {
  526. width: 13em;
  527. }
  528. #body-login input.login {
  529. width: auto;
  530. float: right;
  531. }
  532. #body-login input[type="submit"] {
  533. padding: 10px 20px; /* larger log in and installation buttons */
  534. }
  535. #remember_login {
  536. margin: 18px 5px 0 18px;
  537. vertical-align: text-bottom;
  538. }
  539. /* Sticky footer */
  540. #body-login .wrapper {
  541. min-height: 100%;
  542. margin: 0 auto -70px;
  543. width: 300px;
  544. }
  545. #body-login footer, #body-login .push {
  546. height: 70px;
  547. }
  548. /* NAVIGATION ------------------------------------------------------------- */
  549. #navigation {
  550. position: fixed;
  551. top: 0;
  552. bottom: 0;
  553. left: 0;
  554. width: 80px;
  555. margin-top:45px;
  556. z-index: 75;
  557. background: #383c43 url('../img/noise.png') repeat;
  558. overflow-y: auto;
  559. overflow-x: hidden;
  560. -moz-box-sizing:border-box; box-sizing:border-box;
  561. /* prevent ugly selection effect on accidental selection */
  562. -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
  563. }
  564. #apps {
  565. height: 100%;
  566. }
  567. #navigation a span {
  568. display: block;
  569. text-decoration: none;
  570. font-size: 11px;
  571. text-align: center;
  572. color: #fff;
  573. white-space:nowrap; overflow:hidden; text-overflow:ellipsis; /* ellipsize long app names */
  574. padding-bottom: 10px;
  575. /* prevent shift caused by scrollbar */
  576. padding-left: 8px;
  577. width: 64px;
  578. }
  579. /* icon opacity and hover effect */
  580. #navigation a img,
  581. #navigation a span {
  582. /* 50% opacity when inactive */
  583. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  584. filter: alpha(opacity=50);
  585. opacity: .5;
  586. }
  587. #navigation a:hover img, #navigation a:focus img,
  588. #navigation a:hover span, #navigation a:focus span {
  589. /* 80% opacity when hovered or focused */
  590. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  591. filter: alpha(opacity=80);
  592. opacity: .8;
  593. }
  594. #navigation a.active img,
  595. #navigation a.active span {
  596. /* full opacity for the active app */
  597. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  598. filter: alpha(opacity=100);
  599. opacity: 1;
  600. }
  601. #navigation .icon {
  602. display: block;
  603. width: 32px;
  604. height: 32px;
  605. margin-left: 24px;
  606. padding: 10px 0 4px;
  607. }
  608. #navigation li:first-child .icon { /* special rule for Files icon as it's first */
  609. padding-top: 20px;
  610. }
  611. /* Apps management as sticky footer, less obtrusive in the list */
  612. #navigation .wrapper {
  613. min-height: 100%;
  614. margin: 0 auto -72px;
  615. }
  616. #apps-management, #navigation .push {
  617. height: 72px;
  618. }
  619. #apps-management {
  620. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
  621. filter: alpha(opacity=60);
  622. opacity: .6;
  623. }
  624. #apps-management .icon {
  625. padding-bottom: 0;
  626. }
  627. /* USER MENU */
  628. #settings {
  629. float: right;
  630. margin-top: 7px;
  631. margin-left: 10px;
  632. color: #bbb;
  633. }
  634. #expand {
  635. padding: 15px 15px 15px 5px;
  636. cursor: pointer;
  637. font-weight: bold;
  638. }
  639. #expand:hover, #expand:focus, #expand:active { color:#fff; }
  640. #expand img { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; filter:alpha(opacity=70); opacity:.7; margin-bottom:-2px; }
  641. #expand:hover img, #expand:focus img, #expand:active img { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; }
  642. #expanddiv {
  643. position:absolute; right:0; top:45px; z-index:76; display:none;
  644. background:#383c43 url('../img/noise.png') repeat;
  645. border-bottom-left-radius:7px; border-bottom:1px #333 solid; border-left:1px #333 solid;
  646. box-shadow:0 0 7px rgb(29,45,68);
  647. -moz-box-sizing: border-box; box-sizing: border-box;
  648. /* prevent ugly selection effect on accidental selection */
  649. -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
  650. }
  651. #expanddiv a {
  652. display: block;
  653. height: 40px;
  654. color: #fff;
  655. padding: 4px 12px 0;
  656. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  657. filter: alpha(opacity=70);
  658. opacity: .7;
  659. -moz-box-sizing: border-box;
  660. box-sizing: border-box;
  661. }
  662. #expanddiv a img {
  663. margin-bottom: -3px;
  664. margin-right: 6px;
  665. }
  666. #expanddiv a:hover, #expanddiv a:focus, #expanddiv a:active {
  667. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  668. filter: alpha(opacity=100);
  669. opacity: 1;
  670. }
  671. /* VARIOUS REUSABLE SELECTORS */
  672. .hidden { display:none; }
  673. .bold { font-weight:bold; }
  674. .center { text-align:center; }
  675. .inlineblock { display: inline-block; }
  676. #notification-container { position: fixed; top: 0px; width: 100%; text-align: center; z-index: 101; line-height: 1.2;}
  677. #notification, #update-notification {
  678. z-index: 101;
  679. background-color: #fc4;
  680. border: 0;
  681. padding: 0 .7em .3em;
  682. display: none;
  683. position: relative;
  684. top: 0;
  685. border-bottom-left-radius: 3px;
  686. border-bottom-right-radius: 3px;
  687. }
  688. #notification span, #update-notification span { cursor:pointer; font-weight:bold; margin-left:1em; }
  689. tr .action:not(.permanent), .selectedActions a { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter:alpha(opacity=0); opacity:0; }
  690. tr:hover .action, tr .action.permanent, .selectedActions a { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; filter:alpha(opacity=50); opacity:.5; }
  691. tr .action { width:16px; height:16px; }
  692. .header-action { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; filter:alpha(opacity=80); opacity:.8; }
  693. tr:hover .action:hover, .selectedActions a:hover, .header-action:hover { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; }
  694. tbody tr:hover, tr:active { background-color:#f8f8f8; }
  695. #body-settings h2 {
  696. font-size: 20px;
  697. font-weight: normal;
  698. margin-bottom: 7px;
  699. }
  700. #body-settings .personalblock, #body-settings .helpblock {
  701. padding: 30px;
  702. color: #555;
  703. border-top: 1px solid #ddd;
  704. }
  705. #body-settings .personalblock#quota { position:relative; padding:0; }
  706. #body-settings #controls+.helpblock { position:relative; margin-top:3em; }
  707. code { font-family:"Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", monospace; }
  708. #quota div {
  709. padding: 0;
  710. background-color: rgb(220,220,220);
  711. font-weight: normal;
  712. white-space: nowrap;
  713. border-bottom-left-radius: 3px;
  714. border-top-left-radius: 3px; }
  715. #quotatext {padding:.6em 1em;}
  716. .pager { list-style:none; float:right; display:inline; margin:.7em 13em 0 0; }
  717. .pager li { display:inline-block; }
  718. .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { overflow:hidden; text-overflow:ellipsis; }
  719. .separator { display:inline; border-left:1px solid #d3d3d3; border-right:1px solid #fff; height:10px; width:0px; margin:4px; }
  720. a.bookmarklet { background-color:#ddd; border:1px solid #ccc; padding:5px;padding-top:0px;padding-bottom:2px; text-decoration:none; margin-top:5px }
  721. .exception{color:#000;}
  722. .exception textarea{width:95%;height:200px;background:#ffe;border:0;}
  723. .ui-icon-circle-triangle-e{ background-image:url('../img/actions/play-next.svg'); }
  724. .ui-icon-circle-triangle-w{ background-image:url('../img/actions/play-previous.svg'); }
  725. .ui-datepicker-prev,.ui-datepicker-next{ border:1px solid #ddd; background:#fff; }
  726. /* ---- DIALOGS ---- */
  727. #oc-dialog-filepicker-content .dirtree {width:92%; overflow:hidden; }
  728. #oc-dialog-filepicker-content .dirtree .home {
  729. background-image:url('../img/places/home.svg');
  730. background-repeat:no-repeat;
  731. background-position: left center;
  732. }
  733. #oc-dialog-filepicker-content .dirtree span:not(:last-child) { cursor: pointer; }
  734. #oc-dialog-filepicker-content .dirtree span:last-child { font-weight: bold; }
  735. #oc-dialog-filepicker-content .dirtree span:not(:last-child)::after { content: '>'; padding: 3px;}
  736. #oc-dialog-filepicker-content .filelist {
  737. overflow-y:auto;
  738. max-height: 300px;
  739. background-color:white;
  740. width:100%;
  741. }
  742. #oc-dialog-filepicker-content .filelist li {
  743. position: relative;
  744. }
  745. #oc-dialog-filepicker-content .filelist .filename {
  746. position: absolute;
  747. top: 8px;
  748. }
  749. #oc-dialog-filepicker-content .filelist img {
  750. margin: 2px 1em 0 4px;
  751. }
  752. #oc-dialog-filepicker-content .filelist .date {
  753. float: right;
  754. margin-right: 1em;
  755. margin-top: 8px;
  756. }
  757. #oc-dialog-filepicker-content .filepicker_element_selected { background-color:lightblue;}
  758. .ui-dialog {position:fixed !important;}
  759. span.ui-icon {float: left; margin: 3px 7px 30px 0;}
  760. .loading { background: url('../img/loading.gif') no-repeat center; cursor: wait; }
  761. .loading-small { background: url('../img/loading-small.gif') no-repeat center; cursor: wait; }
  762. .move2trash { /* decrease spinner size */
  763. width: 16px;
  764. height: 16px;
  765. }
  766. /* ---- TAGS ---- */
  767. #tagsdialog .content {
  768. width: 100%; height: 280px;
  769. }
  770. #tagsdialog .scrollarea {
  771. overflow:auto; border:1px solid #ddd;
  772. width: 100%; height: 240px;
  773. }
  774. #tagsdialog .bottombuttons {
  775. width: 100%; height: 30px;
  776. }
  777. #tagsdialog .bottombuttons * { float:left;}
  778. #tagsdialog .taglist li { background:#f8f8f8; padding:.3em .8em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; -webkit-transition:background-color 500ms; -moz-transition:background-color 500ms; -o-transition:background-color 500ms; transition:background-color 500ms; }
  779. #tagsdialog .taglist li:hover, #tagsdialog .taglist li:active { background:#eee; }
  780. #tagsdialog .addinput { width: 90%; clear: both; }
  781. /* ---- APP SETTINGS - LEGACY, DO NOT USE THE POPUP! ---- */
  782. .popup {
  783. background-color: #fff;
  784. border-radius: 3px;
  785. box-shadow: 0 0 10px #aaa;
  786. color: #333;
  787. padding: 10px;
  788. position: fixed !important;
  789. z-index: 100;
  790. }
  791. .popup.topright { top:7em; right:1em; }
  792. .popup.bottomleft { bottom:1em; left:33em; }
  793. .popup .close { position:absolute; top:0.2em; right:0.2em; height:20px; width:20px; background:url('../img/actions/close.svg') no-repeat center; }
  794. .popup h2 { font-weight:bold; font-size:1.2em; }
  795. .arrow { border-bottom:10px solid white; border-left:10px solid transparent; border-right:10px solid transparent; display:block; height:0; position:absolute; width:0; z-index:201; }
  796. .arrow.left { left:-13px; bottom:1.2em; -webkit-transform:rotate(270deg); -moz-transform:rotate(270deg); -o-transform:rotate(270deg); -ms-transform:rotate(270deg); transform:rotate(270deg); }
  797. .arrow.up { top:-8px; right:6px; }
  798. .arrow.down { -webkit-transform:rotate(180deg); -moz-transform:rotate(180deg); -o-transform:rotate(180deg); -ms-transform:rotate(180deg); transform:rotate(180deg); }
  799. .help-includes {
  800. overflow: hidden;
  801. width: 100%;
  802. height: 100%;
  803. -moz-box-sizing: border-box;
  804. box-sizing: border-box;
  805. padding-top: 44px;
  806. }
  807. .help-iframe {width: 100%; height: 100%; margin: 0;padding: 0; border: 0; overflow: auto;}
  808. /* ---- BREADCRUMB ---- */
  809. div.crumb {
  810. float: left;
  811. display: block;
  812. background: url('../img/breadcrumb.svg') no-repeat right center;
  813. height: 44px;
  814. }
  815. div.crumb a,
  816. div.crumb span {
  817. position: relative;
  818. top: 12px;
  819. padding: 14px 24px 14px 17px;
  820. color: #555;
  821. }
  822. div.crumb:first-child a {
  823. position: relative;
  824. top: 13px;
  825. }
  826. div.crumb.last {
  827. font-weight: bold;
  828. margin-right: 10px;
  829. }
  830. /* some feedback for hover/tap on breadcrumbs */
  831. div.crumb:hover,
  832. div.crumb:focus,
  833. div.crumb:active {
  834. -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  835. filter:alpha(opacity=70);
  836. opacity:.7;
  837. }