Skip to content

Commit 255efc7

Browse files
committed
override defautl style
1 parent 62c7522 commit 255efc7

File tree

1 file changed

+10
-5
lines changed
  • vendor/assets/stylesheets/rails_admin/themes/rollincode

1 file changed

+10
-5
lines changed

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

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,12 @@ body.rails_admin .sidebar-nav .dropdown-header {
4747
}
4848

4949
body.rails_admin .table .headerSortUp, body.rails_admin .table .headerSortDown,
50-
body:not(.bootstrap-datetimepicker-widget)
5150
{
5251
background-color: inherit;
5352
text-shadow: none;
5453
}
5554

5655
body.rails_admin .table .header:after,
57-
body:not(.bootstrap-datetimepicker-widget)
5856
{
5957
visibility: visible !important;
6058
}
@@ -329,7 +327,7 @@ h1,
329327
color: $ternary !important;
330328
}
331329

332-
body:not(.bootstrap-datetimepicker-widget), .table-striped td:not(.image_field) a {
330+
.table-striped td:not(.image_field) a {
333331
text-decoration: none !important;
334332
padding: 8px 10px;
335333
border-radius: 2px;
@@ -356,7 +354,6 @@ body:not(.bootstrap-datetimepicker-widget), .table-striped td:not(.image_field)
356354
.table-striped th,
357355
.table-striped td,
358356
body.rails_admin .table td
359-
body:not(.bootstrap-datetimepicker-widget)
360357
{
361358
vertical-align: middle;
362359
line-height: 40px;
@@ -369,7 +366,6 @@ body:not(.bootstrap-datetimepicker-widget)
369366
}
370367

371368
.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)
373369
{
374370
padding: 15px 5px;
375371
}
@@ -477,3 +473,12 @@ td.carrierwave_type .img-thumbnail {
477473
}
478474
}
479475
}
476+
477+
.bootstrap-datetimepicker-widget {
478+
color: #333;
479+
td, th {
480+
text-align: center;
481+
width: 20px;
482+
height: 20px;
483+
}
484+
}

0 commit comments

Comments
 (0)