Skip to content

Commit b047326

Browse files
author
Mattia Roccoberton
committed
Minor improvements
1 parent a7d8129 commit b047326

2 files changed

Lines changed: 16 additions & 7 deletions

File tree

app/assets/stylesheets/activeadmin_blaze_theme/theme.scss

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ body.active_admin {
7272
width: 30%;
7373
}
7474
select {
75-
padding: 1px 2px;
75+
padding: 1px 5px;
7676
}
7777
select[multiple], textarea {
7878
height: auto;
@@ -184,7 +184,9 @@ body.active_admin {
184184
select,
185185
textarea {
186186
background-color: $bg-inputs;
187-
width: calc(80% - 22px);
187+
min-width: 240px;
188+
width: auto;
189+
// width: calc(80% - 22px);
188190
}
189191
// select {
190192
// background-image: none;
@@ -300,7 +302,8 @@ body.active_admin {
300302
@extend .c-card__item;
301303
// @extend .c-card__item--info;
302304
background: $bg-form-sub-headings;
303-
margin: 0;
305+
margin-bottom: 2px;
306+
margin-top: 0;
304307
padding: 10px;
305308
}
306309
// ol {
@@ -510,11 +513,13 @@ body.active_admin {
510513
input[type='tel'],
511514
input[type='text'],
512515
input[type='url'],
513-
select,
514516
textarea {
515517
background-color: $bg-inputs;
516518
background-image: none;
517519
}
520+
select {
521+
background-color: $bg-inputs;
522+
}
518523
}
519524
.panel_contents {
520525
@extend .c-card__item;
@@ -526,7 +531,8 @@ body.active_admin {
526531
background-image: none;
527532
border: 0 none !important;
528533
color: $fg-box-title;
529-
margin-bottom: 0;
534+
margin-bottom: 2px;
535+
margin-top: 0;
530536
padding: 8px 11px;
531537
text-shadow: $text-shadow 0 1px 0;
532538
}
@@ -636,6 +642,7 @@ body.active_admin {
636642
background-image: none;
637643
border: 0 none !important;
638644
color: $fg-box-title;
645+
margin: 0;
639646
padding: 8px 11px;
640647
text-shadow: $text-shadow 0 1px 0;
641648
}
@@ -761,6 +768,8 @@ body.active_admin {
761768
}
762769
.ckeditor_width_fix {
763770
display: inline-block;
764-
width: calc(80% - 22px);
771+
min-width: 240px;
772+
width: auto;
773+
// width: calc(80% - 22px);
765774
}
766775
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module ActiveAdminBlazeTheme
2-
VERSION = '0.4.6'
2+
VERSION = '0.4.7'
33
end

0 commit comments

Comments
 (0)