diff options
author | Phil Hughes <me@iamphill.com> | 2016-06-06 11:26:47 +0300 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2016-06-09 23:24:40 +0300 |
commit | cc971f03096b8298567caf0b9e0ae738bead03a7 (patch) | |
tree | d8aafadbf1b15798d061fafb671bb34ff0e4a26e /app/assets/stylesheets/framework/jquery.scss | |
parent | 787b73f5d6dafb3db36a9113a59e3bc5b047a4b9 (diff) |
Improved the UX of issue & milestone date picker
Closes #18198
Diffstat (limited to 'app/assets/stylesheets/framework/jquery.scss')
-rw-r--r-- | app/assets/stylesheets/framework/jquery.scss | 43 |
1 files changed, 30 insertions, 13 deletions
diff --git a/app/assets/stylesheets/framework/jquery.scss b/app/assets/stylesheets/framework/jquery.scss index 525ed81b059..30a5b837d69 100644 --- a/app/assets/stylesheets/framework/jquery.scss +++ b/app/assets/stylesheets/framework/jquery.scss @@ -2,6 +2,7 @@ font-family: $regular_font; font-size: $font-size-base; + &.ui-datepicker, &.ui-datepicker-inline { border: 1px solid #ddd; padding: 10px; @@ -10,6 +11,25 @@ .ui-datepicker-header { background: #fff; border-color: #ddd; + + .ui-datepicker-prev, + .ui-datepicker-next { + top: 4px; + } + + .ui-datepicker-prev { + left: 2px; + } + + .ui-datepicker-next { + right: 2px; + } + + .ui-state-hover { + background: transparent; + border: 0; + cursor: pointer; + } } .ui-datepicker-calendar td a { @@ -36,21 +56,18 @@ } .ui-state-highlight { - border: 1px solid #eee; - background: #eee; + border: 0; + background: transparent; } - .ui-state-active { - border: 1px solid $gl-primary; - background: $gl-primary; - color: #fff; - } - - .ui-state-hover, - .ui-state-focus { - border: 1px solid $row-hover; - background: $row-hover; - color: #333; + .ui-datepicker-calendar { + .ui-state-active, + .ui-state-hover, + .ui-state-focus { + border: 1px solid $gl-primary; + background: $gl-primary; + color: #fff; + } } } |