From df1c9160bc2798049d917c8c48996901133b2dcc Mon Sep 17 00:00:00 2001 From: Muhammad Hamza Date: Tue, 22 Sep 2020 17:29:04 -0700 Subject: [PATCH] [matrix] Style "View Documentation For" dropdown --- docs/_static/style.css | 18 ++++++++++++++++++ docs/images/drop_down_icon.svg | 4 ++++ 2 files changed, 22 insertions(+) create mode 100644 docs/images/drop_down_icon.svg diff --git a/docs/_static/style.css b/docs/_static/style.css index 71e2cbe82..23df91cd8 100644 --- a/docs/_static/style.css +++ b/docs/_static/style.css @@ -300,6 +300,24 @@ header > nav > a:hover { .sub-header > select { display: none; + background-color: transparent; + padding: 0.4em 0; + font-size: 1em; + width: 13.5%; + color: white; + border: none; + border-bottom: 1px solid var(--search-border); + + appearance: none; + background-image: url('/_images/drop_down_icon.svg'); + background-repeat: no-repeat; + background-position-x: 100%; + background-position-y: 50%; + + cursor: pointer; +} +.sub-header > select:focus { + outline: none; } .sub-header > .settings { diff --git a/docs/images/drop_down_icon.svg b/docs/images/drop_down_icon.svg new file mode 100644 index 000000000..e7edbba34 --- /dev/null +++ b/docs/images/drop_down_icon.svg @@ -0,0 +1,4 @@ + + + +