styles.css 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134
  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: 300;
  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: #ddd;
  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: 600;
  184. color: #555;
  185. border: 1px solid rgba(240,240,240,.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: transparent url('../img/actions/search-white.svg') no-repeat 6px center;
  241. color: #fff;
  242. border: 0;
  243. border-radius: 3px;
  244. margin-top: 9px;
  245. float: right;
  246. width: 0;
  247. cursor: pointer;
  248. -webkit-transition: all 100ms;
  249. -moz-transition: all 100ms;
  250. -o-transition: all 100ms;
  251. transition: all 100ms;
  252. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  253. opacity: .7;
  254. }
  255. .searchbox input[type="search"]:focus,
  256. .searchbox input[type="search"]:active {
  257. color: #fff;
  258. width: 155px;
  259. max-width: 50%;
  260. cursor: text;
  261. background-color: #112;
  262. }
  263. input[type="submit"].enabled {
  264. background-color: #66f866;
  265. border: 1px solid #5e5;
  266. }
  267. .input-button-inline {
  268. position: absolute !important;
  269. right: 0;
  270. background-color: transparent !important;
  271. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
  272. opacity: .3;
  273. }
  274. /* CONTENT ------------------------------------------------------------------ */
  275. #controls {
  276. -moz-box-sizing: border-box;
  277. -webkit-box-sizing: border-box;
  278. box-sizing: border-box;
  279. position: fixed;
  280. top: 45px;
  281. right: 0;
  282. left: 0;
  283. height: 44px;
  284. width: 100%;
  285. padding: 0;
  286. margin: 0;
  287. background-color: rgba(255, 255, 255, .95);
  288. z-index: 50;
  289. -webkit-user-select: none;
  290. -moz-user-select: none;
  291. -ms-user-select: none;
  292. user-select: none;
  293. }
  294. /* position controls for apps with app-navigation */
  295. #app-navigation+#app-content #controls {
  296. left: 250px;
  297. }
  298. .viewer-mode #app-navigation+#app-content #controls {
  299. left: 0;
  300. }
  301. #controls .button,
  302. #controls button,
  303. #controls input[type='submit'],
  304. #controls input[type='text'],
  305. #controls input[type='password'],
  306. #controls select {
  307. -moz-box-sizing: border-box;
  308. -webkit-box-sizing: border-box;
  309. box-sizing: border-box;
  310. display: inline-block;
  311. height: 36px;
  312. padding: 7px 10px
  313. }
  314. #controls .button.hidden {
  315. display: none;
  316. }
  317. #content {
  318. position: relative;
  319. height: 100%;
  320. width: 100%;
  321. }
  322. #content .hascontrols {
  323. position: relative;
  324. top: 45px;
  325. }
  326. #content-wrapper {
  327. position: absolute;
  328. height: 100%;
  329. width: 100%;
  330. overflow-x: hidden; /* prevent horizontal scrollbar */
  331. padding-top: 45px;
  332. -moz-box-sizing:border-box;
  333. box-sizing:border-box;
  334. }
  335. /* allow horizontal scrollbar for personal and admin settings */
  336. #body-settings:not(.snapjs-left) .app-settings {
  337. overflow-x: auto;
  338. }
  339. #emptycontent,
  340. .emptycontent {
  341. font-size: 16px;
  342. color: #888;
  343. position: absolute;
  344. text-align: center;
  345. top: 30%;
  346. width: 100%;
  347. }
  348. #emptycontent h2,
  349. .emptycontent h2 {
  350. font-weight: 600;
  351. font-size: 22px;
  352. margin-bottom: 10px;
  353. }
  354. #emptycontent [class^="icon-"],
  355. .emptycontent [class^="icon-"],
  356. #emptycontent [class*=" icon-"],
  357. .emptycontent [class*=" icon-"] {
  358. background-size: 64px;
  359. height: 64px;
  360. width: 64px;
  361. margin: 0 auto 15px;
  362. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
  363. opacity: .4;
  364. }
  365. /* LOG IN & INSTALLATION ------------------------------------------------------------ */
  366. /* Some whitespace to the top */
  367. #body-login #header {
  368. padding-top: 100px;
  369. }
  370. #body-login {
  371. background-attachment: fixed; /* fix background gradient */
  372. height: 100%; /* fix sticky footer */
  373. }
  374. /* Dark subtle label text */
  375. #body-login p.info,
  376. #body-login form fieldset legend,
  377. #body-login #datadirContent label,
  378. #body-login form fieldset .warning-info,
  379. #body-login form input[type="checkbox"]+label {
  380. text-align: center;
  381. color: #ccc;
  382. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
  383. opacity: .6;
  384. }
  385. /* overrides another !important statement that sets this to unreadable black */
  386. #body-login form .warning input[type="checkbox"]:hover+label,
  387. #body-login form .warning input[type="checkbox"]:focus+label,
  388. #body-login form .warning input[type="checkbox"]+label {
  389. color: #fff !important;
  390. }
  391. #body-login .update h2 {
  392. font-size: 20px;
  393. line-height: 130%;
  394. margin-bottom: 30px;
  395. }
  396. #body-login .update a {
  397. color: #fff;
  398. border-bottom: 1px solid #aaa;
  399. }
  400. #body-login .infogroup {
  401. margin-bottom: 15px;
  402. }
  403. #body-login p#message img {
  404. vertical-align: middle;
  405. padding: 5px;
  406. }
  407. #body-login div.buttons {
  408. text-align: center;
  409. }
  410. #body-login p.info {
  411. width: 22em;
  412. margin: 0 auto;
  413. padding-top: 20px;
  414. }
  415. #body-login p.info a {
  416. font-weight: 600;
  417. padding: 13px;
  418. margin: -13px;
  419. }
  420. /* position log in button as confirm icon in right of password field */
  421. #body-login #submit.login {
  422. position: absolute;
  423. right: 0;
  424. top: 49px;
  425. border: none;
  426. background-color: transparent;
  427. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
  428. opacity: .3;
  429. }
  430. #body-login #submit.login:hover,
  431. #body-login #submit.login:focus {
  432. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  433. opacity: .7;
  434. }
  435. #body-login input[type="password"] {
  436. padding-right: 40px;
  437. box-sizing: border-box;
  438. min-width: 269px;
  439. }
  440. #body-login form {
  441. position: relative;
  442. width: 22em;
  443. margin: 2em auto 2em;
  444. padding: 0;
  445. }
  446. #body-login form fieldset {
  447. margin-bottom: 20px;
  448. text-align: left;
  449. }
  450. #body-login form #sqliteInformation {
  451. margin-top: -20px;
  452. margin-bottom: 20px;
  453. }
  454. #body-login form #adminaccount {
  455. margin-bottom: 15px;
  456. }
  457. #body-login form fieldset legend, #datadirContent label {
  458. width: 100%;
  459. }
  460. #body-login #datadirContent label {
  461. display: block;
  462. margin: 0;
  463. }
  464. #body-login form #datadirField legend {
  465. margin-bottom: 15px;
  466. }
  467. #body-login #showAdvanced {
  468. padding: 13px; /* increase clickable area of Advanced dropdown */
  469. }
  470. #body-login #showAdvanced img {
  471. vertical-align: bottom; /* adjust position of Advanced dropdown arrow */
  472. margin-left: -4px;
  473. }
  474. #body-login .icon-info-white {
  475. padding: 10px;
  476. }
  477. /* strengthify wrapper */
  478. #body-login .strengthify-wrapper {
  479. display: inline-block;
  480. position: relative;
  481. left: 15px;
  482. top: -21px;
  483. width: 252px;
  484. }
  485. /* tipsy for the strengthify wrapper looks better with following font settings */
  486. #body-login .tipsy-inner {
  487. font-weight: bold;
  488. color: #ccc;
  489. }
  490. /* Icons for username and password fields to better recognize them */
  491. #adminlogin,
  492. #adminpass,
  493. input[name='adminpass-clone'],
  494. #user,
  495. #password,
  496. input[name='password-clone'] {
  497. width: 223px !important;
  498. padding-left: 36px !important;
  499. }
  500. #adminlogin+label+img,
  501. #adminpass-icon,
  502. #user+label+img,
  503. #password-icon {
  504. position: absolute;
  505. left: 16px;
  506. top: 22px;
  507. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
  508. opacity: .3;
  509. }
  510. #adminpass-icon, #password-icon {
  511. top: 17px;
  512. }
  513. /* General new input field look */
  514. #body-login input[type="text"],
  515. #body-login input[type="password"],
  516. #body-login input[type="email"] {
  517. border: none;
  518. }
  519. /* Nicely grouping input field sets */
  520. .grouptop,
  521. .groupmiddle,
  522. .groupbottom {
  523. position: relative;
  524. }
  525. #body-login .grouptop input,
  526. .grouptop input {
  527. margin-bottom: 0;
  528. border-bottom: 0;
  529. border-bottom-left-radius: 0;
  530. border-bottom-right-radius: 0;
  531. }
  532. #body-login .groupmiddle input,
  533. .groupmiddle input {
  534. margin-top: 0;
  535. margin-bottom: 0;
  536. border-top: 0;
  537. border-bottom: 0;
  538. border-radius: 0;
  539. box-shadow: 0 1px 0 rgba(0,0,0,.1) inset !important;
  540. }
  541. #body-login .groupbottom input,
  542. .groupbottom input {
  543. margin-top: 0;
  544. border-top: 0;
  545. border-top-right-radius: 0;
  546. border-top-left-radius: 0;
  547. box-shadow: 0 1px 0 rgba(0,0,0,.1) inset !important;
  548. }
  549. /* keep the labels for screen readers but hide them since we use placeholders */
  550. label.infield {
  551. display: none;
  552. }
  553. #body-login form input[type="checkbox"]+label {
  554. position: relative;
  555. margin: 0;
  556. padding: 14px;
  557. padding-left: 28px;
  558. margin-left: -28px;
  559. vertical-align: middle;
  560. }
  561. #body-login form .errors { background:#fed7d7; border:1px solid #f00; list-style-indent:inside; margin:0 0 2em; padding:1em; }
  562. #body-login .success { background:#d7fed7; border:1px solid #0f0; width: 35%; margin: 30px auto; padding:1em; text-align: center;}
  563. #body-login #remember_login:hover+label,
  564. #body-login #remember_login:focus+label {
  565. color: #fff !important;
  566. }
  567. #body-login #showAdvanced > img {
  568. padding: 4px;
  569. box-sizing: border-box;
  570. }
  571. #body-login p.info a, #body-login #showAdvanced {
  572. color: #ccc;
  573. }
  574. #body-login p.info a:hover, #body-login p.info a:focus {
  575. color: #fff;
  576. }
  577. #body-login footer .info {
  578. white-space: nowrap;
  579. }
  580. /* Show password toggle */
  581. #show, #dbpassword {
  582. position: absolute;
  583. right: 1em;
  584. top: .8em;
  585. float: right;
  586. }
  587. #show, #dbpassword, #personal-show {
  588. display: none;
  589. }
  590. #show + label, #dbpassword + label {
  591. right: 21px;
  592. top: 15px !important;
  593. margin: -14px !important;
  594. padding: 14px !important;
  595. }
  596. #show:checked + label, #dbpassword:checked + label, #personal-show:checked + label {
  597. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  598. opacity: .8;
  599. }
  600. #show + label, #dbpassword + label, #personal-show + label {
  601. position: absolute !important;
  602. height: 20px;
  603. width: 24px;
  604. background-image: url("../img/actions/toggle.png");
  605. background-repeat: no-repeat;
  606. background-position: center;
  607. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
  608. opacity: .3;
  609. }
  610. #pass2, input[name="personal-password-clone"] {
  611. padding: .6em 2.5em .4em .4em;
  612. width: 8em;
  613. }
  614. #personal-show + label {
  615. height: 14px;
  616. margin-top: 14px;
  617. margin-left: -36px;
  618. }
  619. #passwordbutton {
  620. margin-left: .5em;
  621. }
  622. /* Database selector */
  623. #body-login form #selectDbType { text-align:center; white-space: nowrap; }
  624. #body-login form #selectDbType .info {
  625. white-space: normal;
  626. }
  627. #body-login form #selectDbType label {
  628. position:static; margin:0 -3px 5px; padding:.4em;
  629. font-size:12px; background:#f8f8f8; color:#888; cursor:pointer;
  630. border: 1px solid #ddd;
  631. }
  632. #body-login form #selectDbType label.ui-state-hover, #body-login form #selectDbType label.ui-state-active { color:#000; background-color:#e8e8e8; }
  633. /* Warnings and errors are the same */
  634. #body-login .warning,
  635. #body-login .update,
  636. #body-login .error {
  637. display: block;
  638. padding: 10px;
  639. background-color: rgba(0,0,0,.3);
  640. color: #fff;
  641. text-align: left;
  642. border-radius: 3px;
  643. cursor: default;
  644. }
  645. #body-login .update {
  646. width: inherit;
  647. text-align: center;
  648. }
  649. #body-login .update .appList {
  650. list-style: disc;
  651. text-align: left;
  652. margin-left: 25px;
  653. margin-right: 25px;
  654. }
  655. #body-login .v-align {
  656. width: inherit;
  657. }
  658. #body-login .update img.float-spinner {
  659. float: left;
  660. }
  661. #body-user .warning, #body-settings .warning {
  662. margin-top: 8px;
  663. padding: 5px;
  664. background: #fdd;
  665. border-radius: 3px;
  666. }
  667. .warning legend,
  668. .warning a,
  669. .error a {
  670. color: #fff !important;
  671. font-weight: 600 !important;
  672. }
  673. .error pre {
  674. white-space: pre-wrap;
  675. text-align: left;
  676. }
  677. .error-wide {
  678. width: 700px;
  679. margin-left: -200px !important;
  680. }
  681. .error-wide .button {
  682. color: black !important;
  683. }
  684. .warning-input {
  685. border-color: #ce3702 !important;
  686. }
  687. /* Fixes for log in page, TODO should be removed some time */
  688. #body-login .update,
  689. #body-login .error {
  690. margin: 35px auto;
  691. }
  692. #body-login .warning {
  693. margin: 0 7px 5px 4px;
  694. }
  695. #body-login .warning legend {
  696. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  697. opacity: 1;
  698. }
  699. #body-login a.warning {
  700. cursor: pointer;
  701. }
  702. /* fixes for update page TODO should be fixed some time in a proper way */
  703. /* this is just for an error while updating the ownCloud instance */
  704. #body-login .updateProgress .error {
  705. margin-top: 10px;
  706. margin-bottom: 10px;
  707. }
  708. /* Alternative Logins */
  709. #alternative-logins legend { margin-bottom:10px; }
  710. #alternative-logins li { height:40px; display:inline-block; white-space:nowrap; }
  711. /* Log in and install button */
  712. #body-login input {
  713. font-size: 20px;
  714. margin: 5px;
  715. padding: 11px 10px 9px;
  716. }
  717. #body-login input[type="text"],
  718. #body-login input[type="password"] {
  719. width: 249px;
  720. }
  721. #body-login input.login {
  722. width: auto;
  723. float: right;
  724. }
  725. #body-login input[type="submit"] {
  726. padding: 10px 20px; /* larger log in and installation buttons */
  727. }
  728. #remember_login {
  729. margin: 18px 5px 0 16px !important;
  730. vertical-align: text-bottom;
  731. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  732. opacity: .7;
  733. }
  734. #body-login .remember-login-container {
  735. text-align: center;
  736. }
  737. /* Sticky footer */
  738. #body-login .wrapper {
  739. min-height: 100%;
  740. margin: 0 auto -70px;
  741. width: 300px;
  742. }
  743. #body-login footer, #body-login .push {
  744. height: 70px;
  745. }
  746. /* VARIOUS REUSABLE SELECTORS */
  747. .hidden {
  748. display: none;
  749. }
  750. .hidden-visually {
  751. position: absolute;
  752. left:-10000px;
  753. top: auto;
  754. width: 1px;
  755. height: 1px;
  756. overflow: hidden;
  757. }
  758. .bold { font-weight:600; }
  759. .center { text-align:center; }
  760. .inlineblock { display: inline-block; }
  761. /* round profile photos */
  762. .avatar,
  763. .avatar img,
  764. .avatardiv,
  765. .avatardiv img {
  766. border-radius: 50%;
  767. }
  768. td.avatar {
  769. border-radius: 0;
  770. }
  771. #notification-container {
  772. position: absolute;
  773. top: 0;
  774. width: 100%;
  775. text-align: center;
  776. }
  777. #notification, #update-notification {
  778. margin: 0 auto;
  779. max-width: 60%;
  780. z-index: 8000;
  781. background-color: #fc4;
  782. border: 0;
  783. padding: 1px 8px;
  784. display: none;
  785. position: relative;
  786. top: 0;
  787. border-bottom-left-radius: 3px;
  788. border-bottom-right-radius: 3px;
  789. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
  790. opacity: .9;
  791. }
  792. #notification span, #update-notification span {
  793. cursor: pointer;
  794. margin-left: 1em;
  795. }
  796. tr .action:not(.permanent),
  797. .selectedActions a {
  798. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  799. opacity: 0;
  800. }
  801. tr:hover .action,
  802. tr:focus .action,
  803. tr .action.permanent,
  804. .selectedActions a {
  805. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  806. opacity: .5;
  807. }
  808. tr .action {
  809. width: 16px;
  810. height: 16px;
  811. }
  812. .header-action {
  813. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  814. opacity: .8;
  815. }
  816. tr:hover .action:hover,
  817. tr:focus .action:focus,
  818. .selectedActions a:hover,
  819. .selectedActions a:focus,
  820. .header-action:hover,
  821. .header-action:focus {
  822. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  823. opacity: 1;
  824. }
  825. tbody tr:hover,
  826. tbody tr:focus,
  827. tbody tr:active {
  828. background-color: #f8f8f8;
  829. }
  830. code { font-family:"Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", monospace; }
  831. #quota {
  832. position: relative;
  833. padding: 0;
  834. }
  835. #quota div {
  836. padding: 0;
  837. background-color: rgb(220,220,220);
  838. font-weight: normal;
  839. white-space: nowrap;
  840. border-bottom-left-radius: 3px;
  841. border-top-left-radius: 3px;
  842. min-width: 1%;
  843. max-width: 100%;
  844. }
  845. #quotatext {padding:.6em 1em;}
  846. #quota div.quota-warning {
  847. background-color: #fc4;
  848. }
  849. .pager { list-style:none; float:right; display:inline; margin:.7em 13em 0 0; }
  850. .pager li { display:inline-block; }
  851. .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { overflow:hidden; text-overflow:ellipsis; }
  852. .separator { display:inline; border-left:1px solid #d3d3d3; border-right:1px solid #fff; height:10px; width:0px; margin:4px; }
  853. a.bookmarklet { background-color:#ddd; border:1px solid #ccc; padding:5px;padding-top:0px;padding-bottom:2px; text-decoration:none; margin-top:5px }
  854. .exception{color:#000;}
  855. .exception textarea{width:95%;height:200px;background:#ffe;border:0;}
  856. .ui-icon-circle-triangle-e{ background-image:url('../img/actions/play-next.svg'); }
  857. .ui-icon-circle-triangle-w{ background-image:url('../img/actions/play-previous.svg'); }
  858. .ui-datepicker-prev,.ui-datepicker-next{ border:1px solid #ddd; background:#fff; }
  859. /* ---- DIALOGS ---- */
  860. #oc-dialog-filepicker-content .dirtree {width:92%; overflow:hidden; }
  861. #oc-dialog-filepicker-content .dirtree .home {
  862. background-image:url('../img/places/home.svg');
  863. background-repeat:no-repeat;
  864. background-position: left center;
  865. width: 30px;
  866. display: inline-block;
  867. }
  868. #oc-dialog-filepicker-content .dirtree span:not(:last-child) { cursor: pointer; }
  869. #oc-dialog-filepicker-content .dirtree span:last-child { font-weight: bold; }
  870. #oc-dialog-filepicker-content .dirtree span:not(:last-child)::after { content: '>'; padding: 3px;}
  871. #oc-dialog-filepicker-content .filelist {
  872. overflow-y:auto;
  873. max-height: 300px;
  874. background-color:white;
  875. width:100%;
  876. }
  877. #oc-dialog-filepicker-content .filelist li {
  878. position: relative;
  879. }
  880. #oc-dialog-filepicker-content .filelist .filename {
  881. position: absolute;
  882. top: 8px;
  883. max-width: 60%;
  884. overflow: hidden;
  885. white-space: nowrap;
  886. text-overflow: ellipsis;
  887. }
  888. #oc-dialog-filepicker-content .filelist img {
  889. margin: 2px 1em 0 4px;
  890. width: 32px;
  891. }
  892. #oc-dialog-filepicker-content .filelist .date {
  893. float: right;
  894. margin-right: 10px;
  895. margin-top: 0;
  896. padding-top: 9px;
  897. }
  898. #oc-dialog-filepicker-content .filepicker_element_selected { background-color:lightblue;}
  899. .ui-dialog {position:fixed !important;}
  900. span.ui-icon {float: left; margin: 3px 7px 30px 0;}
  901. .loading { background: url('../img/loading.gif') no-repeat center; cursor: wait; }
  902. .loading-small { background: url('../img/loading-small.gif') no-repeat center; cursor: wait; }
  903. .move2trash { /* decrease spinner size */
  904. width: 16px;
  905. height: 16px;
  906. }
  907. /* ---- TOOLTIPS ---- */
  908. .extra-data {
  909. padding-right: 5px !important;
  910. }
  911. .tipsy-inner {
  912. max-width: 400px !important;
  913. overflow: hidden;
  914. text-overflow: ellipsis;
  915. }
  916. /* ---- TAGS ---- */
  917. #tagsdialog .content {
  918. width: 100%; height: 280px;
  919. }
  920. #tagsdialog .scrollarea {
  921. overflow:auto; border:1px solid #ddd;
  922. width: 100%; height: 240px;
  923. }
  924. #tagsdialog .bottombuttons {
  925. width: 100%; height: 30px;
  926. }
  927. #tagsdialog .bottombuttons * { float:left;}
  928. #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; }
  929. #tagsdialog .taglist li:hover, #tagsdialog .taglist li:active { background:#eee; }
  930. #tagsdialog .addinput { width: 90%; clear: both; }
  931. /* ---- APP SETTINGS - LEGACY, DO NOT USE THE POPUP! ---- */
  932. .popup {
  933. background-color: #fff;
  934. border-radius: 3px;
  935. box-shadow: 0 0 10px #aaa;
  936. color: #333;
  937. padding: 10px;
  938. position: fixed !important;
  939. z-index: 100;
  940. }
  941. .popup.topright { top:7em; right:1em; }
  942. .popup.bottomleft { bottom:1em; left:33em; }
  943. .popup .close { position:absolute; top:0.2em; right:0.2em; height:20px; width:20px; background:url('../img/actions/close.svg') no-repeat center; }
  944. .popup h2 { font-size:20px; }
  945. .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; }
  946. .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); }
  947. .arrow.up { top:-8px; right:6px; }
  948. .arrow.down { -webkit-transform:rotate(180deg); -moz-transform:rotate(180deg); -o-transform:rotate(180deg); -ms-transform:rotate(180deg); transform:rotate(180deg); }
  949. /* ---- BREADCRUMB ---- */
  950. div.crumb {
  951. float: left;
  952. display: block;
  953. background: url('../img/breadcrumb.svg') no-repeat right center;
  954. height: 44px;
  955. background-size: auto 24px;
  956. }
  957. div.crumb.hidden {
  958. display: none;
  959. }
  960. div.crumb a,
  961. div.crumb span {
  962. position: relative;
  963. top: 12px;
  964. padding: 14px 24px 14px 17px;
  965. color: #555;
  966. }
  967. div.crumb:first-child a {
  968. position: relative;
  969. top: 13px;
  970. }
  971. div.crumb.last {
  972. font-weight: 600;
  973. margin-right: 10px;
  974. }
  975. div.crumb a.ellipsislink {
  976. padding: 0 !important;
  977. position: relative;
  978. top: 8px !important;
  979. }
  980. /* some feedback for hover/tap on breadcrumbs */
  981. div.crumb:hover,
  982. div.crumb:focus,
  983. div.crumb a:focus,
  984. div.crumb:active {
  985. -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  986. opacity:.7;
  987. }
  988. .appear {
  989. opacity: 1;
  990. transition: opacity 500ms ease 0s;
  991. -moz-transition: opacity 500ms ease 0s;
  992. -ms-transition: opacity 500ms ease 0s;
  993. -o-transition: opacity 500ms ease 0s;
  994. -webkit-transition: opacity 500ms ease 0s;
  995. }
  996. .appear.transparent {
  997. opacity: 0;
  998. }
  999. /* public footer */
  1000. #body-public footer {
  1001. margin-top: 65px;
  1002. text-align: center;
  1003. }
  1004. #body-public footer .info {
  1005. color: #777;
  1006. text-align: center;
  1007. margin: 0 auto;
  1008. padding: 20px 0;
  1009. }
  1010. #body-public footer .info a {
  1011. color: #777;
  1012. font-weight: 600;
  1013. padding: 13px;
  1014. margin: -13px;
  1015. }
  1016. /* LEGACY FIX only - do not use fieldsets for settings */
  1017. fieldset.warning legend, fieldset.update legend {
  1018. top: 18px;
  1019. position: relative;
  1020. }
  1021. fieldset.warning legend + p, fieldset.update legend + p {
  1022. margin-top: 12px;
  1023. }
  1024. /* for IE10 */
  1025. @-ms-viewport {
  1026. width: device-width;
  1027. }