Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Place download button on label and make it smaller #26

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions inst/shinyApp/drawCellShiny/ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ semanticPage(
segment(
class = "raised very padded container",
label(textOutput("selected_cell_name"), class = "big teal top attached"),
downloadButton(
"download_cell",
label = "",
icon = icon("small download"),
class = "basic",
"data-tooltip" = "Download cell",
"data-variation" = "large"
),
div(
class = "ui horizontal stackable segments no_box",
segment(
Expand Down Expand Up @@ -99,15 +107,6 @@ semanticPage(
segment(
class = "compact padded no_box",
uiOutput("copy_code")
),
segment(
class = "compact padded no_box",
downloadButton(
"download_cell",
label = "Download Cell",
icon = icon("download"),
class = "basic"
)
)
)
)
Expand Down
8 changes: 5 additions & 3 deletions inst/shinyApp/drawCellShiny/www/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,10 @@

#download_cell {
display: block !important;
color: #009c95 !important;
border: 1px solid #009c95 !important;
color: white !important;
text-align: center;
padding: .78571429em 1.5em .78571429em !important;
position: absolute;
top: -1rem;
right: 2rem;
padding: 0.25rem 0.25rem 0.5rem 0.25rem !important;
}