Place the brackets in the first line

This commit is contained in:
Lukas Reschke 2012-10-24 13:09:05 +02:00
parent 4c234bd666
commit 916e0fc343
5 changed files with 274 additions and 288 deletions

View File

@ -1,71 +1,70 @@
body body {
{
background:#ddd; background:#ddd;
} }
#header
{ #header {
background:#1d2d44; background:#1d2d44;
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;
height:2.5em; height:2.5em;
left:0; left:0;
line-height:2.5em; line-height:2.5em;
padding: .5em;
position:fixed; position:fixed;
right:0; right:0;
top:0; top:0;
z-index:100; z-index:100;
padding:.5em;
} }
#details
{ #details {
color:#fff; color:#fff;
} }
#header #download
{ #header #download {
font-weight: bold; font-weight:700;
margin-left:2em; margin-left:2em;
} }
#header #download img
{ #header #download img {
padding-left: 0.1em; padding-left:.1em;
padding-right: 0.3em; padding-right:.3em;
vertical-align:text-bottom; vertical-align:text-bottom;
} }
#preview
{ #preview {
background:#eee; background:#eee;
border-bottom:1px solid #f8f8f8; border-bottom:1px solid #f8f8f8;
margin: 50px auto;
min-height:30em; min-height:30em;
padding-top:2em; padding-top:2em;
text-align:center; text-align:center;
margin:50px auto;
} }
#noPreview
{ #noPreview {
display:none; display:none;
padding-top:5em; padding-top:5em;
} }
p.info
{ p.info {
color:#777; color:#777;
margin: 2em auto;
text-align:center; text-align:center;
text-shadow:#fff 0 1px 0; text-shadow:#fff 0 1px 0;
width:22em; width:22em;
margin:2em auto;
} }
p.info a
{ p.info a {
color:#777; color:#777;
font-weight: bold; font-weight:700;
} }
#imgframe
{ #imgframe {
height:75%; height:75%;
margin: 0 auto;
padding-bottom:2em; padding-bottom:2em;
width:80%; width:80%;
margin:0 auto;
} }
#imgframe img
{ #imgframe img {
max-height:100%; max-height:100%;
max-width:100%; max-width:100%;
} }

View File

