styles.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. /* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
  2. This file is licensed under the Affero General Public License version 3 or later.
  3. See the COPYING-README file. */
  4. html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section { margin:0; padding:0; border:0; outline:0; font-weight:inherit; font-size:100%; font-family:inherit; vertical-align:baseline; cursor:default; }
  5. html, body { height: 100%; overflow: auto; }
  6. article, aside, dialog, figure, footer, header, hgroup, nav, section { display:block; }
  7. body { line-height:1.5; }
  8. table { border-collapse:separate; border-spacing:0; white-space:nowrap; }
  9. caption, th, td { text-align:left; font-weight:normal; }
  10. table, td, th { vertical-align:middle; }
  11. a { border:0; color:#000; text-decoration:none;}
  12. a, a *, input, input *, select, .button span, li, label { cursor:pointer; }
  13. ul { list-style:none; }
  14. body { background:#fefefe; font:normal .8em/1.6em "Lucida Grande", Arial, Verdana, sans-serif; color:#000; }
  15. /* HEADERS */
  16. #body-user #header, #body-settings #header { position:fixed; top:0; left:0; right:0; z-index:100; height:2.5em; line-height:2.5em; padding:.5em; background:#1d2d44; -moz-box-shadow:0 0 10px rgba(0, 0, 0, .5), inset 0 -2px 10px #222; -webkit-box-shadow:0 0 10px rgba(0, 0, 0, .5), inset 0 -2px 10px #222; box-shadow:0 0 10px rgba(0, 0, 0, .5), inset 0 -2px 10px #222; }
  17. #body-login #header { margin: -2em auto 0; text-align:center; height:10em; padding:1em 0 .5em;
  18. -moz-box-shadow:0 0 1em rgba(0, 0, 0, .5); -webkit-box-shadow:0 0 1em rgba(0, 0, 0, .5); box-shadow:0 0 1em rgba(0, 0, 0, .5);
  19. background: #1d2d44; /* Old browsers */
  20. background: -moz-linear-gradient(top, #35537a 0%, #1d2d42 100%); /* FF3.6+ */
  21. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#35537a), color-stop(100%,#1d2d42)); /* Chrome,Safari4+ */
  22. background: -webkit-linear-gradient(top, #35537a 0%,#1d2d42 100%); /* Chrome10+,Safari5.1+ */
  23. background: -o-linear-gradient(top, #35537a 0%,#1d2d42 100%); /* Opera11.10+ */
  24. background: -ms-linear-gradient(top, #35537a 0%,#1d2d42 100%); /* IE10+ */
  25. background: linear-gradient(top, #35537a 0%,#1d2d42 100%); /* W3C */
  26. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#35537a', endColorstr='#1d2d42',GradientType=0 ); /* IE6-9 */ }
  27. #owncloud { float:left; vertical-align:middle; }
  28. .header-right { float:right; vertical-align:middle; padding:0 0.5em; }
  29. .header-right > * { vertical-align:middle; }
  30. /* INPUTS */
  31. input[type="text"], input[type="password"] { cursor:text; }
  32. input, textarea, select, button, .button, #quota, div.jp-progress, .pager li a { font-size:1em; width:10em; margin:.3em; padding:.6em .5em .4em; background:#fff; color:#333; border:1px solid #ddd; -moz-box-shadow:0 1px 1px #fff, 0 2px 0 #bbb inset; -webkit-box-shadow:0 1px 1px #fff, 0 1px 0 #bbb inset; box-shadow:0 1px 1px #fff, 0 1px 0 #bbb inset; -moz-border-radius:.5em; -webkit-border-radius:.5em; border-radius:.5em; outline:none; }
  33. input[type="text"], input[type="password"], input[type="search"] { background:#f8f8f8; color:#555; cursor:text; }
  34. input[type="text"], input[type="password"], input[type="search"] { -webkit-appearance:textfield; -moz-appearance:textfield; -webkit-box-sizing:content-box; -moz-box-sizing:content-box; box-sizing:content-box; }
  35. input[type="text"]:hover, input[type="text"]:focus, input[type="text"]:active,
  36. input[type="password"]:hover, input[type="password"]:focus, input[type="password"]:active,
  37. .searchbox input[type="search"]:hover, .searchbox input[type="search"]:focus, .searchbox input[type="search"]:active { background-color:#fff; color:#333; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; }
  38. input[type="submit"], input[type="button"], button, .button, #quota, div.jp-progress, select, .pager li a { width:auto; padding:.4em; border:1px solid #ddd; font-weight:bold; cursor:pointer; background:#f8f8f8; color:#555; text-shadow:#fff 0 1px 0; -moz-box-shadow:0 1px 1px #fff, 0 1px 1px #fff inset; -webkit-box-shadow:0 1px 1px #fff, 0 1px 1px #fff inset; -moz-border-radius:.5em; -webkit-border-radius:.5em; border-radius:.5em; }
  39. input[type="submit"]:hover, input[type="submit"]:focus, input[type="button"]:hover, select:hover, select:focus, select:active, input[type="button"]:focus, .button:hover { background:#fff; color:#333; }
  40. input[type="checkbox"] { width:auto; }
  41. #quota { cursor:default; }
  42. #body-login input { font-size:1.5em; }
  43. #body-login input[type="text"], #body-login input[type="password"] { width: 13em; }
  44. #body-login input.login { width: auto; float: right; }
  45. #remember_login { margin:.8em .2em 0 1em; }
  46. .searchbox input[type="search"] { font-size:1.2em; padding:.2em .5em .2em 1.5em; background:#fff url('../img/actions/search.svg') no-repeat .5em center; border:0; -moz-border-radius:1em; -webkit-border-radius:1em; border-radius:1em; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; filter:alpha(opacity=70);opacity:.7; -webkit-transition:opacity 300ms; -moz-transition:opacity 300ms; -o-transition:opacity 300ms; transition:opacity 300ms; }
  47. input[type="submit"].enabled { background:#66f866; border:1px solid #5e5; -moz-box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #cfc inset; -webkit-box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #cfc inset; box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #cfc inset; }
  48. input[type="submit"].highlight{ background:#ffc100; border:1px solid #db0; text-shadow:#ffeedd 0 1px 0; -moz-box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #ffeedd inset; -webkit-box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #ffeedd inset; box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #ffeedd inset; }
  49. #select_all{ margin-top: .4em !important;}
  50. /* CONTENT ------------------------------------------------------------------ */
  51. #controls { padding: 0 0.5em; width:100%; top:3.5em; height:2.8em; margin:0; background:#f7f7f7; border-bottom:1px solid #eee; position:fixed; z-index:50; -moz-box-shadow:0 -3px 7px #000; -webkit-box-shadow:0 -3px 7px #000; box-shadow:0 -3px 7px #000; }
  52. #controls .button { display:inline-block; }
  53. #content { top: 3.5em; left: 12.5em; position: absolute; }
  54. #leftcontent, .leftcontent { position:fixed; overflow: auto; top:6.4em; width:20em; background:#f8f8f8; border-right:1px solid #ddd; }
  55. #leftcontent li, .leftcontent li { background:#f8f8f8; padding:.5em .8em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; -webkit-transition:background-color 200ms; -moz-transition:background-color 200ms; -o-transition:background-color 200ms; transition:background-color 200ms; }
  56. #leftcontent li:hover, #leftcontent li:active, #leftcontent li.active, .leftcontent li:hover, .leftcontent li:active, .leftcontent li.active { background:#eee; }
  57. #leftcontent li.active, .leftcontent li.active { font-weight:bold; }
  58. #leftcontent li:hover, .leftcontent li:hover { color:#333; background:#ddd; }
  59. #leftcontent a { height: 100%; display: block; margin: 0; padding: 0 1em 0 0; float: left; }
  60. #rightcontent, .rightcontent { position:fixed; top: 6.4em; left: 32.5em; overflow: auto }
  61. /* LOG IN & INSTALLATION ------------------------------------------------------------ */
  62. #body-login { background:#ddd; }
  63. #body-login div.buttons { text-align: center; }
  64. #body-login p.info { width:22em; text-align: center; margin:2em auto; color:#777; text-shadow:#fff 0 1px 0; }
  65. #body-login p.info a { font-weight:bold; color:#777; }
  66. #login { min-height:30em; margin:2em auto 0; border-bottom:1px solid #f8f8f8; background:#eee; }
  67. #login form { width:22em; margin:2em auto 2em; padding:0; }
  68. #login form fieldset { background:0; border:0; margin-bottom:2em; padding:0; }
  69. #login form fieldset legend { font-weight:bold; }
  70. #login form label { margin:.95em 0 0 .85em; color:#666; }
  71. /* NEEDED FOR INFIELD LABELS */
  72. p.infield { position: relative; }
  73. label.infield { cursor: text !important; }
  74. #login form label.infield { position:absolute; font-size:1.5em; color:#AAA; }
  75. #login #dbhostlabel, #login #directorylabel { display:block; margin:.95em 0 .8em -8em; }
  76. #login form input[type="checkbox"]+label { position:relative; margin:0; font-size:1em; text-shadow:#fff 0 1px 0; }
  77. #login form .errors { background:#fed7d7; border:1px solid #f00; list-style-indent:inside; margin:0 0 2em; padding:1em; }
  78. #login form #selectDbType { text-align:center; }
  79. #login form #selectDbType label { position:static; font-size:1em; margin:0 -.3em 1em; cursor:pointer; padding:.4em; border:1px solid #ddd; font-weight:bold; background:#f8f8f8; color:#555; text-shadow:#eee 0 1px 0; -moz-box-shadow:0 1px 1px #fff, 0 1px 1px #fff inset; -webkit-box-shadow:0 1px 1px #fff, 0 1px 1px #fff inset; }
  80. #login form #selectDbType label span { cursor:pointer; font-size:0.9em; }
  81. #login form #selectDbType label.ui-state-hover span, #login form #selectDbType label.ui-state-active span { color:#000; }
  82. #login form #selectDbType label.ui-state-hover, #login form #selectDbType label.ui-state-active { color: #333; background-color: #ccc; }
  83. /* NAVIGATION ------------------------------------------------------------- */
  84. #navigation { position:fixed; top:3.5em; float:left; width:12.5em; padding:0; z-index:75; height:100%; background:#eee; border-right: 1px #ccc solid; -moz-box-shadow: -3px 0 7px #000; -webkit-box-shadow: -3px 0 7px #000; box-shadow: -3px 0 7px #000; overflow:hidden;}
  85. #navigation a { display:block; padding:.6em .5em .4em 2.5em; background:#eee 1em center no-repeat; border-bottom:1px solid #ddd; border-top:1px solid #fff; text-decoration:none; font-size:1.2em; color:#666; text-shadow:#f8f8f8 0 1px 0; }
  86. #navigation a.active, #navigation a:hover, #navigation a:focus { background-color:#dbdbdb; border-top:1px solid #d4d4d4; border-bottom:1px solid #ccc; color:#333; }
  87. #navigation a.active { background-color:#ddd; }
  88. #navigation #settings { position:absolute; bottom:3.5em; width:100%; }
  89. #expand { position:relative; z-index:100; margin-bottom:-.5em; padding:.5em 10.1em .7em 1.2em; cursor:pointer; }
  90. #expand+span { position:absolute; z-index:99; margin:-1.7em 0 0 2.5em; font-size:1.2em; color:#666; text-shadow:#f8f8f8 0 1px 0; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter:alpha(opacity=0); opacity:0; -webkit-transition:opacity 300ms; -moz-transition:opacity 300ms; -o-transition:opacity 300ms; transition:opacity 300ms; }
  91. #expand:hover+span, #expand+span:hover { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; cursor:pointer; }
  92. /* VARIOUS REUSABLE SELECTORS */
  93. .hidden { display:none; }
  94. .bold { font-weight: bold; }
  95. .center { text-align: center; }
  96. #notification { z-index:101; background-color:#fc4; border:0; padding:0 .7em .3em; display:none; position:fixed; left:50%; top:0; -moz-border-radius-bottomleft:1em; -webkit-border-bottom-left-radius:1em; border-bottom-left-radius:1em; -moz-border-radius-bottomright:1em; -webkit-border-bottom-right-radius:1em; border-bottom-right-radius:1em; }
  97. #notification span { cursor:pointer; font-weight:bold; margin-left:1em; }
  98. .action, .selectedActions a { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; filter:alpha(opacity=50); opacity:.5; -webkit-transition:opacity 200ms; -moz-transition:opacity 200ms; -o-transition:opacity 200ms; transition:opacity 200ms; }
  99. .action { width: 16px; height: 16px; }
  100. .header-action { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; filter:alpha(opacity=80); opacity:.8; }
  101. .action:hover, .selectedActions a:hover, .header-action:hover { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; }
  102. table:not(.nostyle) tr { -webkit-transition:background-color 200ms; -moz-transition:background-color 200ms; -o-transition:background-color 200ms; transition:background-color 200ms; }
  103. tbody tr:hover, tr:active { background-color:#f8f8f8; }
  104. #body-settings .personalblock, #body-settings .helpblock { padding:.5em 1em; margin:1em; background:#f8f8f8; color:#555; text-shadow:#fff 0 1px 0; -moz-border-radius:.5em; -webkit-border-radius:.5em; border-radius:.5em; }
  105. #body-settings .personalblock#quota { position:relative; padding:0; }
  106. #body-settings #controls+.helpblock { position:relative; margin-top: 3em; }
  107. .personalblock > legend { margin-top:2em; }
  108. .personalblock > legend, th, dt, label { font-weight: bold; }
  109. code { font-family: "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", monospace; }
  110. #quota div, div.jp-play-bar, div.jp-seek-bar { padding:0; background:#e6e6e6; font-weight:normal; white-space:nowrap; -moz-border-radius-bottomleft:.4em; -webkit-border-bottom-left-radius:.4em; border-bottom-left-radius:.4em; -moz-border-radius-topleft:.4em; -webkit-border-top-left-radius:.4em; border-top-left-radius:.4em; }
  111. #quotatext {padding: .6em 1em;}
  112. div.jp-play-bar, div.jp-seek-bar { padding:0; }
  113. .pager { list-style:none; float:right; display:inline; margin:.7em 13em 0 0; }
  114. .pager li { display:inline-block; }
  115. li.error { width:640px; margin:4em auto; padding:1em 1em 1em 4em; background:#ffe .8em .8em no-repeat; color: #FF3B3B; border:1px solid #ccc; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; }
  116. .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { overflow: hidden; text-overflow: ellipsis; }
  117. .hint { background-image: url('../img/actions/info.png'); background-repeat:no-repeat; color: #777777; padding-left: 25px; background-position: 0 0.3em;}
  118. .separator { display: inline; border-left: 1px solid #d3d3d3; border-right: 1px solid #fff; height: 10px; width:0px; margin: 4px; }
  119. a.bookmarklet { background-color: #ddd; border:1px solid #ccc; padding: 5px;padding-top: 0px;padding-bottom: 2px; text-decoration: none; margin-top: 5px }
  120. .exception{color: #000000;}
  121. .exception textarea{width:95%;height: 200px;background:#ffe;border:0;}
  122. /* ---- DIALOGS ---- */
  123. #dirtree {width: 100%;}
  124. #filelist {height: 270px; overflow:scroll; background-color: white; width: 100%;}
  125. .filepicker_element_selected { background-color: lightblue;}
  126. .filepicker_loader {height: 120px; width: 100%; background-color: #333; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; filter:alpha(opacity=30); opacity:.3; visibility: visible; position:absolute; top:0; left:0; text-align:center; padding-top: 150px;}
  127. /* ---- CATEGORIES ---- */
  128. #categoryform .scrollarea { position: absolute; left: 10px; top: 10px; right: 10px; bottom: 50px; overflow: auto; border:1px solid #ddd; background: #f8f8f8; }
  129. #categoryform .bottombuttons { position: absolute; bottom: 10px;}
  130. #categoryform .bottombuttons * { float: left;}
  131. /*#categorylist { border:1px solid #ddd;}*/
  132. #categorylist 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; }
  133. #categorylist li:hover, li:active { background:#eee; }
  134. #category_addinput { width: 10em; }
  135. /* ---- APP SETTINGS ---- */
  136. .popup { background-color: white; border-radius: 10px 10px 10px 10px; box-shadow: 0 0 20px #888888; color: #333333; padding: 10px; position: fixed !important; z-index: 200; }
  137. .popup.topright { top: 7em; right: 1em; }
  138. .popup.bottomleft { bottom: 1em; left: 33em; }
  139. .popup .close { position:absolute; top: 0.2em; right:0.2em; height: 20px; width: 20px; background:url('../img/actions/delete.svg') no-repeat center; }
  140. .popup h2 { font-weight: bold; font-size: 1.2em; }
  141. .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; }
  142. .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); }
  143. .arrow.up { top: -8px; right: 2em; }
  144. .arrow.down { -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); -o-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg); }