BDEVEXP-1984

* Size and style of the API Download button changed to micro secondary styling as per provided figma.
* bundle version updated to 20.2.6
This commit is contained in:
Ashutosh Kumar Singh 2020-04-25 19:15:25 -04:00
parent 005ab6e222
commit 7d75c44537
6 changed files with 23 additions and 21 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "otx-redoc", "name": "otx-redoc",
"version": "20.2.5", "version": "20.2.6",
"description": "ReDoc", "description": "ReDoc",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -23,24 +23,26 @@ export const AdditionalDocLink = styled.a`
`; `;
export const DownloadButton = styled.a` export const DownloadButton = styled.a`
border-radius: 16px; border: 1px solid #0084CE;
color: #FFFFFF; border-radius: 9px;
color: #0084CE;
font-weight: normal; font-weight: normal;
font-size: 14px; font-size: 12px;
line-height: 18px;
text-align: center; text-align: center;
margin-left: 0.5em; margin-left: 0.5em;
padding: 6px 24px; padding: 0 12px;
display: inline-block; display: inline-block;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;
background: #0084CE; background: ##FFFFFF;
&:hover { &:hover {
background: #339DD8; border: 1px solid #339DD8;
color: #FFFFFF; color: #339DD8;
} }
&:active { &:active {
background: #00639B; border: 1px solid #00639B;
color: #FFFFFF; color: #00639B;
} }
${extensionsHook('DownloadButton')}; ${extensionsHook('DownloadButton')};