Form cleanup
This commit is contained in:
parent
3b43cb33cb
commit
cf3897c4aa
2 changed files with 44 additions and 46 deletions
|
@ -5,6 +5,7 @@ $typeheight: 14px;
|
||||||
$offwhite: #f4f4ff;
|
$offwhite: #f4f4ff;
|
||||||
$blue: #7092FF;
|
$blue: #7092FF;
|
||||||
$grey: #AAA;
|
$grey: #AAA;
|
||||||
|
$keyline: #CCC;
|
||||||
$hovercolor: 20%;
|
$hovercolor: 20%;
|
||||||
|
|
||||||
/* Styles common to large and small screens */
|
/* Styles common to large and small screens */
|
||||||
|
@ -36,7 +37,7 @@ li { list-style: none; }
|
||||||
input,
|
input,
|
||||||
select,
|
select,
|
||||||
textarea,
|
textarea,
|
||||||
body { font: $typeheight/$lineheight "Helvetica Neue",Arial,sans-serif; }
|
body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
|
||||||
|
|
||||||
abbr, acronym {
|
abbr, acronym {
|
||||||
border-bottom: .1em dotted;
|
border-bottom: .1em dotted;
|
||||||
|
@ -287,19 +288,19 @@ table {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
padding: $lineheight/4 0 $lineheight/4 0;
|
padding: $lineheight/4 0 $lineheight/4 0;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
li:last-child h4 {
|
li:last-child h4 {
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
|
@ -339,7 +340,7 @@ table {
|
||||||
form {
|
form {
|
||||||
width: 165px;
|
width: 165px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="text"] {
|
input[type="text"] {
|
||||||
width: 165px;
|
width: 165px;
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
|
@ -349,12 +350,12 @@ table {
|
||||||
padding: 2px 0px 2px $lineheight/4;
|
padding: 2px 0px 2px $lineheight/4;
|
||||||
box-shadow: inset #DDD 0px 1px 3px;
|
box-shadow: inset #DDD 0px 1px 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="text"]:focus {
|
input[type="text"]:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
border: 1px solid #000;
|
border: 1px solid #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="submit"] {
|
input[type="submit"] {
|
||||||
border: 0;
|
border: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -573,7 +574,7 @@ table {
|
||||||
z-index: 10000;
|
z-index: 10000;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
border: 1px solid #cccccc;
|
border: 1px solid $keyline;
|
||||||
border-top: 0px;
|
border-top: 0px;
|
||||||
ul {
|
ul {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
|
@ -609,7 +610,7 @@ table {
|
||||||
top: 0px;
|
top: 0px;
|
||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
left: 0px;
|
left: 0px;
|
||||||
border-right: 1px solid #ccc;
|
border-right: 1px solid $keyline;
|
||||||
width: 33.3333%;
|
width: 33.3333%;
|
||||||
.sidebar_heading {
|
.sidebar_heading {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -623,6 +624,9 @@ table {
|
||||||
}
|
}
|
||||||
ul {
|
ul {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
&:last-child {
|
||||||
|
border-bottom: 1px solid #ccc;
|
||||||
|
}
|
||||||
li {
|
li {
|
||||||
margin-bottom: $lineheight/4;
|
margin-bottom: $lineheight/4;
|
||||||
&:last-child {
|
&:last-child {
|
||||||
|
@ -643,7 +647,7 @@ table {
|
||||||
|
|
||||||
#sidebar_content {
|
#sidebar_content {
|
||||||
position: relative;
|
position: relative;
|
||||||
bottom: 0;
|
margin-bottom: 20px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
h4 {
|
h4 {
|
||||||
padding: 0 $lineheight $lineheight/2 $lineheight;
|
padding: 0 $lineheight $lineheight/2 $lineheight;
|
||||||
|
@ -656,7 +660,7 @@ table {
|
||||||
/* Rules for the map key which appears in the popout sidebar */
|
/* Rules for the map key which appears in the popout sidebar */
|
||||||
|
|
||||||
#mapkey {
|
#mapkey {
|
||||||
padding: $lineheight;
|
padding: $lineheight $lineheight 0 $lineheight;
|
||||||
.mapkey-table-key img {
|
.mapkey-table-key img {
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
@ -753,21 +757,6 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.export_buttons {
|
|
||||||
width: 100%;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
#drag_box {
|
|
||||||
display: inline;
|
|
||||||
padding: $lineheight/2 $lineheight;
|
|
||||||
}
|
|
||||||
|
|
||||||
#export_commit {
|
|
||||||
width: 50%;
|
|
||||||
margin: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Rules for the main content area */
|
/* Rules for the main content area */
|
||||||
|
|
||||||
#content {
|
#content {
|
||||||
|
@ -1009,28 +998,28 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
|
||||||
font-size: $lineheight/2;
|
font-size: $lineheight/2;
|
||||||
border-width: 0px;
|
border-width: 0px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
|
||||||
.trace_summary {
|
.trace_summary {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: gray;
|
color: gray;
|
||||||
}
|
}
|
||||||
|
|
||||||
.trace_pending {
|
.trace_pending {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
.trace_public {
|
.trace_public {
|
||||||
color: green;
|
color: green;
|
||||||
}
|
}
|
||||||
|
|
||||||
.trace_identifiable {
|
.trace_identifiable {
|
||||||
color: green;
|
color: green;
|
||||||
}
|
}
|
||||||
|
|
||||||
.trace_trackable {
|
.trace_trackable {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
.trace_private {
|
.trace_private {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
@ -1115,7 +1104,7 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
|
||||||
margin-left: 60px;
|
margin-left: 60px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
img.user_thumbnail {
|
img.user_thumbnail {
|
||||||
float: left;
|
float: left;
|
||||||
margin: 0 $lineheight/2 0 0;
|
margin: 0 $lineheight/2 0 0;
|
||||||
|
@ -1131,7 +1120,7 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
|
||||||
tr {
|
tr {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
|
@ -1247,21 +1236,21 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
|
||||||
margin-bottom: $lineheight;
|
margin-bottom: $lineheight;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
height: 10em;
|
height: 10em;
|
||||||
|
|
||||||
&:p#last {
|
&:p#last {
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:ol {
|
&:ol {
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:img {
|
&:img {
|
||||||
display: block;
|
display: block;
|
||||||
margin: $lineheight auto inherit auto;
|
margin: $lineheight auto inherit auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
form.sign {
|
form.sign {
|
||||||
input[type=submit] {
|
input[type=submit] {
|
||||||
float: left;
|
float: left;
|
||||||
|
@ -1322,26 +1311,32 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
|
|
||||||
|
input[type="submit"] {
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
tbody tr {
|
tbody tr {
|
||||||
border-top: 1px solid #ccc;
|
border-top: 1px solid #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inbox-row {
|
.inbox-row {
|
||||||
background: #f8f8ff;
|
background: #f8f8ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inbox-row-unread {
|
.inbox-row-unread {
|
||||||
background:#CBEEA7;
|
background:#CBEEA7;
|
||||||
}
|
}
|
||||||
|
|
||||||
.right {
|
.right {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr td,
|
tr td,
|
||||||
tr th {
|
tr th {
|
||||||
padding: $lineheight/4;
|
padding: $lineheight/4;
|
||||||
}
|
}
|
||||||
|
tr td {
|
||||||
|
border-right: 1px solid $keyline;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.inbox-row .inbox-mark-read {
|
.inbox-row .inbox-mark-read {
|
||||||
|
@ -1412,7 +1407,7 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
padding: $lineheight/4;
|
padding: $lineheight/4;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul li {
|
ul li {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
list-style: disc;
|
list-style: disc;
|
||||||
|
@ -1424,12 +1419,12 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
|
||||||
|
|
||||||
.standard-form {
|
.standard-form {
|
||||||
fieldset {
|
fieldset {
|
||||||
margin-bottom: $lineheight;
|
margin-bottom: $lineheight/2;
|
||||||
}
|
}
|
||||||
label {
|
label {
|
||||||
display: block;
|
display: block;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
margin-right: $lineheight/2;
|
margin-bottom: $lineheight/4;
|
||||||
font-size: $typeheight;
|
font-size: $typeheight;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
|
@ -1452,6 +1447,7 @@ input[type="url"],
|
||||||
input[type="password"],
|
input[type="password"],
|
||||||
textarea {
|
textarea {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Rules for user images */
|
/* Rules for user images */
|
||||||
|
|
|
@ -67,6 +67,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= submit_tag t('export.start.export_button'), :id => "export_commit" %>
|
<div class="inner12">
|
||||||
|
<%= submit_tag t('export.start.export_button'), :id => "export_commit" %>
|
||||||
|
</div>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Add table
Reference in a new issue