From ec2f65cd0e2da62e479a7984caeea26c2bba426d Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Tue, 10 Nov 2015 16:43:19 +0100 Subject: [PATCH] datepicker: fix style when rendered inside table --- app/assets/stylesheets/zammad.scss | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/zammad.scss b/app/assets/stylesheets/zammad.scss index db611da8d..be1f87e5e 100644 --- a/app/assets/stylesheets/zammad.scss +++ b/app/assets/stylesheets/zammad.scss @@ -6890,6 +6890,11 @@ output { } } + +/* + datepicker resets some css it potentially inherits when its rendered inside a table +*/ + .datepicker { background: hsl(234,10%,19%); color: white; @@ -6909,6 +6914,14 @@ output { } } + th { + background: none; + } + + th, td { + border: none; + } + .next, .prev { cursor: pointer; @@ -6938,7 +6951,7 @@ output { width: 27px; height: 26px; border-radius: 100%; - padding: 1px 0 0; + padding: 1px 0 0 !important; } .month,