styles.css 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075
  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, label { cursor:pointer; }
  13. ul { list-style:none; }
  14. body {
  15. background-color: #ffffff;
  16. font-weight: normal;
  17. font-size: .8em;
  18. line-height: 1.6em;
  19. font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
  20. color: #000;
  21. height: auto;
  22. }
  23. #body-login {
  24. text-align: center;
  25. background: #1d2d44; /* Old browsers */
  26. background: -moz-linear-gradient(top, #35537a 0%, #1d2d44 100%); /* FF3.6+ */
  27. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#35537a), color-stop(100%,#1d2d44)); /* Chrome,Safari4+ */
  28. background: -webkit-linear-gradient(top, #35537a 0%,#1d2d44 100%); /* Chrome10+,Safari5.1+ */
  29. background: -o-linear-gradient(top, #35537a 0%,#1d2d44 100%); /* Opera11.10+ */
  30. background: -ms-linear-gradient(top, #35537a 0%,#1d2d44 100%); /* IE10+ */
  31. background: linear-gradient(top, #35537a 0%,#1d2d44 100%); /* W3C */
  32. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#35537a', endColorstr='#1d2d44',GradientType=0 ); /* IE6-9 */
  33. }
  34. .float-spinner {
  35. height: 32px;
  36. display: none;
  37. }
  38. #body-login .float-spinner {
  39. margin-top: -32px;
  40. padding-top: 32px;
  41. }
  42. #nojavascript {
  43. position: fixed;
  44. top: 0;
  45. bottom: 0;
  46. height: 100%;
  47. width: 100%;
  48. z-index: 9000;
  49. text-align: center;
  50. background-color: rgba(0,0,0,0.5);
  51. color: #fff;
  52. line-height: 125%;
  53. font-size: 24px;
  54. }
  55. #nojavascript div {
  56. display: block;
  57. position: relative;
  58. width: 50%;
  59. top: 35%;
  60. margin: 0px auto;
  61. }
  62. #nojavascript a {
  63. color: #fff;
  64. border-bottom: 2px dotted #fff;
  65. }
  66. #nojavascript a:hover,
  67. #nojavascript a:focus {
  68. color: #ddd;
  69. }
  70. /* INPUTS */
  71. /* specifically override browser styles */
  72. input, textarea, select, button {
  73. font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
  74. }
  75. input[type="text"],
  76. input[type="password"],
  77. input[type="search"],
  78. input[type="number"],
  79. input[type="email"],
  80. input[type="url"],
  81. input[type="time"],
  82. input[type="date"],
  83. textarea,
  84. select,
  85. button, .button,
  86. input[type="submit"],
  87. input[type="button"],
  88. #quota,
  89. .pager li a {
  90. width: 130px;
  91. margin: 3px 3px 3px 0;
  92. padding: 7px 6px 5px;
  93. font-size: 13px;
  94. background-color: #fff;
  95. color: #333;
  96. border: 1px solid #ddd;
  97. outline: none;
  98. border-radius: 3px;
  99. }
  100. input[type="hidden"] {
  101. height: 0;
  102. width: 0;
  103. }
  104. input[type="text"],
  105. input[type="password"],
  106. input[type="search"],
  107. input[type="number"],
  108. input[type="email"],
  109. input[type="url"],
  110. input[type="time"],
  111. textarea {
  112. background: #fff;
  113. color: #555;
  114. cursor: text;
  115. font-family: inherit; /* use default ownCloud font instead of default textarea monospace */
  116. }
  117. input[type="text"],
  118. input[type="password"],
  119. input[type="search"],
  120. input[type="number"],
  121. input[type="email"],
  122. input[type="url"],
  123. input[type="time"] {
  124. -webkit-appearance:textfield; -moz-appearance:textfield;
  125. -webkit-box-sizing:content-box; -moz-box-sizing:content-box; box-sizing:content-box;
  126. }
  127. input[type="text"]:hover, input[type="text"]:focus, input[type="text"]:active,
  128. input[type="password"]:hover, input[type="password"]:focus, input[type="password"]:active,
  129. input[type="number"]:hover, input[type="number"]:focus, input[type="number"]:active,
  130. .searchbox input[type="search"]:hover, .searchbox input[type="search"]:focus, .searchbox input[type="search"]:active,
  131. input[type="email"]:hover, input[type="email"]:focus, input[type="email"]:active,
  132. input[type="url"]:hover, input[type="url"]:focus, input[type="url"]:active,
  133. input[type="time"]:hover, input[type="time"]:focus, input[type="time"]:active,
  134. textarea:hover, textarea:focus, textarea:active {
  135. color: #333;
  136. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  137. opacity: 1;
  138. }
  139. input[type="checkbox"] { margin:0; padding:0; height:auto; width:auto; }
  140. input[type="checkbox"]:hover+label, input[type="checkbox"]:focus+label { color:#111 !important; }
  141. input[type="time"] {
  142. width: initial;
  143. height: 31px;
  144. -moz-box-sizing: border-box; box-sizing: border-box;
  145. }
  146. .select2-choices {
  147. border: 1px solid #ddd;
  148. border-radius: 3px;
  149. color: #333;
  150. background-image: none;
  151. }
  152. .select2-dropdown-open .select2-choices {
  153. border-bottom-left-radius: 0;
  154. border-bottom-right-radius: 0;
  155. border: 1px solid #3875d7;
  156. }
  157. /* correctly align images inside of buttons */
  158. input img, button img, .button img {
  159. vertical-align: text-bottom;
  160. }
  161. #quota {
  162. cursor: default;
  163. margin: 30px;
  164. }
  165. /* SCROLLING */
  166. ::-webkit-scrollbar {
  167. width: 8px;
  168. }
  169. ::-webkit-scrollbar-track-piece {
  170. background-color: transparent;
  171. }
  172. ::-webkit-scrollbar-thumb {
  173. background: #ccc;
  174. }
  175. /* BUTTONS */
  176. input[type="submit"], input[type="button"],
  177. button, .button,
  178. #quota, select, .pager li a {
  179. width: auto;
  180. min-width: 25px;
  181. padding: 5px;
  182. background-color: rgba(240,240,240,.9);
  183. font-weight: bold;
  184. color: #555;
  185. border: 1px solid rgba(190,190,190,.9);
  186. cursor: pointer;
  187. }
  188. input[type="submit"]:hover, input[type="submit"]:focus,
  189. input[type="button"]:hover, input[type="button"]:focus,
  190. button:hover, button:focus,
  191. .button:hover, .button:focus,
  192. .button a:focus,
  193. select:hover, select:focus, select:active {
  194. background-color: rgba(255, 255, 255, .95);
  195. color: #111;
  196. }
  197. input[type="submit"] img, input[type="button"] img, button img, .button img { cursor:pointer; }
  198. #header .button {
  199. border: none;
  200. box-shadow: none;
  201. }
  202. /* disabled input fields and buttons */
  203. input:disabled, input:disabled:hover, input:disabled:focus,
  204. button:disabled, button:disabled:hover, button:disabled:focus,
  205. .button:disabled, .button:disabled:hover, .button:disabled:focus,
  206. a.disabled, a.disabled:hover, a.disabled:focus,
  207. textarea:disabled {
  208. background-color: rgba(230,230,230,.9);
  209. color: #999;
  210. cursor: default;
  211. }
  212. input:disabled+label, input:disabled:hover+label, input:disabled:focus+label {
  213. color: #999 !important;
  214. cursor: default;
  215. }
  216. /* Primary action button, use sparingly */
  217. .primary, input[type="submit"].primary, input[type="button"].primary, button.primary, .button.primary {
  218. border: 1px solid #1d2d44;
  219. background-color: #35537a;
  220. color: #ddd;
  221. }
  222. .primary:hover, input[type="submit"].primary:hover, input[type="button"].primary:hover, button.primary:hover, .button.primary:hover,
  223. .primary:focus, input[type="submit"].primary:focus, input[type="button"].primary:focus, button.primary:focus, .button.primary:focus {
  224. background-color: #304d76;
  225. color: #fff;
  226. }
  227. .primary:active, input[type="submit"].primary:active, input[type="button"].primary:active, button.primary:active, .button.primary:active,
  228. .primary:disabled, input[type="submit"].primary:disabled, input[type="button"].primary:disabled, button.primary:disabled, .button.primary:disabled,
  229. .primary:disabled:hover, input[type="submit"].primary:disabled:hover, input[type="button"].primary:disabled:hover, button.primary:disabled:hover, .button.primary:disabled:hover,
  230. .primary:disabled:focus, input[type="submit"].primary:disabled:focus, input[type="button"].primary:disabled:focus, button.primary:disabled:focus, .button.primary:disabled:focus {
  231. background-color: #1d2d44;
  232. color: #bbb;
  233. }
  234. /* Searchbox */
  235. .searchbox input[type="search"] {
  236. position: relative;
  237. font-size: 1.2em;
  238. padding: 3px;
  239. padding-left: 25px;
  240. background: #fff url('../img/actions/search.svg') no-repeat 6px center;
  241. border: 0;
  242. border-radius: 3px;
  243. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
  244. opacity: .3;
  245. margin-top: 9px;
  246. float: right;
  247. }
  248. .searchbox input[type="search"]:hover,
  249. .searchbox input[type="search"]:focus,
  250. .searchbox input[type="search"]:active {
  251. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  252. opacity: .7;
  253. }
  254. input[type="submit"].enabled {
  255. background-color: #66f866;
  256. border: 1px solid #5e5;
  257. }
  258. /* CONTENT ------------------------------------------------------------------ */
  259. #controls {
  260. -moz-box-sizing: border-box;
  261. -webkit-box-sizing: border-box;
  262. box-sizing: border-box;
  263. position: fixed;
  264. top: 45px;
  265. right: 0;
  266. left: 0;
  267. height: 44px;
  268. width: 100%;
  269. padding: 0;
  270. margin: 0;
  271. background-color: rgba(255, 255, 255, .95);
  272. z-index: 50;
  273. -webkit-user-select: none;
  274. -moz-user-select: none;
  275. -ms-user-select: none;
  276. user-select: none;
  277. }
  278. /* position controls for apps with app-navigation */
  279. #app-navigation+#app-content #controls {
  280. left: 250px;
  281. }
  282. .viewer-mode #app-navigation+#app-content #controls {
  283. left: 0;
  284. }
  285. #controls .button,
  286. #controls button,
  287. #controls input[type='submit'],
  288. #controls input[type='text'],
  289. #controls input[type='password'],
  290. #controls select {
  291. -moz-box-sizing: border-box;
  292. -webkit-box-sizing: border-box;
  293. box-sizing: border-box;
  294. display: inline-block;
  295. height: 36px;
  296. padding: 7px 10px
  297. }
  298. #controls .button.hidden {
  299. display: none;
  300. }
  301. #content {
  302. position: relative;
  303. height: 100%;
  304. width: 100%;
  305. }
  306. #content .hascontrols {
  307. position: relative;
  308. top: 45px;
  309. }
  310. #content-wrapper {
  311. position: absolute;
  312. height: 100%;
  313. width: 100%;
  314. overflow-x: hidden; /* prevent horizontal scrollbar */
  315. padding-top: 45px;
  316. -moz-box-sizing:border-box;
  317. box-sizing:border-box;
  318. }
  319. /* allow horizontal scrollbar for personal and admin settings */
  320. #body-settings:not(.snapjs-left) .app-settings {
  321. overflow-x: auto;
  322. }
  323. #emptycontent,
  324. .emptycontent {
  325. font-size: 16px;
  326. color: #888;
  327. position: absolute;
  328. text-align: center;
  329. top: 30%;
  330. width: 100%;
  331. }
  332. #emptycontent h2,
  333. .emptycontent h2 {
  334. font-size: 22px;
  335. margin-bottom: 10px;
  336. }
  337. #emptycontent [class^="icon-"],
  338. .emptycontent [class^="icon-"],
  339. #emptycontent [class*=" icon-"],
  340. .emptycontent [class*=" icon-"] {
  341. background-size: 64px;
  342. height: 64px;
  343. width: 64px;
  344. margin: 0 auto 15px;
  345. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
  346. opacity: .4;
  347. }
  348. /* LOG IN & INSTALLATION ------------------------------------------------------------ */
  349. /* Some whitespace to the top */
  350. #body-login #header {
  351. padding-top: 100px;
  352. }
  353. #body-login {
  354. background-attachment: fixed; /* fix background gradient */
  355. height: 100%; /* fix sticky footer */
  356. }
  357. /* Dark subtle label text */
  358. #body-login p.info,
  359. #body-login form fieldset legend,
  360. #body-login #datadirContent label,
  361. #body-login form fieldset .warning-info,
  362. #body-login form input[type="checkbox"]+label {
  363. text-align: center;
  364. color: #ccc;
  365. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
  366. opacity: .6;
  367. }
  368. /* overrides another !important statement that sets this to unreadable black */
  369. #body-login form .warning input[type="checkbox"]:hover+label,
  370. #body-login form .warning input[type="checkbox"]:focus+label,
  371. #body-login form .warning input[type="checkbox"]+label {
  372. color: #fff !important;
  373. }
  374. #body-login .update h2 {
  375. font-size: 20px;
  376. line-height: 130%;
  377. margin-bottom: 30px;
  378. }
  379. #body-login .update a {
  380. color: #fff;
  381. border-bottom: 1px solid #aaa;
  382. }
  383. #body-login .infogroup {
  384. margin-bottom: 15px;
  385. }
  386. #body-login p#message img {
  387. vertical-align: middle;
  388. padding: 5px;
  389. }
  390. #body-login div.buttons {
  391. text-align: center;
  392. }
  393. #body-login p.info {
  394. width: 22em;
  395. margin: 0 auto;
  396. padding-top: 20px;
  397. }
  398. #body-login p.info a {
  399. font-weight: bold;
  400. padding: 13px;
  401. margin: -13px;
  402. }
  403. /* quick fix for log in button not being aligned with input fields, should be properly fixed by input field width later */
  404. #body-login #submit.login {
  405. margin-right: 7px;
  406. }
  407. #body-login form {
  408. width: 22em;
  409. margin: 2em auto 2em;
  410. padding: 0;
  411. }
  412. #body-login form fieldset {
  413. margin-bottom: 20px;
  414. text-align: left;
  415. }
  416. #body-login form #sqliteInformation {
  417. margin-top: -20px;
  418. margin-bottom: 20px;
  419. }
  420. #body-login form #adminaccount {
  421. margin-bottom: 15px;
  422. }
  423. #body-login form fieldset legend, #datadirContent label {
  424. width: 100%;
  425. }
  426. #body-login #datadirContent label {
  427. display: block;
  428. margin: 0;
  429. }
  430. #body-login form #datadirField legend {
  431. margin-bottom: 15px;
  432. }
  433. #body-login #showAdvanced {
  434. padding: 13px; /* increase clickable area of Advanced dropdown */
  435. }
  436. #body-login #showAdvanced img {
  437. vertical-align: bottom; /* adjust position of Advanced dropdown arrow */
  438. margin-left: -4px;
  439. }
  440. #body-login .icon-info-white {
  441. padding: 10px;
  442. }
  443. /* strengthify wrapper */
  444. #body-login .strengthify-wrapper {
  445. display: inline-block;
  446. position: relative;
  447. left: 15px;
  448. top: -21px;
  449. width: 252px;
  450. }
  451. /* tipsy for the strengthify wrapper looks better with following font settings */
  452. #body-login .tipsy-inner {
  453. font-weight: bold;
  454. color: #ccc;
  455. }
  456. /* Icons for username and password fields to better recognize them */
  457. #adminlogin,
  458. #adminpass,
  459. input[name='adminpass-clone'],
  460. #user,
  461. #password,
  462. input[name='password-clone'] {
  463. width: 223px !important;
  464. padding-left: 36px !important;
  465. }
  466. #adminlogin+label+img,
  467. #adminpass-icon,
  468. #user+label+img,
  469. #password-icon {
  470. position: absolute;
  471. left: 16px;
  472. top: 22px;
  473. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
  474. opacity: .3;
  475. }
  476. #adminpass-icon, #password-icon {
  477. top: 17px;
  478. }
  479. /* General new input field look */
  480. #body-login input[type="text"],
  481. #body-login input[type="password"],
  482. #body-login input[type="email"],
  483. #body-login input[type="submit"] {
  484. border: none;
  485. border-radius: 5px;
  486. }
  487. /* Nicely grouping input field sets */
  488. .grouptop,
  489. .groupmiddle,
  490. .groupbottom {
  491. position: relative;
  492. }
  493. #body-login .grouptop input,
  494. .grouptop input {
  495. margin-bottom: 0;
  496. border-bottom: 0;
  497. border-bottom-left-radius: 0;
  498. border-bottom-right-radius: 0;
  499. }
  500. #body-login .groupmiddle input,
  501. .groupmiddle input {
  502. margin-top: 0;
  503. margin-bottom: 0;
  504. border-top: 0;
  505. border-bottom: 0;
  506. border-radius: 0;
  507. box-shadow: 0 1px 0 rgba(0,0,0,.1) inset !important;
  508. }
  509. #body-login .groupbottom input,
  510. .groupbottom input {
  511. margin-top: 0;
  512. border-top: 0;
  513. border-top-right-radius: 0;
  514. border-top-left-radius: 0;
  515. box-shadow: 0 1px 0 rgba(0,0,0,.1) inset !important;
  516. }
  517. /* keep the labels for screen readers but hide them since we use placeholders */
  518. label.infield {
  519. display: none;
  520. }
  521. #body-login form input[type="checkbox"]+label {
  522. position: relative;
  523. margin: 0;
  524. padding: 14px;
  525. padding-left: 28px;
  526. margin-left: -28px;
  527. vertical-align: middle;
  528. }
  529. #body-login form .errors { background:#fed7d7; border:1px solid #f00; list-style-indent:inside; margin:0 0 2em; padding:1em; }
  530. #body-login .success { background:#d7fed7; border:1px solid #0f0; width: 35%; margin: 30px auto; padding:1em; text-align: center;}
  531. #body-login #remember_login:hover+label,
  532. #body-login #remember_login:focus+label {
  533. color: #fff !important;
  534. }
  535. #body-login #showAdvanced > img {
  536. padding: 4px;
  537. box-sizing: border-box;
  538. }
  539. #body-login p.info a, #body-login #showAdvanced {
  540. color: #ccc;
  541. }
  542. #body-login p.info a:hover, #body-login p.info a:focus {
  543. color: #fff;
  544. }
  545. #body-login footer .info {
  546. white-space: nowrap;
  547. }
  548. /* Show password toggle */
  549. #show, #dbpassword {
  550. position: absolute;
  551. right: 1em;
  552. top: .8em;
  553. float: right;
  554. }
  555. #show, #dbpassword, #personal-show {
  556. display: none;
  557. }
  558. #show + label, #dbpassword + label {
  559. right: 21px;
  560. top: 15px !important;
  561. margin: -14px !important;
  562. padding: 14px !important;
  563. }
  564. #show:checked + label, #dbpassword:checked + label, #personal-show:checked + label {
  565. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  566. opacity: .8;
  567. }
  568. #show + label, #dbpassword + label, #personal-show + label {
  569. position: absolute !important;
  570. height: 20px;
  571. width: 24px;
  572. background-image: url("../img/actions/toggle.png");
  573. background-repeat: no-repeat;
  574. background-position: center;
  575. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
  576. opacity: .3;
  577. }
  578. #pass2, input[name="personal-password-clone"] {
  579. padding: .6em 2.5em .4em .4em;
  580. width: 8em;
  581. }
  582. #personal-show + label {
  583. height: 14px;
  584. margin-top: 14px;
  585. margin-left: -36px;
  586. }
  587. #passwordbutton {
  588. margin-left: .5em;
  589. }
  590. /* Database selector */
  591. #body-login form #selectDbType { text-align:center; white-space: nowrap; }
  592. #body-login form #selectDbType .info {
  593. white-space: normal;
  594. }
  595. #body-login form #selectDbType label {
  596. position:static; margin:0 -3px 5px; padding:.4em;
  597. font-size:12px; background:#f8f8f8; color:#888; cursor:pointer;
  598. border: 1px solid #ddd;
  599. }
  600. #body-login form #selectDbType label.ui-state-hover, #body-login form #selectDbType label.ui-state-active { color:#000; background-color:#e8e8e8; }
  601. /* Warnings and errors are the same */
  602. #body-login .warning,
  603. #body-login .update,
  604. #body-login .error {
  605. display: block;
  606. padding: 10px;
  607. background-color: rgba(0,0,0,.3);
  608. color: #fff;
  609. text-align: left;
  610. border-radius: 3px;
  611. cursor: default;
  612. }
  613. #body-login .update {
  614. width: inherit;
  615. text-align: center;
  616. color: #ccc;
  617. }
  618. #body-login .v-align {
  619. width: inherit;
  620. }
  621. #body-login .update img.float-spinner {
  622. float: left;
  623. }
  624. #body-user .warning, #body-settings .warning {
  625. margin-top: 8px;
  626. padding: 5px;
  627. background: #fdd;
  628. border-radius: 3px;
  629. }
  630. .warning legend,
  631. .warning a,
  632. .error a {
  633. color: #fff !important;
  634. font-weight: bold !important;
  635. }
  636. .error pre {
  637. white-space: pre-wrap;
  638. text-align: left;
  639. }
  640. .error-wide {
  641. width: 700px;
  642. margin-left: -200px !important;
  643. }
  644. .error-wide .button {
  645. color: black !important;
  646. }
  647. .warning-input {
  648. border-color: #ce3702 !important;
  649. }
  650. /* Fixes for log in page, TODO should be removed some time */
  651. #body-login .update,
  652. #body-login .error {
  653. margin: 35px auto;
  654. }
  655. #body-login .warning {
  656. margin: 0 7px 5px;
  657. }
  658. #body-login .warning legend {
  659. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  660. opacity: 1;
  661. }
  662. #body-login a.warning {
  663. cursor: pointer;
  664. }
  665. /* fixes for update page TODO should be fixed some time in a proper way */
  666. /* this is just for an error while updating the ownCloud instance */
  667. #body-login .updateProgress .error {
  668. margin-top: 10px;
  669. margin-bottom: 10px;
  670. }
  671. /* Alternative Logins */
  672. #alternative-logins legend { margin-bottom:10px; }
  673. #alternative-logins li { height:40px; display:inline-block; white-space:nowrap; }
  674. /* Log in and install button */
  675. #body-login input {
  676. font-size: 20px;
  677. margin: 5px;
  678. padding: 11px 10px 9px;
  679. }
  680. #body-login input[type="text"],
  681. #body-login input[type="password"] {
  682. width: 249px;
  683. }
  684. #body-login input.login {
  685. width: auto;
  686. float: right;
  687. }
  688. #body-login input[type="submit"] {
  689. padding: 10px 20px; /* larger log in and installation buttons */
  690. }
  691. #remember_login {
  692. margin: 24px 5px 0 16px !important;
  693. vertical-align: text-bottom;
  694. }
  695. /* Sticky footer */
  696. #body-login .wrapper {
  697. min-height: 100%;
  698. margin: 0 auto -70px;
  699. width: 300px;
  700. }
  701. #body-login footer, #body-login .push {
  702. height: 70px;
  703. }
  704. /* VARIOUS REUSABLE SELECTORS */
  705. .hidden {
  706. display: none;
  707. }
  708. .hidden-visually {
  709. position: absolute;
  710. left:-10000px;
  711. top: auto;
  712. width: 1px;
  713. height: 1px;
  714. overflow: hidden;
  715. }
  716. .bold { font-weight:bold; }
  717. .center { text-align:center; }
  718. .inlineblock { display: inline-block; }
  719. #notification-container {
  720. position: absolute;
  721. top: 0;
  722. width: 100%;
  723. text-align: center;
  724. }
  725. #notification, #update-notification {
  726. margin: 0 auto;
  727. max-width: 60%;
  728. z-index: 8000;
  729. background-color: #fc4;
  730. border: 0;
  731. padding: 1px 8px;
  732. display: none;
  733. position: relative;
  734. top: 0;
  735. border-bottom-left-radius: 3px;
  736. border-bottom-right-radius: 3px;
  737. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
  738. opacity: .9;
  739. }
  740. #notification span, #update-notification span {
  741. cursor: pointer;
  742. margin-left: 1em;
  743. }
  744. tr .action:not(.permanent),
  745. .selectedActions a {
  746. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  747. opacity: 0;
  748. }
  749. tr:hover .action,
  750. tr:focus .action,
  751. tr .action.permanent,
  752. .selectedActions a {
  753. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  754. opacity: .5;
  755. }
  756. tr .action {
  757. width: 16px;
  758. height: 16px;
  759. }
  760. .header-action {
  761. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  762. opacity: .8;
  763. }
  764. tr:hover .action:hover,
  765. tr:focus .action:focus,
  766. .selectedActions a:hover,
  767. .selectedActions a:focus,
  768. .header-action:hover,
  769. .header-action:focus {
  770. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  771. opacity: 1;
  772. }
  773. tbody tr:hover,
  774. tbody tr:focus,
  775. tbody tr:active {
  776. background-color: #f8f8f8;
  777. }
  778. code { font-family:"Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", monospace; }
  779. #quota {
  780. position: relative;
  781. padding: 0;
  782. }
  783. #quota div {
  784. padding: 0;
  785. background-color: rgb(220,220,220);
  786. font-weight: normal;
  787. white-space: nowrap;
  788. border-bottom-left-radius: 3px;
  789. border-top-left-radius: 3px;
  790. min-width: 1%;
  791. max-width: 100%;
  792. }
  793. #quotatext {padding:.6em 1em;}
  794. #quota div.quota-warning {
  795. background-color: #fc4;
  796. }
  797. .pager { list-style:none; float:right; display:inline; margin:.7em 13em 0 0; }
  798. .pager li { display:inline-block; }
  799. .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { overflow:hidden; text-overflow:ellipsis; }
  800. .separator { display:inline; border-left:1px solid #d3d3d3; border-right:1px solid #fff; height:10px; width:0px; margin:4px; }
  801. a.bookmarklet { background-color:#ddd; border:1px solid #ccc; padding:5px;padding-top:0px;padding-bottom:2px; text-decoration:none; margin-top:5px }
  802. .exception{color:#000;}
  803. .exception textarea{width:95%;height:200px;background:#ffe;border:0;}
  804. .ui-icon-circle-triangle-e{ background-image:url('../img/actions/play-next.svg'); }
  805. .ui-icon-circle-triangle-w{ background-image:url('../img/actions/play-previous.svg'); }
  806. .ui-datepicker-prev,.ui-datepicker-next{ border:1px solid #ddd; background:#fff; }
  807. /* ---- DIALOGS ---- */
  808. #oc-dialog-filepicker-content .dirtree {width:92%; overflow:hidden; }
  809. #oc-dialog-filepicker-content .dirtree .home {
  810. background-image:url('../img/places/home.svg');
  811. background-repeat:no-repeat;
  812. background-position: left center;
  813. width: 30px;
  814. display: inline-block;
  815. }
  816. #oc-dialog-filepicker-content .dirtree span:not(:last-child) { cursor: pointer; }
  817. #oc-dialog-filepicker-content .dirtree span:last-child { font-weight: bold; }
  818. #oc-dialog-filepicker-content .dirtree span:not(:last-child)::after { content: '>'; padding: 3px;}
  819. #oc-dialog-filepicker-content .filelist {
  820. overflow-y:auto;
  821. max-height: 300px;
  822. background-color:white;
  823. width:100%;
  824. }
  825. #oc-dialog-filepicker-content .filelist li {
  826. position: relative;
  827. }
  828. #oc-dialog-filepicker-content .filelist .filename {
  829. position: absolute;
  830. top: 8px;
  831. max-width: 60%;
  832. overflow: hidden;
  833. white-space: nowrap;
  834. text-overflow: ellipsis;
  835. }
  836. #oc-dialog-filepicker-content .filelist img {
  837. margin: 2px 1em 0 4px;
  838. }
  839. #oc-dialog-filepicker-content .filelist .date {
  840. float: right;
  841. margin-right: 10px;
  842. margin-top: 0;
  843. padding-top: 9px;
  844. }
  845. #oc-dialog-filepicker-content .filepicker_element_selected { background-color:lightblue;}
  846. .ui-dialog {position:fixed !important;}
  847. span.ui-icon {float: left; margin: 3px 7px 30px 0;}
  848. .loading { background: url('../img/loading.gif') no-repeat center; cursor: wait; }
  849. .loading-small { background: url('../img/loading-small.gif') no-repeat center; cursor: wait; }
  850. .move2trash { /* decrease spinner size */
  851. width: 16px;
  852. height: 16px;
  853. }
  854. /* ---- TOOLTIPS ---- */
  855. .extra-data {
  856. padding-right: 5px !important;
  857. }
  858. .tipsy-inner {
  859. max-width: 400px !important;
  860. overflow: hidden;
  861. text-overflow: ellipsis;
  862. }
  863. /* ---- TAGS ---- */
  864. #tagsdialog .content {
  865. width: 100%; height: 280px;
  866. }
  867. #tagsdialog .scrollarea {
  868. overflow:auto; border:1px solid #ddd;
  869. width: 100%; height: 240px;
  870. }
  871. #tagsdialog .bottombuttons {
  872. width: 100%; height: 30px;
  873. }
  874. #tagsdialog .bottombuttons * { float:left;}
  875. #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; }
  876. #tagsdialog .taglist li:hover, #tagsdialog .taglist li:active { background:#eee; }
  877. #tagsdialog .addinput { width: 90%; clear: both; }
  878. /* ---- APP SETTINGS - LEGACY, DO NOT USE THE POPUP! ---- */
  879. .popup {
  880. background-color: #fff;
  881. border-radius: 3px;
  882. box-shadow: 0 0 10px #aaa;
  883. color: #333;
  884. padding: 10px;
  885. position: fixed !important;
  886. z-index: 100;
  887. }
  888. .popup.topright { top:7em; right:1em; }
  889. .popup.bottomleft { bottom:1em; left:33em; }
  890. .popup .close { position:absolute; top:0.2em; right:0.2em; height:20px; width:20px; background:url('../img/actions/close.svg') no-repeat center; }
  891. .popup h2 { font-size:20px; }
  892. .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; }
  893. .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); }
  894. .arrow.up { top:-8px; right:6px; }
  895. .arrow.down { -webkit-transform:rotate(180deg); -moz-transform:rotate(180deg); -o-transform:rotate(180deg); -ms-transform:rotate(180deg); transform:rotate(180deg); }
  896. /* ---- BREADCRUMB ---- */
  897. div.crumb {
  898. float: left;
  899. display: block;
  900. background: url('../img/breadcrumb.svg') no-repeat right center;
  901. height: 44px;
  902. background-size: auto 24px;
  903. }
  904. div.crumb.hidden {
  905. display: none;
  906. }
  907. div.crumb a,
  908. div.crumb span {
  909. position: relative;
  910. top: 12px;
  911. padding: 14px 24px 14px 17px;
  912. color: #555;
  913. }
  914. div.crumb:first-child a {
  915. position: relative;
  916. top: 13px;
  917. }
  918. div.crumb.last {
  919. font-weight: bold;
  920. margin-right: 10px;
  921. }
  922. div.crumb a.ellipsislink {
  923. padding: 0 !important;
  924. position: relative;
  925. top: 8px !important;
  926. }
  927. /* some feedback for hover/tap on breadcrumbs */
  928. div.crumb:hover,
  929. div.crumb:focus,
  930. div.crumb a:focus,
  931. div.crumb:active {
  932. -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  933. opacity:.7;
  934. }
  935. .appear {
  936. opacity: 1;
  937. transition: opacity 500ms ease 0s;
  938. -moz-transition: opacity 500ms ease 0s;
  939. -ms-transition: opacity 500ms ease 0s;
  940. -o-transition: opacity 500ms ease 0s;
  941. -webkit-transition: opacity 500ms ease 0s;
  942. }
  943. .appear.transparent {
  944. opacity: 0;
  945. }
  946. /* public footer */
  947. #body-public footer {
  948. margin-top: 65px;
  949. text-align: center;
  950. }
  951. #body-public footer .info {
  952. color: #777;
  953. text-align: center;
  954. margin: 0 auto;
  955. padding: 20px 0;
  956. }
  957. #body-public footer .info a {
  958. color: #777;
  959. font-weight: bold;
  960. padding: 13px;
  961. margin: -13px;
  962. }
  963. /* LEGACY FIX only - do not use fieldsets for settings */
  964. fieldset.warning legend, fieldset.update legend {
  965. top: 18px;
  966. position: relative;
  967. }
  968. fieldset.warning legend + p, fieldset.update legend + p {
  969. margin-top: 12px;
  970. }
  971. /* for IE10 */
  972. @-ms-viewport {
  973. width: device-width;
  974. }