@ -1,36 +1,35 @@
h2 h2 {
{
font-size:2em; font-size:2em;
font-weight: bold; font-weight:700;
margin-bottom:1em; margin-bottom:1em;
white-space:nowrap; white-space:nowrap;
} }
ul.scopes
{ ul.scopes {
list-style:disc; list-style:disc;
} }
ul.scopes li
{ ul.scopes li {
white-space:nowrap; white-space:nowrap;
} }
h2 img
{ h2 img {
width:50%; width:50%;
} }
#oauth
{ #oauth {
margin: 4em auto 2em;
width:20em; width:20em;
margin:4em auto 2em;
} }
#allow-auth
{ #allow-auth {
background-color:#5c3; background-color:#5c3;
box-shadow:0 1px 1px #fff, 0 1px 1px #5f3 inset; box-shadow:0 1px 1px #fff, 0 1px 1px #5f3 inset;
color:#fff; color:#fff;
text-shadow:#5e3 0 1px 0; text-shadow:#5e3 0 1px 0;
} }
#deny-auth
{ #deny-auth {
background:none; background:none;
border:0; border:0;
box-shadow:0 0 0 #fff, 0 0 0 #fff inset; box-shadow:0 0 0 #fff, 0 0 0 #fff inset;

View File

@ -2,8 +2,7 @@
This file is licensed under the Affero General Public License version 3 or later. This file is licensed under the Affero General Public License version 3 or later.
See the COPYING-README file. */ See the COPYING-README file. */
ul.multiselectoptions ul.multiselectoptions {
{
background-color:#fff; background-color:#fff;
border:1px solid #ddd; border:1px solid #ddd;
border-bottom-left-radius:.5em; border-bottom-left-radius:.5em;
@ -14,14 +13,13 @@ ul.multiselectoptions
position:absolute; position:absolute;
z-index:49; z-index:49;
} }
ul.multiselectoptions>li
{ ul.multiselectoptions>li {
overflow:hidden; overflow:hidden;
white-space:nowrap; white-space:nowrap;
} }
div.multiselect
{ div.multiselect {
display: inline;
display:inline-block; display:inline-block;
max-width:400px; max-width:400px;
min-width:100px; min-width:100px;
@ -29,8 +27,8 @@ div.multiselect
position:relative; position:relative;
vertical-align:bottom; vertical-align:bottom;
} }
div.multiselect.active
{ div.multiselect.active {
background-color:#fff; background-color:#fff;
border-bottom:none; border-bottom:none;
border-bottom-left-radius:0; border-bottom-left-radius:0;
@ -38,24 +36,24 @@ div.multiselect.active
position:relative; position:relative;
z-index:50; z-index:50;
} }
div.multiselect>span:first-child
{ div.multiselect>span:first-child {
float:left; float:left;
margin-right:2em; margin-right:2em;
overflow:hidden; overflow:hidden;
text-overflow:ellipsis; text-overflow:ellipsis;
width:90%; width:90%;
} }
div.multiselect>span:last-child
{ div.multiselect>span:last-child {
position:absolute; position:absolute;
right:.8em; right:.8em;
} }
ul.multiselectoptions input.new
{ ul.multiselectoptions input.new {
border-top-left-radius:0; border-top-left-radius:0;
border-top-right-radius:0; border-top-right-radius:0;
padding-bottom:.2em;
padding-top:.2em;
margin:0; margin:0;
padding-bottom: 0.2em;
padding-top: 0.2em;
} }

View File

@ -2,80 +2,71 @@
This file is licensed under the Affero General Public License version 3 or later. This file is licensed under the Affero General Public License version 3 or later.
See the COPYING-README file. */ See the COPYING-README file. */
#dropdown #dropdown {
{
background:#eee; background:#eee;
border-bottom-left-radius:1em; border-bottom-left-radius:1em;
border-bottom-right-radius:1em; border-bottom-right-radius:1em;
box-shadow:0 1px 1px #777; box-shadow:0 1px 1px #777;
display:block; display:block;
margin-right:7em; margin-right:7em;
padding: 1em;
position:absolute; position:absolute;
right:0; right:0;
width:19em; width:19em;
z-index:500; z-index:500;
padding:1em;
} }
.reshare
{ #shareWithList {
padding-left: 0.5em;
}
#shareWithList
{
list-style-type:none; list-style-type:none;
padding: 0.5em; padding:.5em;
} }
#shareWithList li
{ #shareWithList li {
padding-top: 0.1em; padding-top:.1em;
} }
#dropdown label
{ #dropdown label {
font-weight: normal; font-weight:400;
} }
#dropdown input[type="checkbox"]
{ #dropdown input[type="checkbox"] {
margin: 0 0.2em 0 0.5em; margin:0 .2em 0 .5em;
} }
a.showCruds
{ a.showCruds {
display:inline; display:inline;
opacity:.5; opacity:.5;
} }
a.showCruds:hover
{ a.unshare {
opacity: 1;
}
a.unshare
{
display:inline; display:inline;
float:right; float:right;
opacity:.5; opacity:.5;
padding:.3em 0 0 .3em !important; padding:.3em 0 0 .3em !important;
} }
a.unshare:hover
{ #link {
opacity: 1;
}
#link
{
border-top:1px solid #ddd; border-top:1px solid #ddd;
padding-top: 0.5em; padding-top:.5em;
} }
#dropdown input[type="text"], #dropdown input[type="password"]
{ #dropdown input[type="text"],#dropdown input[type="password"] {
width:90%; width:90%;
} }
#linkText, #linkPass, #expiration
{ #linkText,#linkPass,#expiration {
display:none; display:none;
} }
#link #showPassword img
{ #link #showPassword img {
padding-left: 0.3em; padding-left:.3em;
width:12px; width:12px;
} }
#link label, #expiration label
{ .reshare,#link label,#expiration label {
padding-left: 0.5em; padding-left:.5em;
}
a.showCruds:hover,a.unshare:hover {
opacity:1;
} }

View File

@ -2,8 +2,7 @@
This file is licensed under the Affero General Public License version 3 or later. This file is licensed under the Affero General Public License version 3 or later.
See the COPYING-README file. */ See the COPYING-README file. */
#searchresults #searchresults {
{
background-color:#fff; background-color:#fff;
border-bottom-left-radius:1em; border-bottom-left-radius:1em;
box-shadow:0 0 10px #000; box-shadow:0 0 10px #000;
@ -18,48 +17,48 @@
width:26.5em; width:26.5em;
z-index:75; z-index:75;
} }
#searchresults li.resultHeader
{ #searchresults li.resultHeader {
background-color:#eee; background-color:#eee;
border-bottom:solid 1px #CCC; border-bottom:solid 1px #CCC;
font-size:1.2em; font-size:1.2em;
font-weight: bold; font-weight:700;
padding:.2em; padding:.2em;
} }
#searchresults li.result
{ #searchresults li.result {
margin-left:2em; margin-left:2em;
} }
#searchresults table
{ #searchresults table {
border-spacing:0; border-spacing:0;
table-layout:fixed; table-layout:fixed;
top:0; top:0;
width:100%; width:100%;
} }
#searchresults td
{ #searchresults td {
padding: 0 .3em;
vertical-align:top; vertical-align:top;
padding:0 .3em;
} }
#searchresults td.result div.text
{ #searchresults td.result div.text {
padding-left:1em; padding-left:1em;
white-space:nowrap; white-space:nowrap;
} }
#searchresults td.result *
{ #searchresults td.result * {
cursor:pointer; cursor:pointer;
} }
#searchresults td.type
{ #searchresults td.type {
border-bottom:none; border-bottom:none;
border-right:1px solid #aaa; border-right:1px solid #aaa;
font-weight: bold; font-weight:700;
text-align:right; text-align:right;
width:3.5em; width:3.5em;
} }
#searchresults tr.current
{ #searchresults tr.current {
background-color:#ddd; background-color:#ddd;
} }