Просмотр исходного кода

Tweak styles and small things

master
Garrick Aden-Buie 8 лет назад
Родитель
Сommit
3634d7e860
3 измененных файлов: 5 добавлений и 4 удалений
  1. +2
    -1
      t4c/app.R
  2. +1
    -1
      t4c/screens.R
  3. +2
    -2
      t4c/t4c.css

+ 2
- 1
t4c/app.R Просмотреть файл

library(shiny) library(shiny)
library(dplyr) library(dplyr)
library(shinyjs) library(shinyjs)
library(ggplot2)


# ---- APP PARAMETERS ---- # ---- APP PARAMETERS ----
APP_TITLE <- "App Title" APP_TITLE <- "App Title"
coord_flip() + coord_flip() +
guides(color = FALSE) + guides(color = FALSE) +
labs(x=NULL, y=NULL) + labs(x=NULL, y=NULL) +
hrbrthemes::theme_ipsum_ps(base_size = 24, axis_title_just = "cc") +
hrbrthemes::theme_ipsum_ps(base_size = 26, axis_title_just = "cc") +
facet_wrap(~ Category, ncol = 1, scales = "free_y") + facet_wrap(~ Category, ncol = 1, scales = "free_y") +
theme( theme(
panel.grid.minor.x = element_blank(), panel.grid.minor.x = element_blank(),

+ 1
- 1
t4c/screens.R Просмотреть файл

div( div(
class = "splash-body", class = "splash-body",
h1("Welcome!"), h1("Welcome!"),
p("Talking about cancer treatment options is hard, but we're here to help."),
p("Talking about your cancer treatment options is hard, but we're here to help."),
actionButton("splash_next_screen", "Get Started", class = "btn-bottom-right btn-primary") actionButton("splash_next_screen", "Get Started", class = "btn-bottom-right btn-primary")
) )
) )

+ 2
- 2
t4c/t4c.css Просмотреть файл

font-weight: 600; font-weight: 600;
} }
.splash-body p { .splash-body p {
padding-left: 40px;
padding-right: 40px;
padding-left: 55px;
padding-right: 55px;
padding-top: 10px; padding-top: 10px;
} }
.btn-bottom-right { .btn-bottom-right {

Загрузка…
Отмена
Сохранить