Created
July 22, 2017 10:49
-
-
Save thibodux/3b987d09e89f23e59654e1edd1fd2238 to your computer and use it in GitHub Desktop.
Splunk CSS to hide Real-Time and All-Time options from time pickers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* These CSS settings will hide often unwanted time | |
period options from all time pickers in SimpleXML | |
dashboards for the app containing this file. | |
These settings are only visual changes, i.e., | |
users can still search using All-Time or Real-Time | |
settings if they know how to manually enter the | |
corresponding values */ | |
/* hide real-time accordion tab in time pickers */ | |
div[id^='realtime_view'] { | |
display: none; | |
} | |
/* hide real-time column from the Presets accordion tab in time pickers */ | |
div[id^='presets_view'] > div.accordion-body > div > ul:nth-child(1) { | |
display:none; | |
} | |
/* hide unnecessary divider from the Presets accordion tab in time pickers */ | |
div[id^='presets_view'] > div.accordion-body > div > div:nth-child(2) { | |
display:none; | |
} | |
/* hide Other column from the Presets accordion tab in time pickers */ | |
div[id^='presets_view'] > div.accordion-body > div > ul:nth-child(6) { | |
display:none; | |
} | |
/* hide unnecessary divider from the Presets accordion tab in time pickers */ | |
div[id^='presets_view'] > div.accordion-body > div > div:nth-child(5) { | |
display:none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment