Some improvements of index style

- remove the arrow of dropdown menu
  Current: https://prnt.sc/n8oezy
  Fix: https://prnt.sc/n8oevl
- cleanup the shadow of release button
  Current: https://prnt.sc/navnko
  Fix: http://prnt.sc/navpvz

Change-Id: I0166051aa137b8cda8a56209348340c1e570e7a4
This commit is contained in:
chenxing 2019-04-24 19:12:57 +08:00 committed by Ian Y. Choi
parent 85285d595e
commit 9ba260223c
2 changed files with 4 additions and 45 deletions

View File

@ -3548,30 +3548,7 @@ input.docs-main-search:-ms-input-placeholder {
font-size: 18px; }
.docs-dropdown .dropdown-menu {
width: 280%;
margin-top: 10px; }
.docs-dropdown > .dropdown-menu:after, .docs-dropdown > .dropdown-menu:before, .docs-sidebar-dropdown:before, .docs-sidebar-dropdown:after {
bottom: 100%;
left: 50%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none; }
.docs-dropdown > .dropdown-menu:after, .docs-sidebar-dropdown:after {
border-color: rgba(255, 255, 255, 0);
border-bottom-color: #ffffff;
border-width: 15px;
margin-left: -15px; }
.docs-dropdown > .dropdown-menu:before, .docs-sidebar-dropdown:before {
border-color: rgba(170, 170, 170, 0);
border-bottom-color: #aaaaaa;
border-width: 16px;
margin-left: -16px; }
width: 280%; }
.docs-dropdown > .dropdown-menu > li.dropdown-header, .docs-sidebar-dropdown > li.dropdown-header {
text-align: left;

View File

@ -21,6 +21,9 @@
margin: 0px 4px 0px 4px;
width: inherit; }
.deprecated-badge .docs-dropdown .dropdown-menu {
margin-top: 10px; }
.deprecated-badge .docs-dropdown .dropdown-menu a {
padding: 5px 25px;
margin-top: 0px;
@ -73,36 +76,15 @@ a.deprecated-badge-right {
color: #edf2f7;
}
.deprecated-badge-obsolete .docs-dropdown,
.deprecated-badge-eol .docs-dropdown {
background: #922f2f;
}
.deprecated-badge-maintained,
.deprecated-badge-development {
background: #eaeaea;
}
.deprecated-badge-maintained .docs-dropdown,
.deprecated-badge-development .docs-dropdown {
background: #cfcfcf;
}
.deprecated-badge-development a,
.deprecated-badge-development p,
.deprecated-badge-maintained a,
.deprecated-badge-maintained p {
/* use default */
}
.deprecated-badge-current {
background: #30739c;
}
.deprecated-badge-current .docs-dropdown {
background: #2a4e68;
}
.deprecated-badge-current a,
.deprecated-badge-current p {
color: #edf2f7;