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,40 +1,39 @@
h2 h2 {
{ font-size:2em;
font-size: 2em; font-weight:700;
font-weight: bold; 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;
font-size: 1.2em; font-size:1.2em;
margin: .7em; margin:.7em;
padding: 0; padding:0;
} }

View File

@ -2,60 +2,58 @@
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; border-bottom-right-radius:.5em;
border-bottom-right-radius: .5em; border-top:none;
border-top: none; box-shadow:0 1px 1px #ddd;
box-shadow: 0 1px 1px #ddd; padding-top:.5em;
padding-top: .5em; 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-block;
display: inline; max-width:400px;
display: inline-block; min-width:100px;
max-width: 400px; padding-right:.6em;
min-width: 100px; position:relative;
padding-right: .6em; vertical-align:bottom;
position: relative; }
vertical-align: bottom;
} div.multiselect.active {
div.multiselect.active background-color:#fff;
{ border-bottom:none;
background-color: #fff; border-bottom-left-radius:0;
border-bottom: none; border-bottom-right-radius:0;
border-bottom-left-radius: 0; position:relative;
border-bottom-right-radius: 0; z-index:50;
position: relative; }
z-index: 50;
} div.multiselect>span:first-child {
div.multiselect>span:first-child float:left;
{ margin-right:2em;
float: left; overflow:hidden;
margin-right: 2em; text-overflow:ellipsis;
overflow: hidden; width:90%;
text-overflow: ellipsis; }
width: 90%;
} div.multiselect>span:last-child {
div.multiselect>span:last-child position:absolute;
{ right:.8em;
position: absolute; }
right: .8em;
} ul.multiselectoptions input.new {
ul.multiselectoptions input.new border-top-left-radius:0;
{ border-top-right-radius:0;
border-top-left-radius: 0; padding-bottom:.2em;
border-top-right-radius: 0; 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; position:absolute;
padding: 1em; right:0;
position: absolute; width:19em;
right: 0; z-index:500;
width: 19em; padding:1em;
z-index: 500; }
}
.reshare #shareWithList {
{ list-style-type:none;
padding-left: 0.5em; padding:.5em;
} }
#shareWithList
{ #shareWithList li {
list-style-type: none; padding-top:.1em;
padding: 0.5em; }
}
#shareWithList li #dropdown label {
{ font-weight:400;
padding-top: 0.1em; }
}
#dropdown label #dropdown input[type="checkbox"] {
{ margin:0 .2em 0 .5em;
font-weight: normal; }
}
#dropdown input[type="checkbox"] a.showCruds {
{ display:inline;
margin: 0 0.2em 0 0.5em; opacity:.5;
} }
a.showCruds
{ a.unshare {
display: inline; display:inline;
opacity: .5; float:right;
} opacity:.5;
a.showCruds:hover padding:.3em 0 0 .3em !important;
{ }
opacity: 1;
} #link {
a.unshare border-top:1px solid #ddd;
{ padding-top:.5em;
display: inline; }
float: right;
opacity: .5; #dropdown input[type="text"],#dropdown input[type="password"] {
padding: .3em 0 0 .3em !important; width:90%;
} }
a.unshare:hover
{ #linkText,#linkPass,#expiration {
opacity: 1; display:none;
} }
#link
{ #link #showPassword img {
border-top: 1px solid #ddd; padding-left:.3em;
padding-top: 0.5em; width:12px;
} }
#dropdown input[type="text"], #dropdown input[type="password"]
{ .reshare,#link label,#expiration label {
width: 90%; padding-left:.5em;
} }
#linkText, #linkPass, #expiration
{ a.showCruds:hover,a.unshare:hover {
display: none; opacity:1;
} }
#link #showPassword img
{
padding-left: 0.3em;
width: 12px;
}
#link label, #expiration label
{
padding-left: 0.5em;
}

View File

@ -2,64 +2,63 @@
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; list-style:none;
list-style: none; max-height:80%;
max-height: 80%; overflow:hidden;
overflow: hidden; padding-bottom:1em;
padding-bottom: 1em; position:fixed;
position: fixed; right:0;
right: 0; text-overflow:ellipsis;
text-overflow: ellipsis; top:3.5em;
top: 3.5em; 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:700;
font-weight: bold; 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 {
{ vertical-align:top;
padding: 0 .3em; padding:0 .3em;
vertical-align: top; }
}
#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:700;
font-weight: bold; text-align:right;
text-align: right; width:3.5em;
width: 3.5em; }
}
#searchresults tr.current #searchresults tr.current {
{ background-color:#ddd;
background-color: #ddd; }
}