Advertisement
Guest User

css between styles.css exemaple and my theme

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