summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/bootstrapify.scss6
-rw-r--r--app/assets/stylesheets/scaffolds.scss22
2 files changed, 20 insertions, 8 deletions
diff --git a/app/assets/stylesheets/bootstrapify.scss b/app/assets/stylesheets/bootstrapify.scss
index 3ee7314..316847a 100644
--- a/app/assets/stylesheets/bootstrapify.scss
+++ b/app/assets/stylesheets/bootstrapify.scss
@@ -30,7 +30,7 @@
}
button,
-a[role="button"],
+*[role="button"],
input[type="submit"],
input[type="reset"],
input[type="button"] {
@@ -99,10 +99,12 @@ header nav {
form {
.field {
@extend .form-group;
+ .field_with_errors {
+ display: inline !important;
+ }
}
.field_with_errors {
@extend .has-error;
- display: inline;
}
}
diff --git a/app/assets/stylesheets/scaffolds.scss b/app/assets/stylesheets/scaffolds.scss
index 08767ce..a223672 100644
--- a/app/assets/stylesheets/scaffolds.scss
+++ b/app/assets/stylesheets/scaffolds.scss
@@ -32,10 +32,12 @@
.simple-input-group {
white-space: nowrap;
display: table;
- .btn, .form-control {
+ span {
display: table-cell;
+ }
+ .btn, .form-control {
+ display: table-cell !important;
&:not(:last-child) {
- float: left;
@include border-right-radius(0);
}
&:not(:first-child) {
@@ -60,13 +62,15 @@
form#search {
- @extend .navbar-right;
- @extend .simple-input-group;
+ @extend .navbar-left;
+ div {
+ @extend .simple-input-group;
+ }
}
#user-actions {
@extend .navbar-btn;
- @extend .navbar-left;
+ @extend .navbar-right;
@extend .simple-input-group;
span {
padding-right: .25em;
@@ -154,10 +158,16 @@ form#search {
}
*/
-form[role="button"] {
+form.button_to, form.button_to div {
display: inline;
}
+div.field span.help-block {
+ float: right;
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
/* Elements *********************************************************/
footer {