1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Allow the big download button to be defined using the colour palette values (#7064)

This commit is contained in:
Mario Pietsch 2022-11-26 12:15:47 +01:00 committed by GitHub
parent 850a4dd351
commit 97f7db169a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -183,17 +183,17 @@ div.content {
.tc-btn-download { .tc-btn-download {
padding: 10px 30px; padding: 10px 30px;
border-radius: 5px; border-radius: 5px;
background: #1462ff; background: <<colour "download-background">>;
border: none; border: none;
box-shadow: 0 2px 2px 0 #4a74c9; box-shadow: 1px 2px 2px 0 <<colour muted-foreground>>;
overflow: hidden; overflow: hidden;
cursor: pointer; cursor: pointer;
font-size: 1.2em; font-size: 1.2em;
line-height: 1.4em; line-height: 1.4em;
color: #fff; color: #fff;
fill: #fff; fill: #fff;
} }
.tc-btn-download:active { .tc-btn-download:active {
background: #1475ff; box-shadow: none;
} }