@@ -34,6 +34,41 @@ body.active_admin {
3434 box-shadow : initial ;
3535 text-shadow : $text-shadow 0 1px 0 ;
3636 }
37+ .compact_titlebar {
38+ padding-top : 0 ;
39+ padding-bottom : 0 ;
40+ .breadcrumb {
41+ float : left ;
42+ font-size : 1em ;
43+ line-height : initial ;
44+ margin : 0 ;
45+ padding : 0 ;
46+ }
47+ #page_title {
48+ font-size : 2em ;
49+ }
50+ #titlebar_left , #titlebar_right {
51+ height : 36px ;
52+ }
53+ }
54+ .sidebar_left {
55+ #main_content_wrapper {
56+ float : right ;
57+ width : calc ( 100% - 300px );
58+ #main_content {
59+ margin-right : 0 ;
60+ }
61+ }
62+ #sidebar {
63+ margin-left : 0 ;
64+ }
65+ }
66+ table .scoll_cells {
67+ th , td {
68+ max-width : 200px ;
69+ overflow : scroll ;
70+ }
71+ }
3772
3873 // forms
3974 form {
@@ -297,6 +332,12 @@ body.active_admin {
297332 }
298333 .site_title {
299334 color : $fg-menu-items ;
335+ img {
336+ max-height : 36px ;
337+ max-width : 250px ;
338+ top : -1px ;
339+ vertical-align : middle ;
340+ }
300341 }
301342 ul .tabs {
302343 li > a {
@@ -463,40 +504,57 @@ body.active_admin {
463504 }
464505 }
465506 .index_table {
466- @extend .c-table ;
467- // @extend .c-table--striped;
468- // @extend .c-table--condensed;
469- > thead {
470- @extend .c-table__head ;
471- > tr {
472- @extend .c-table__row ;
473- @extend .c-table__row--heading ;
474- > th {
475- @extend .c-table__cell ;
476- margin-bottom : 0 ;
477- & .col-selectable > div {
478- margin-left : auto ;
479- margin-right : auto ;
480- }
481- }
482- }
507+ th {
508+ background-image : none ;
509+ background-color : #eee ;
510+ border : 0 none ;
511+ box-shadow : 0 1px 3px rgba (0 , 0 , 0 , 0.3 ), 0 0 1px #fff inset ;
483512 }
484- > tbody {
485- @extend .c-table__body ;
513+ tbody > tr > td :first-child {
486514 border-left : 1px solid $fg-table-borders ;
515+ }
516+ tbody > tr > td {
487517 border-right : 1px solid $fg-table-borders ;
488- > tr {
489- @extend .c-table__row ;
490- > td {
491- @extend .c-table__cell ;
492- & .col-selectable > div {
493- margin-left : auto ;
494- margin-right : auto ;
495- }
496- }
497- }
518+ }
519+ .col.col-selectable > div {
520+ text-align : center ;
498521 }
499522 }
523+ // .index_table {
524+ // @extend .c-table;
525+ // // @extend .c-table--striped;
526+ // // @extend .c-table--condensed;
527+ // > thead {
528+ // @extend .c-table__head;
529+ // > tr {
530+ // @extend .c-table__row;
531+ // @extend .c-table__row--heading;
532+ // > th {
533+ // @extend .c-table__cell;
534+ // margin-bottom: 0;
535+ // &.col-selectable > div {
536+ // margin-left: auto;
537+ // margin-right: auto;
538+ // }
539+ // }
540+ // }
541+ // }
542+ // > tbody {
543+ // @extend .c-table__body;
544+ // border-left: 1px solid $fg-table-borders;
545+ // border-right: 1px solid $fg-table-borders;
546+ // > tr {
547+ // @extend .c-table__row;
548+ // > td {
549+ // @extend .c-table__cell;
550+ // &.col-selectable > div {
551+ // margin-left: auto;
552+ // margin-right: auto;
553+ // }
554+ // }
555+ // }
556+ // }
557+ // }
500558 .panel_contents table tr :last-child {
501559 > td , > th {
502560 border-bottom : 0 none ;
@@ -505,6 +563,7 @@ body.active_admin {
505563
506564 // title bar
507565 #title_bar {
566+ background-image : none ;
508567 .action_items span .action_item {
509568 > a ,
510569 > .dropdown_menu > a {
@@ -580,4 +639,8 @@ body.active_admin {
580639 }
581640 }
582641 }
642+ // textarea comments
643+ #active_admin_comment_body {
644+ width : 100% ;
645+ }
583646}
0 commit comments