Skip to content

Commit 62c7522

Browse files
committed
fix selector bootstrap datetimepicker
1 parent 33471cd commit 62c7522

File tree

1 file changed

+13
-9
lines changed
  • vendor/assets/stylesheets/rails_admin/themes/rollincode

1 file changed

+13
-9
lines changed

vendor/assets/stylesheets/rails_admin/themes/rollincode/theming.scss

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,16 @@ body.rails_admin .sidebar-nav .dropdown-header {
4646
}
4747
}
4848

49-
.table:not(.bootstrap-datetimepicker-widget),
50-
body.rails_admin .table .headerSortUp, body.rails_admin .table .headerSortDown {
49+
body.rails_admin .table .headerSortUp, body.rails_admin .table .headerSortDown,
50+
body:not(.bootstrap-datetimepicker-widget)
51+
{
5152
background-color: inherit;
5253
text-shadow: none;
5354
}
5455

55-
.table:not(.bootstrap-datetimepicker-widget),
56-
body.rails_admin .table .header:after {
56+
body.rails_admin .table .header:after,
57+
body:not(.bootstrap-datetimepicker-widget)
58+
{
5759
visibility: visible !important;
5860
}
5961

@@ -327,7 +329,7 @@ h1,
327329
color: $ternary !important;
328330
}
329331

330-
.table:not(.bootstrap-datetimepicker-widget), .table-striped td:not(.image_field) a {
332+
body:not(.bootstrap-datetimepicker-widget), .table-striped td:not(.image_field) a {
331333
text-decoration: none !important;
332334
padding: 8px 10px;
333335
border-radius: 2px;
@@ -351,10 +353,11 @@ h1,
351353
padding-bottom: 8px;
352354
}
353355

354-
.table:not(.bootstrap-datetimepicker-widget),
355356
.table-striped th,
356357
.table-striped td,
357-
body.rails_admin .table td {
358+
body.rails_admin .table td
359+
body:not(.bootstrap-datetimepicker-widget)
360+
{
358361
vertical-align: middle;
359362
line-height: 40px;
360363
border-right: 1px solid #ddd;
@@ -365,8 +368,9 @@ body.rails_admin .table td {
365368
background: rgba($ternary, .1)!important;
366369
}
367370

368-
.table:not(.bootstrap-datetimepicker-widget),
369-
.table-condensed > thead > tr > th, .table-condensed > thead > tr > td, .table-condensed > tbody > tr > th, .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > th, .table-condensed > tfoot > tr > td {
371+
.table-condensed > thead > tr > th, .table-condensed > thead > tr > td, .table-condensed > tbody > tr > th, .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > th, .table-condensed > tfoot > tr > td,
372+
body:not(.bootstrap-datetimepicker-widget)
373+
{
370374
padding: 15px 5px;
371375
}
372376

0 commit comments

Comments
 (0)