Skip to content

Commit

Permalink
Style.
Browse files Browse the repository at this point in the history
  • Loading branch information
JASchilz committed Oct 14, 2016
1 parent 8f50a35 commit 1142fe6
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 8 deletions.
49 changes: 43 additions & 6 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -148,17 +148,17 @@ p {
}

@media only screen and (min-width : 992px) {
form.inline-fields label {
.inline-fields label {
width:25%;
}

form.inline-fields input[type=text],
form.inline-fields div.form-group[data-field-type-for="multiple-choice"] span.form-control {
.inline-fields input[type=text],
.inline-fields div.form-group[data-field-type-for="multiple-choice"] span.form-control {
width:70%;
display:inline-block
}

form.inline-fields select {
.inline-fields select {
width:initial;
min-width:30%;
display:inline-block;
Expand All @@ -178,11 +178,12 @@ input.form-action.btn, button.form-action.btn {
font-size:17px;
box-shadow: 2px 2px gray;
border:none;
position:relative
}

input.btn.form-action:active, button.form-action.btn:active {
margin-left:2px;
margin-top:2px;
left:2px;
top:2px;
box-shadow:none;
}

Expand Down Expand Up @@ -226,3 +227,39 @@ nav.breadcrumbs li a:hover {
nav.breadcrumbs li:not(:last-child):after {
content: ">";
}

form.inline div {
display:inline-block;
}

form.inline .form-group {
margin-bottom: 0px;
}

form.inline select.form-control {
height: 35px;
}

.form-control {
color: #2a2a2a;
}

textarea.form-control {
margin-bottom:5px;
}

.chosen-container-multi .chosen-choices {
line-height: 17px;
font-size: 17px;
min-height: 35px;
border-radius: 5px;
padding-top:3px;
}

ul.chosen-results li.result-selected {
font-size: 17px;
}

input[type=file] {
display: inline-block;
}
4 changes: 2 additions & 2 deletions templates/page/base.twig
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@

<script type='text/javascript'>
$('textarea.html').summernote();
$('select').chosen();
$('.chosen select, select.chosen').chosen();
athens.ajax_section.registerPostSectionAction(function() {
$('textarea.html').summernote();
$('select').chosen();
$('.chosen select, select.chosen').chosen();
});
</script>
Expand Down

0 comments on commit 1142fe6

Please sign in to comment.