diff --git a/Documentation/dropdown.png b/Documentation/dropdown.png deleted file mode 100644 index 1a8a9ed5..00000000 Binary files a/Documentation/dropdown.png and /dev/null differ diff --git a/Doxygen/dsp.dxy.in b/Doxygen/dsp.dxy.in index 86e92a5d..f8d0bb66 100644 --- a/Doxygen/dsp.dxy.in +++ b/Doxygen/dsp.dxy.in @@ -1324,8 +1324,9 @@ HTML_EXTRA_FILES = templates/tabs.css \ templates/search.css \ templates/navtree.css \ templates/tab_b.png \ - templates/printComponentTabs.js \ templates/navtree.js \ + templates/version.css \ + templates/dropdown.png \ ../LICENSE.txt # The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen diff --git a/Doxygen/templates/dropdown.png b/Doxygen/templates/dropdown.png new file mode 100644 index 00000000..6ff29b58 Binary files /dev/null and b/Doxygen/templates/dropdown.png differ diff --git a/Doxygen/templates/header.html b/Doxygen/templates/header.html index 8d075281..3491cbfb 100644 --- a/Doxygen/templates/header.html +++ b/Doxygen/templates/header.html @@ -16,13 +16,14 @@ - $treeview $search $mathjax $extrastylesheet + + @@ -43,7 +44,13 @@ $extrastylesheet
$projectname -  $projectnumber +  +
$projectbrief
@@ -67,12 +74,3 @@ $extrastylesheet -
- -
diff --git a/Doxygen/templates/printComponentTabs.js b/Doxygen/templates/printComponentTabs.js deleted file mode 100644 index 46b80661..00000000 --- a/Doxygen/templates/printComponentTabs.js +++ /dev/null @@ -1,28 +0,0 @@ -var strgURL = location.pathname; // path of current component - -// constuctor for the array of objects -function tabElement(id, folderName, tabTxt ) { - this.id = id; // elementID as needed in html; - this.folderName = folderName; // folder name of the component - this.tabTxt = tabTxt; // Text displayed as menu on the web - this.currentListItem = '
  • ' + this.tabTxt + '
  • '; - this.listItem = '
  • ' + this.tabTxt + '
  • '; -}; - -// array of objects -var arr = []; - -// fill array -// arr.push( new tabElement( "GEN", "/General/html/", "General")); - -// write tabs -// called from the header file. -function writeComponentTabs() { - for ( var i=0; i < arr.length; i++ ) { - if (strgURL.search(arr[i].folderName) > 0) { // if this is the current folder - document.write(arr[i].currentListItem); // then print and highlight the tab - } else { - document.write(arr[i].listItem); // else, print the tab - } - } -}; diff --git a/Documentation/version.css b/Doxygen/templates/version.css similarity index 55% rename from Documentation/version.css rename to Doxygen/templates/version.css index 941eafdf..8013bede 100644 --- a/Documentation/version.css +++ b/Doxygen/templates/version.css @@ -1,17 +1,33 @@ +:root { + --arm_light_blue: #00C1DE; + --arm_blue: #11809F; + --arm_blue1: #0091BD; + --arm_dark_blue: #002B49; + --arm_light_gray: #E5ECEB; + --arm_light_gray1: #EFF5F4; + --arm_light_gray2: #EBEBEB; + --arm_light_gray3: #F7F7F7; + --arm_dark_gray: #7D868C; + --arm_black: #333E48; + --arm_orange: #FF6B00; + --arm_yellow: #FFC700; +} + /* Dropdown Button */ .dropbtn { margin: 0px; - padding: 0px 0px 0px 1em; - background-image: url(dropdown.png); + padding: 0px 20px 0px 0em; + background-image: url("dropdown.png"); background-repeat: no-repeat; - background-size: 0.75em; - background-position: left center; + background-size: 0.5em; + background-position: right center; + cursor: pointer; } /* Dropdown button on hover & focus */ -.dropbtn:hover, .dropbtn:focus { - background-size: 0.8em; -} +#.dropbtn:hover, .dropbtn:focus { +# background-size: 0.7em; +#} /* The container
    - needed to position the dropdown content */ .dropdown { @@ -23,16 +39,18 @@ .dropdown-content { display: none; position: absolute; - background-color: #f1f1f1; + background-color: var(--arm_light_gray3); min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4); + white-space: nowrap; + cursor: pointer; z-index: 1; } /* Links inside the dropdown */ .dropdown-content a { # color: black; - color: #3A568E; + color: var(--arm_dark_gray); padding: 4px 6px; text-decoration: none; display: block;