From a4b1d2f13bdcf84687196dbf0c39280062bc69de Mon Sep 17 00:00:00 2001 From: Jesse Cirimelli-Low Date: Wed, 28 Nov 2018 17:21:50 -0800 Subject: [PATCH] added css style code --- .../datasheet/server_scripts/static/index.css | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 compiler/datasheet/server_scripts/static/index.css diff --git a/compiler/datasheet/server_scripts/static/index.css b/compiler/datasheet/server_scripts/static/index.css new file mode 100644 index 00000000..0c832b7f --- /dev/null +++ b/compiler/datasheet/server_scripts/static/index.css @@ -0,0 +1,25 @@ +/* Style the button that is used to open and close the collapsible content */ +.collapsible { + background-color: #eee; + color: #444; + cursor: pointer; + padding: 18px; + width: 100%; + border: none; + text-align: left; + outline: none; + font-size: 15px; +} + +/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */ +.active, .collapsible:hover { + background-color: #ccc; +} + +/* Style the collapsible content. Note: hidden by default */ +.content { + padding: 0 18px; + display: none; + overflow: hidden; + background-color: #f1f1f1; +}