From 71e7f07eb58904c88ed958160fb2f1ab40abe986 Mon Sep 17 00:00:00 2001 From: Adam Shaw Date: Mon, 25 Aug 2014 01:29:33 -0700 Subject: [PATCH] more conservative about fc-event style precedence --- src/common/common.css | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/common/common.css b/src/common/common.css index 1b8629f..45da855 100644 --- a/src/common/common.css +++ b/src/common/common.css @@ -422,10 +422,7 @@ temporary rendered events). /* Global Event Styles --------------------------------------------------------------------------------------------------*/ -.fc-event, -.fc-event:hover, /* extra precedents over other tag hover styling */ -.ui-widget .fc-event { /* extra precedence over jqui theme tag styling */ - +.fc-event { position: relative; /* for resize handle and other inner positioning */ display: block; /* make the tag block */ font-size: .85em; @@ -433,9 +430,15 @@ temporary rendered events). border-radius: 3px; border: 1px solid #3a87ad; /* default BORDER color */ background-color: #3a87ad; /* default BACKGROUND color */ - color: #fff; /* default TEXT color */ - text-decoration: none; /* if has an href */ - font-weight: normal; /* undo jqui */ + font-weight: normal; /* undo jqui's ui-widget-header bold */ +} + +/* overpower some of bootstrap's and jqui's styles on tags */ +.fc-event, +.fc-event:hover, +.ui-widget .fc-event { + color: #fff; /* default TEXT color */ + text-decoration: none; /* if has an href */ } .fc-event[href],