1
0

styles.scss 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305
  1. /**
  2. * @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>
  3. * @copyright Copyright (c) 2016, Lukas Reschke <lukas@statuscode.ch>
  4. * @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>
  5. * @copyright Copyright (c) 2016, Julius Haertl <jus@bitgrid.net>
  6. * @copyright Copyright (c) 2016, Joas Schilling <coding@schilljs.com>
  7. * @copyright Copyright (c) 2016, Morris Jobke <hey@morrisjobke.de>
  8. * @copyright Copyright (c) 2016, Christoph Wurst <christoph@winzerhof-wurst.at>
  9. * @copyright Copyright (c) 2016, Jan-Christoph Borchardt <hey@jancborchardt.net>
  10. * @copyright Copyright (c) 2016, Raghu Nayyar <hey@raghunayyar.com>
  11. *
  12. * @license GNU AGPL version 3 or any later version
  13. *
  14. */
  15. 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 {
  16. margin: 0;
  17. padding: 0;
  18. border: 0;
  19. outline: 0;
  20. font-weight: inherit;
  21. font-size: 100%;
  22. font-family: inherit;
  23. vertical-align: baseline;
  24. cursor: default;
  25. }
  26. html, body {
  27. height: 100%;
  28. }
  29. article, aside, dialog, figure, footer, header, hgroup, nav, section {
  30. display: block;
  31. }
  32. body {
  33. line-height: 1.5;
  34. }
  35. table {
  36. border-collapse: separate;
  37. border-spacing: 0;
  38. white-space: nowrap;
  39. }
  40. caption, th, td {
  41. text-align: left;
  42. font-weight: normal;
  43. }
  44. table, td, th {
  45. vertical-align: middle;
  46. }
  47. a {
  48. border: 0;
  49. color: #000;
  50. text-decoration: none;
  51. cursor: pointer;
  52. * {
  53. cursor: pointer;
  54. }
  55. }
  56. input {
  57. cursor: pointer;
  58. * {
  59. cursor: pointer;
  60. }
  61. }
  62. select, .button span, label {
  63. cursor: pointer;
  64. }
  65. ul {
  66. list-style: none;
  67. }
  68. body {
  69. background-color: #ffffff;
  70. font-weight: 400;
  71. font-size: .8em;
  72. line-height: 1.6em;
  73. font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
  74. color: #000;
  75. height: auto;
  76. }
  77. #body-login {
  78. text-align: center;
  79. background-color: #0082c9;
  80. background-image: url('../img/background.jpg?v=1');
  81. background-position: 50% 50%;
  82. background-repeat: no-repeat;
  83. background-size: cover;
  84. }
  85. .two-factor-header {
  86. text-align: center;
  87. }
  88. .two-factor-provider {
  89. text-align: center;
  90. width: 258px !important;
  91. display: inline-block;
  92. margin-bottom: 0 !important;
  93. background-color: rgba(0, 0, 0, 0.3) !important;
  94. border: none !important;
  95. }
  96. .two-factor-link {
  97. display: inline-block;
  98. padding: 12px;
  99. color: rgba(255, 255, 255, 0.75);
  100. }
  101. .float-spinner {
  102. height: 32px;
  103. display: none;
  104. }
  105. #body-login .float-spinner {
  106. margin-top: -32px;
  107. padding-top: 32px;
  108. }
  109. #nojavascript {
  110. position: fixed;
  111. top: 0;
  112. bottom: 0;
  113. height: 100%;
  114. width: 100%;
  115. z-index: 9000;
  116. text-align: center;
  117. background-color: rgba(0, 0, 0, 0.5);
  118. color: #fff;
  119. line-height: 125%;
  120. font-size: 24px;
  121. div {
  122. display: block;
  123. position: relative;
  124. width: 50%;
  125. top: 35%;
  126. margin: 0px auto;
  127. }
  128. a {
  129. color: #fff;
  130. border-bottom: 2px dotted #fff;
  131. &:hover, &:focus {
  132. color: #ddd;
  133. }
  134. }
  135. }
  136. /* SCROLLING */
  137. ::-webkit-scrollbar {
  138. width: 5px;
  139. }
  140. ::-webkit-scrollbar-track-piece {
  141. background-color: transparent;
  142. }
  143. ::-webkit-scrollbar-thumb {
  144. background: #ddd;
  145. border-radius: 3px;
  146. }
  147. /* Searchbox */
  148. .searchbox {
  149. position: relative;
  150. input[type='search'] {
  151. position: relative;
  152. font-size: 1.2em;
  153. padding: 3px;
  154. padding-left: 25px;
  155. background: transparent url('../img/actions/search-white.svg?v=1') no-repeat 6px center;
  156. color: #fff;
  157. border: 0;
  158. border-radius: 3px;
  159. margin-top: 3px;
  160. width: 0;
  161. cursor: pointer;
  162. -webkit-transition: all 100ms;
  163. transition: all 100ms;
  164. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)';
  165. opacity: .7;
  166. &:focus, &:active, &:valid {
  167. color: #fff;
  168. width: 155px;
  169. cursor: text;
  170. background-color: #0082c9 !important;
  171. border: 1px solid rgba(255, 255, 255, 0.5) !important;
  172. }
  173. & ~ .icon-close-white {
  174. display: inline;
  175. position: absolute;
  176. width: 15px;
  177. height: 32px;
  178. right: 3px;
  179. top: 0;
  180. &, &:focus, &:active, &:hover {
  181. border: none;
  182. background-color: transparent;
  183. }
  184. }
  185. &:not(:valid) ~ .icon-close-white {
  186. display: none;
  187. }
  188. &::-webkit-search-cancel-button {
  189. -webkit-appearance: none;
  190. }
  191. }
  192. }
  193. /* CONTENT ------------------------------------------------------------------ */
  194. #controls {
  195. box-sizing: border-box;
  196. position: fixed;
  197. top: 45px;
  198. right: 0;
  199. left: 0;
  200. height: 44px;
  201. width: 100%;
  202. padding: 0;
  203. margin: 0;
  204. background-color: rgba(255, 255, 255, 0.95);
  205. z-index: 50;
  206. -webkit-user-select: none;
  207. -moz-user-select: none;
  208. -ms-user-select: none;
  209. user-select: none;
  210. }
  211. /* position controls for apps with app-navigation */
  212. #app-navigation + #app-content #controls {
  213. left: 250px;
  214. }
  215. .viewer-mode #app-navigation + #app-content #controls {
  216. left: 0;
  217. }
  218. #controls {
  219. .button, button {
  220. box-sizing: border-box;
  221. display: inline-block;
  222. height: 36px;
  223. padding: 7px 10px;
  224. }
  225. input {
  226. &[type='submit'], &[type='text'], &[type='password'] {
  227. box-sizing: border-box;
  228. display: inline-block;
  229. height: 36px;
  230. padding: 7px 10px;
  231. }
  232. }
  233. select {
  234. box-sizing: border-box;
  235. display: inline-block;
  236. height: 36px;
  237. padding: 7px 10px;
  238. }
  239. .button.hidden {
  240. display: none;
  241. }
  242. }
  243. #content {
  244. position: relative;
  245. height: 100%;
  246. width: 100%;
  247. .hascontrols {
  248. margin-top: 45px;
  249. }
  250. }
  251. #content-wrapper {
  252. position: absolute;
  253. height: 100%;
  254. width: 100%;
  255. overflow-x: hidden;
  256. /* prevent horizontal scrollbar */
  257. padding-top: 45px;
  258. box-sizing: border-box;
  259. }
  260. /* allow horizontal scrollbar for personal and admin settings */
  261. #body-settings:not(.snapjs-left) .app-settings {
  262. overflow-x: auto;
  263. }
  264. #emptycontent, .emptycontent {
  265. color: #888;
  266. text-align: center;
  267. margin-top: 30vh;
  268. width: 100%;
  269. }
  270. #emptycontent.emptycontent-search, .emptycontent.emptycontent-search {
  271. position: static;
  272. }
  273. #emptycontent h2, .emptycontent h2 {
  274. margin-bottom: 10px;
  275. line-height: 150%;
  276. }
  277. #emptycontent [class^='icon-'], .emptycontent [class^='icon-'], #emptycontent [class*=' icon-'], .emptycontent [class*=' icon-'] {
  278. background-size: 64px;
  279. height: 64px;
  280. width: 64px;
  281. margin: 0 auto 15px;
  282. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=40)';
  283. opacity: .4;
  284. }
  285. /* LOG IN & INSTALLATION ------------------------------------------------------------ */
  286. /* Some whitespace to the top */
  287. #body-login {
  288. #header {
  289. padding-top: 100px;
  290. }
  291. background-attachment: fixed;
  292. /* fix background gradient */
  293. height: 100%;
  294. /* fix sticky footer */
  295. p.info, form fieldset legend, #datadirContent label {
  296. text-align: center;
  297. color: #fff;
  298. }
  299. form {
  300. fieldset .warning-info, input[type='checkbox'] + label {
  301. text-align: center;
  302. color: #fff;
  303. }
  304. .warning input[type='checkbox'] {
  305. &:hover + label, &:focus + label, + label {
  306. color: #fff !important;
  307. }
  308. }
  309. }
  310. .update {
  311. h2 {
  312. margin: 0 0 20px;
  313. }
  314. a {
  315. color: #fff;
  316. border-bottom: 1px solid #aaa;
  317. }
  318. }
  319. .infogroup {
  320. margin-bottom: 15px;
  321. }
  322. p#message img {
  323. vertical-align: middle;
  324. padding: 5px;
  325. }
  326. div.buttons {
  327. text-align: center;
  328. }
  329. p.info {
  330. margin: 0 auto;
  331. padding-top: 20px;
  332. -webkit-user-select: none;
  333. -moz-user-select: none;
  334. -ms-user-select: none;
  335. user-select: none;
  336. a {
  337. font-weight: 600;
  338. padding: 13px;
  339. margin: -13px;
  340. }
  341. }
  342. form {
  343. position: relative;
  344. width: 280px;
  345. margin: 16px auto;
  346. padding: 0;
  347. fieldset {
  348. margin-bottom: 20px;
  349. text-align: left;
  350. -webkit-user-select: none;
  351. -moz-user-select: none;
  352. -ms-user-select: none;
  353. user-select: none;
  354. }
  355. #sqliteInformation {
  356. margin-top: -20px;
  357. margin-bottom: 20px;
  358. }
  359. #adminaccount {
  360. margin-bottom: 15px;
  361. }
  362. fieldset legend {
  363. width: 100%;
  364. }
  365. }
  366. }
  367. /* Dark subtle label text */
  368. /* overrides another !important statement that sets this to unreadable black */
  369. #datadirContent label {
  370. width: 100%;
  371. }
  372. #body-login {
  373. #datadirContent label {
  374. display: block;
  375. margin: 0;
  376. }
  377. form #datadirField legend {
  378. margin-bottom: 15px;
  379. }
  380. #showAdvanced {
  381. padding: 13px;
  382. /* increase clickable area of Advanced dropdown */
  383. img {
  384. vertical-align: bottom;
  385. /* adjust position of Advanced dropdown arrow */
  386. margin-left: -4px;
  387. }
  388. }
  389. .icon-info-white {
  390. padding: 10px;
  391. }
  392. .strengthify-wrapper {
  393. display: inline-block;
  394. position: relative;
  395. left: 15px;
  396. top: -23px;
  397. width: 250px;
  398. }
  399. .tipsy-inner {
  400. font-weight: bold;
  401. color: #ccc;
  402. }
  403. input {
  404. &[type='text'], &[type='password'], &[type='email'] {
  405. border: none;
  406. font-weight: 300;
  407. }
  408. }
  409. }
  410. /* strengthify wrapper */
  411. /* tipsy for the strengthify wrapper looks better with following font settings */
  412. /* General new input field look */
  413. /* Nicely grouping input field sets */
  414. .grouptop, .groupmiddle, .groupbottom {
  415. position: relative;
  416. -webkit-user-select: none;
  417. -moz-user-select: none;
  418. -ms-user-select: none;
  419. user-select: none;
  420. }
  421. #body-login .grouptop input, .grouptop input {
  422. margin-bottom: 0 !important;
  423. border-bottom: 0 !important;
  424. border-bottom-left-radius: 0 !important;
  425. border-bottom-right-radius: 0 !important;
  426. }
  427. #body-login .groupmiddle input, .groupmiddle input {
  428. margin-top: 0 !important;
  429. margin-bottom: 0 !important;
  430. border-top: 0 !important;
  431. border-bottom: 0 !important;
  432. border-radius: 0 !important;
  433. box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1) inset !important;
  434. }
  435. #body-login .groupbottom input, .groupbottom input {
  436. margin-top: 0 !important;
  437. border-top: 0 !important;
  438. border-top-right-radius: 0 !important;
  439. border-top-left-radius: 0 !important;
  440. box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1) inset !important;
  441. }
  442. #body-login .groupbottom input[type=submit] {
  443. box-shadow: none !important;
  444. }
  445. /* keep the labels for screen readers but hide them since we use placeholders */
  446. label.infield {
  447. display: none;
  448. }
  449. #body-login {
  450. form {
  451. input[type='checkbox'] + label {
  452. position: relative;
  453. margin: 0;
  454. padding: 14px;
  455. vertical-align: middle;
  456. -webkit-user-select: none;
  457. -moz-user-select: none;
  458. -ms-user-select: none;
  459. user-select: none;
  460. }
  461. .errors {
  462. background: #fed7d7;
  463. border: 1px solid #f00;
  464. list-style-indent: inside;
  465. margin: 0 0 2em;
  466. padding: 1em;
  467. }
  468. }
  469. .success {
  470. background: #d7fed7;
  471. border: 1px solid #0f0;
  472. width: 35%;
  473. margin: 30px auto;
  474. padding: 1em;
  475. text-align: center;
  476. }
  477. #showAdvanced > img {
  478. padding: 4px;
  479. box-sizing: border-box;
  480. }
  481. p.info a, #showAdvanced {
  482. color: #fff;
  483. }
  484. #remember_login {
  485. &:hover + label, &:focus + label {
  486. opacity: .6;
  487. }
  488. }
  489. #forgot-password {
  490. &:hover, &:focus {
  491. opacity: .6;
  492. }
  493. }
  494. p.info a {
  495. &:hover, &:focus {
  496. opacity: .6;
  497. }
  498. }
  499. }
  500. /* Show password toggle */
  501. #show, #dbpassword {
  502. position: absolute;
  503. right: 1em;
  504. top: .8em;
  505. float: right;
  506. }
  507. #show, #dbpassword, #personal-show {
  508. display: none;
  509. }
  510. #show + label, #dbpassword + label {
  511. right: 21px;
  512. top: 15px !important;
  513. margin: -14px !important;
  514. padding: 14px !important;
  515. }
  516. #show:checked + label, #dbpassword:checked + label, #personal-show:checked + label {
  517. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=80)';
  518. opacity: .8;
  519. }
  520. #show + label, #dbpassword + label, #personal-show + label {
  521. position: absolute !important;
  522. height: 20px;
  523. width: 24px;
  524. background-image: url('../img/actions/toggle.svg?v=1');
  525. background-repeat: no-repeat;
  526. background-position: center;
  527. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=30)';
  528. opacity: .3;
  529. }
  530. #show + label:before, #dbpassword + label:before, #personal-show + label:before {
  531. display: none;
  532. }
  533. #pass2, input[name='personal-password-clone'] {
  534. padding-right: 30px;
  535. }
  536. .personal-show-container {
  537. position: relative;
  538. display: inline-block;
  539. margin-right: 6px;
  540. }
  541. #personal-show + label {
  542. display: block;
  543. right: 0;
  544. margin-top: -36px;
  545. padding: 6px 4px;
  546. }
  547. /* Database selector */
  548. #body-login {
  549. form #selectDbType {
  550. text-align: center;
  551. white-space: nowrap;
  552. margin: 0;
  553. .info {
  554. white-space: normal;
  555. }
  556. label {
  557. position: static;
  558. margin: 0 -3px 5px;
  559. font-size: 12px;
  560. background: #f8f8f8;
  561. color: #888;
  562. cursor: pointer;
  563. border: 1px solid #ddd;
  564. span {
  565. cursor: pointer;
  566. padding: 10px 20px;
  567. }
  568. &.ui-state-hover, &.ui-state-active {
  569. color: #000;
  570. background-color: #e8e8e8;
  571. }
  572. }
  573. }
  574. .warning, .update, .error {
  575. display: block;
  576. padding: 10px;
  577. background-color: rgba(0, 0, 0, 0.3);
  578. color: #fff;
  579. text-align: left;
  580. border-radius: 3px;
  581. cursor: default;
  582. }
  583. .update {
  584. width: inherit;
  585. text-align: center;
  586. .appList {
  587. list-style: disc;
  588. text-align: left;
  589. margin-left: 25px;
  590. margin-right: 25px;
  591. }
  592. }
  593. .v-align {
  594. width: inherit;
  595. }
  596. .update img.float-spinner {
  597. float: left;
  598. }
  599. }
  600. /* Warnings and errors are the same */
  601. #body-user .warning, #body-settings .warning {
  602. margin-top: 8px;
  603. padding: 5px;
  604. background: #fdd;
  605. border-radius: 3px;
  606. }
  607. .warning {
  608. legend, a {
  609. color: #fff !important;
  610. font-weight: 600 !important;
  611. }
  612. }
  613. .error {
  614. a {
  615. color: #fff !important;
  616. font-weight: 600 !important;
  617. &.button {
  618. color: #555 !important;
  619. display: inline-block;
  620. text-align: center;
  621. }
  622. }
  623. pre {
  624. white-space: pre-wrap;
  625. text-align: left;
  626. }
  627. }
  628. .error-wide {
  629. width: 700px;
  630. margin-left: -200px !important;
  631. .button {
  632. color: black !important;
  633. }
  634. }
  635. .warning-input {
  636. border-color: #ce3702 !important;
  637. }
  638. /* Fixes for log in page, TODO should be removed some time */
  639. #body-login {
  640. ul.error-wide {
  641. margin-top: 35px;
  642. }
  643. .warning {
  644. margin: 0 7px 5px 4px;
  645. legend {
  646. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
  647. opacity: 1;
  648. }
  649. }
  650. a.warning {
  651. cursor: pointer;
  652. }
  653. .updateProgress .error {
  654. margin-top: 10px;
  655. margin-bottom: 10px;
  656. }
  657. }
  658. /* fixes for update page TODO should be fixed some time in a proper way */
  659. /* this is just for an error while updating the ownCloud instance */
  660. /* Alternative Logins */
  661. #alternative-logins {
  662. legend {
  663. margin-bottom: 10px;
  664. }
  665. li {
  666. height: 40px;
  667. display: inline-block;
  668. white-space: nowrap;
  669. }
  670. }
  671. /* Log in and install button */
  672. #body-login input {
  673. font-size: 20px;
  674. margin: 5px;
  675. padding: 10px 10px 8px;
  676. &[type='text'], &[type='password'] {
  677. width: calc(100% - 10px); /* 5px margin */
  678. }
  679. &.login {
  680. width: 269px;
  681. background-position: right 16px center;
  682. }
  683. &[type='submit'] {
  684. padding: 10px 20px;
  685. /* larger log in and installation buttons */
  686. }
  687. }
  688. #remember_login {
  689. margin: 18px 5px 0 16px !important;
  690. }
  691. #body-login {
  692. .remember-login-container {
  693. display: inline-block;
  694. margin: 10px 0;
  695. text-align: center;
  696. width: 100%;
  697. }
  698. #forgot-password {
  699. padding: 11px;
  700. float: right;
  701. color: #fff;
  702. }
  703. .wrapper {
  704. min-height: 100%;
  705. margin: 0 auto -70px;
  706. width: 300px;
  707. }
  708. footer, .push {
  709. height: 70px;
  710. }
  711. }
  712. /* Sticky footer */
  713. /* round profile photos */
  714. .avatar, .avatardiv {
  715. border-radius: 50%;
  716. flex-shrink: 0;
  717. img {
  718. border-radius: 50%;
  719. flex-shrink: 0;
  720. }
  721. }
  722. td.avatar {
  723. border-radius: 0;
  724. }
  725. #notification-container {
  726. position: absolute;
  727. top: 0;
  728. width: 100%;
  729. text-align: center;
  730. }
  731. #notification {
  732. margin: 0 auto;
  733. max-width: 60%;
  734. z-index: 8000;
  735. background-color: #fff;
  736. border: 0;
  737. padding: 1px 8px;
  738. display: none;
  739. position: relative;
  740. top: 0;
  741. border-bottom-left-radius: 3px;
  742. border-bottom-right-radius: 3px;
  743. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=90)';
  744. opacity: .9;
  745. span {
  746. cursor: pointer;
  747. margin-left: 1em;
  748. }
  749. overflow-x: hidden;
  750. overflow-y: auto;
  751. max-height: 100px;
  752. .row {
  753. position: relative;
  754. .close {
  755. display: inline-block;
  756. vertical-align: middle;
  757. position: absolute;
  758. right: 0;
  759. top: 0;
  760. margin-top: 2px;
  761. }
  762. &.closeable {
  763. padding-right: 20px;
  764. }
  765. }
  766. }
  767. tr .action:not(.permanent), .selectedActions a {
  768. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)';
  769. opacity: 0;
  770. }
  771. tr {
  772. &:hover .action, &:focus .action, .action.permanent {
  773. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)';
  774. opacity: .5;
  775. }
  776. }
  777. .selectedActions a {
  778. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)';
  779. opacity: .5;
  780. }
  781. tr .action {
  782. width: 16px;
  783. height: 16px;
  784. }
  785. .header-action {
  786. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=80)';
  787. opacity: .8;
  788. }
  789. tr {
  790. &:hover .action:hover, &:focus .action:focus {
  791. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
  792. opacity: 1;
  793. }
  794. }
  795. .selectedActions a {
  796. &:hover, &:focus {
  797. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
  798. opacity: 1;
  799. }
  800. }
  801. .header-action {
  802. &:hover, &:focus {
  803. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
  804. opacity: 1;
  805. }
  806. }
  807. tbody tr {
  808. &:hover, &:focus, &:active {
  809. background-color: #f8f8f8;
  810. }
  811. }
  812. code {
  813. font-family: 'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono', monospace;
  814. }
  815. #quota {
  816. cursor: default;
  817. margin: 30px !important;
  818. position: relative;
  819. padding: 0 !important;
  820. div {
  821. padding: 0;
  822. background-color: rgb(220, 220, 220);
  823. font-weight: normal;
  824. white-space: nowrap;
  825. border-bottom-left-radius: 3px;
  826. border-top-left-radius: 3px;
  827. min-width: 1%;
  828. max-width: 100%;
  829. }
  830. }
  831. #quotatext {
  832. padding: .6em 1em;
  833. }
  834. #quota div.quota-warning {
  835. background-color: #fc4;
  836. }
  837. .pager {
  838. list-style: none;
  839. float: right;
  840. display: inline;
  841. margin: .7em 13em 0 0;
  842. li {
  843. display: inline-block;
  844. }
  845. }
  846. .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
  847. overflow: hidden;
  848. text-overflow: ellipsis;
  849. }
  850. .separator {
  851. display: inline;
  852. border-left: 1px solid #d3d3d3;
  853. border-right: 1px solid #fff;
  854. height: 10px;
  855. width: 0px;
  856. margin: 4px;
  857. }
  858. a.bookmarklet {
  859. background-color: #ddd;
  860. border: 1px solid #ccc;
  861. padding: 5px;
  862. padding-top: 0px;
  863. padding-bottom: 2px;
  864. text-decoration: none;
  865. margin-top: 5px;
  866. }
  867. .exception {
  868. color: #000;
  869. textarea {
  870. width: 95%;
  871. height: 200px;
  872. background: #ffe;
  873. border: 0;
  874. }
  875. }
  876. .ui-icon-circle-triangle-e {
  877. background-image: url('../img/actions/play-next.svg?v=1');
  878. }
  879. .ui-icon-circle-triangle-w {
  880. background-image: url('../img/actions/play-previous.svg?v=1');
  881. }
  882. .ui-datepicker-prev, .ui-datepicker-next {
  883. border: 1px solid #ddd;
  884. background: #fff;
  885. }
  886. /* ---- DIALOGS ---- */
  887. #oc-dialog-filepicker-content {
  888. .dirtree {
  889. width: 92%;
  890. float: left;
  891. margin-left: 15px;
  892. overflow: hidden;
  893. div:first-child a {
  894. background-image: url('../img/places/home.svg?v=1');
  895. background-repeat: no-repeat;
  896. background-position: left center;
  897. }
  898. span {
  899. &:not(:last-child) {
  900. cursor: pointer;
  901. }
  902. &:last-child {
  903. font-weight: bold;
  904. }
  905. &:not(:last-child)::after {
  906. content: '>';
  907. padding: 3px;
  908. }
  909. }
  910. }
  911. .filelist-container {
  912. box-sizing: border-box;
  913. display: inline-block;
  914. overflow-y: auto;
  915. height: 100%;
  916. /** overflow under the button row */
  917. width: 100%;
  918. }
  919. .emptycontent {
  920. color: #888;
  921. text-align: center;
  922. margin-top: 80px;
  923. width: 100%;
  924. display: none;
  925. }
  926. .filelist {
  927. background-color: white;
  928. width: 100%;
  929. }
  930. #filestable.filelist {
  931. /* prevent the filepicker to overflow */
  932. min-width: initial;
  933. margin-bottom: 50px;
  934. }
  935. .filelist {
  936. td {
  937. padding: 14px;
  938. border-bottom: 1px solid #eee;
  939. }
  940. tr:last-child td {
  941. border-bottom: none;
  942. }
  943. .filename {
  944. overflow: hidden;
  945. white-space: nowrap;
  946. text-overflow: ellipsis;
  947. background-size: 32px;
  948. background-repeat: no-repeat;
  949. padding-left: 51px;
  950. background-position: 7px 7px;
  951. cursor: pointer;
  952. }
  953. .filesize, .date {
  954. width: 80px;
  955. }
  956. .filesize {
  957. text-align: right;
  958. }
  959. }
  960. .filepicker_element_selected {
  961. background-color: lightblue;
  962. }
  963. }
  964. .ui-dialog {
  965. position: fixed !important;
  966. }
  967. span.ui-icon {
  968. float: left;
  969. margin: 3px 7px 30px 0;
  970. }
  971. .move2trash {
  972. /* decrease spinner size */
  973. width: 16px;
  974. height: 16px;
  975. }
  976. /* ---- TOOLTIPS ---- */
  977. .extra-data {
  978. padding-right: 5px !important;
  979. }
  980. .tipsy-inner {
  981. max-width: 400px !important;
  982. overflow: hidden;
  983. text-overflow: ellipsis;
  984. }
  985. /* ---- TAGS ---- */
  986. #tagsdialog {
  987. .content {
  988. width: 100%;
  989. height: 280px;
  990. }
  991. .scrollarea {
  992. overflow: auto;
  993. border: 1px solid #ddd;
  994. width: 100%;
  995. height: 240px;
  996. }
  997. .bottombuttons {
  998. width: 100%;
  999. height: 30px;
  1000. * {
  1001. float: left;
  1002. }
  1003. }
  1004. .taglist li {
  1005. background: #f8f8f8;
  1006. padding: .3em .8em;
  1007. white-space: nowrap;
  1008. overflow: hidden;
  1009. text-overflow: ellipsis;
  1010. -webkit-transition: background-color 500ms;
  1011. transition: background-color 500ms;
  1012. &:hover, &:active {
  1013. background: #eee;
  1014. }
  1015. }
  1016. .addinput {
  1017. width: 90%;
  1018. clear: both;
  1019. }
  1020. }
  1021. /* ---- APP SETTINGS - LEGACY, DO NOT USE THE POPUP! ---- */
  1022. .popup {
  1023. background-color: #fff;
  1024. border-radius: 3px;
  1025. box-shadow: 0 0 10px #aaa;
  1026. color: #333;
  1027. padding: 10px;
  1028. position: fixed !important;
  1029. z-index: 100;
  1030. &.topright {
  1031. top: 7em;
  1032. right: 1em;
  1033. }
  1034. &.bottomleft {
  1035. bottom: 1em;
  1036. left: 33em;
  1037. }
  1038. .close {
  1039. position: absolute;
  1040. top: 0.2em;
  1041. right: 0.2em;
  1042. height: 20px;
  1043. width: 20px;
  1044. background: url('../img/actions/close.svg?v=1') no-repeat center;
  1045. }
  1046. h2 {
  1047. font-size: 20px;
  1048. }
  1049. }
  1050. .arrow {
  1051. border-bottom: 10px solid white;
  1052. border-left: 10px solid transparent;
  1053. border-right: 10px solid transparent;
  1054. display: block;
  1055. height: 0;
  1056. position: absolute;
  1057. width: 0;
  1058. z-index: 201;
  1059. &.left {
  1060. left: -13px;
  1061. bottom: 1.2em;
  1062. -webkit-transform: rotate(270deg);
  1063. -ms-transform: rotate(270deg);
  1064. transform: rotate(270deg);
  1065. }
  1066. &.up {
  1067. top: -8px;
  1068. right: 6px;
  1069. }
  1070. &.down {
  1071. -webkit-transform: rotate(180deg);
  1072. -ms-transform: rotate(180deg);
  1073. transform: rotate(180deg);
  1074. }
  1075. }
  1076. /* ---- BREADCRUMB ---- */
  1077. div.crumb {
  1078. float: left;
  1079. display: block;
  1080. background-image: url('../img/breadcrumb.svg?v=1');
  1081. background-repeat: no-repeat;
  1082. background-position: right center;
  1083. height: 44px;
  1084. background-size: auto 24px;
  1085. &.hidden {
  1086. display: none;
  1087. }
  1088. a, > span {
  1089. position: relative;
  1090. top: 12px;
  1091. padding: 14px 24px 14px 17px;
  1092. color: #555;
  1093. }
  1094. &.last a {
  1095. padding-right: 0;
  1096. }
  1097. &:first-child a {
  1098. position: relative;
  1099. top: 13px;
  1100. padding-right: 14px;
  1101. }
  1102. &.last {
  1103. font-weight: 600;
  1104. margin-right: 10px;
  1105. }
  1106. &.ellipsized {
  1107. padding: 0 10px 0 5px;
  1108. }
  1109. a.ellipsislink {
  1110. padding: 0 !important;
  1111. position: relative;
  1112. top: 8px !important;
  1113. }
  1114. &:hover, &:focus, a:focus, &:active {
  1115. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)';
  1116. opacity: .7;
  1117. }
  1118. }
  1119. /* some feedback for hover/tap on breadcrumbs */
  1120. .appear {
  1121. opacity: 1;
  1122. -webkit-transition: opacity 500ms ease 0s;
  1123. -moz-transition: opacity 500ms ease 0s;
  1124. -ms-transition: opacity 500ms ease 0s;
  1125. -o-transition: opacity 500ms ease 0s;
  1126. transition: opacity 500ms ease 0s;
  1127. &.transparent {
  1128. opacity: 0;
  1129. }
  1130. }
  1131. /* public footer */
  1132. #body-public footer {
  1133. position: relative;
  1134. text-align: center;
  1135. .info {
  1136. color: #777;
  1137. text-align: center;
  1138. margin: 0 auto;
  1139. padding: 20px 0;
  1140. a {
  1141. color: #777;
  1142. font-weight: 600;
  1143. padding: 13px;
  1144. margin: -13px;
  1145. }
  1146. }
  1147. }
  1148. /* LEGACY FIX only - do not use fieldsets for settings */
  1149. fieldset {
  1150. &.warning legend, &.update legend {
  1151. top: 18px;
  1152. position: relative;
  1153. }
  1154. &.warning legend + p, &.update legend + p {
  1155. margin-top: 12px;
  1156. }
  1157. }
  1158. /* for IE10 */
  1159. @-ms-viewport {
  1160. width: device-width;
  1161. }
  1162. /* hidden input type=file field */
  1163. .hiddenuploadfield {
  1164. display: none;
  1165. width: 0;
  1166. height: 0;
  1167. opacity: 0;
  1168. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)';
  1169. }