Skip to content

Commit 545d6da

Browse files
committed
styling dropdown
1 parent d2d7e25 commit 545d6da

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

Diff for: doc/_static/mpl.css

+19
Original file line numberDiff line numberDiff line change
@@ -185,3 +185,22 @@ div.wide-table table th.stub {
185185
.checklist li p {
186186
display: inline;
187187
}
188+
189+
.sdd.sd-dropdown {
190+
box-shadow: none!important;
191+
}
192+
193+
.sdd.sd-dropdown.sd-card{
194+
border-style: solid !important;
195+
border-color: var(--pst-color-border) !important;
196+
border-width: thin !important;
197+
border-radius: .05
198+
}
199+
200+
.sdd.sd-dropdown .sd-card-header{
201+
--pst-sd-dropdown-color: none;
202+
}
203+
204+
.sdd.sd-dropdown .sd-card-header +.sd-card-body{
205+
--pst-sd-dropdown-color: none;
206+
}

Diff for: doc/users/project/license.rst

+11
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ License agreement
4848

4949
.. dropdown:: License agreement for Matplotlib versions 1.3.0 and later
5050
:open:
51+
:class-container: sdd
5152

5253
.. literalinclude:: ../../../LICENSE/LICENSE
5354
:language: none
@@ -58,11 +59,13 @@ Bundled software
5859
================
5960

6061
.. dropdown:: JSX Tools Resize Observer
62+
:class-container: sdd
6163

6264
.. literalinclude:: ../../../LICENSE/LICENSE_JSXTOOLS_RESIZE_OBSERVER
6365
:language: none
6466

6567
.. dropdown:: QT4 Editor
68+
:class-container: sdd
6669

6770
.. literalinclude:: ../../../LICENSE/LICENSE_QT4_EDITOR
6871
:language: none
@@ -74,16 +77,19 @@ Colormaps and themes
7477
--------------------
7578

7679
.. dropdown:: ColorBrewer
80+
:class-container: sdd
7781

7882
.. literalinclude:: ../../../LICENSE/LICENSE_COLORBREWER
7983
:language: none
8084

8185
.. dropdown:: Solarized
86+
:class-container: sdd
8287

8388
.. literalinclude:: ../../../LICENSE/LICENSE_SOLARIZED
8489
:language: none
8590

8691
.. dropdown:: Yorick
92+
:class-container: sdd
8793

8894
.. literalinclude:: ../../../LICENSE/LICENSE_YORICK
8995
:language: none
@@ -95,26 +101,31 @@ Fonts
95101
-----
96102

97103
.. dropdown:: American Mathematical Society (AMS) fonts
104+
:class-container: sdd
98105

99106
.. literalinclude:: ../../../LICENSE/LICENSE_AMSFONTS
100107
:language: none
101108

102109
.. dropdown:: BaKoMa
110+
:class-container: sdd
103111

104112
.. literalinclude:: ../../../LICENSE/LICENSE_BAKOMA
105113
:language: none
106114

107115
.. dropdown:: Carlogo
116+
:class-container: sdd
108117

109118
.. literalinclude:: ../../../LICENSE/LICENSE_CARLOGO
110119
:language: none
111120

112121
.. dropdown:: Courier 10
122+
:class-container: sdd
113123

114124
.. literalinclude:: ../../../LICENSE/LICENSE_COURIERTEN
115125
:language: none
116126

117127
.. dropdown:: STIX
128+
:class-container: sdd
118129

119130
.. literalinclude:: ../../../LICENSE/LICENSE_STIX
120131
:language: none

0 commit comments

Comments
 (0)