styles.scss 22 KB

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