You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

styles.scss 22KB

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