status-react/src/status_im/discover/styles.cljs

175 lines
3.3 KiB
Plaintext
Raw Normal View History

2016-11-22 16:07:33 +00:00
(ns status-im.discover.styles
(:require [status-im.components.styles :refer [color-gray2
color-white]]
[status-im.components.toolbar.styles :refer [toolbar-background2]]))
;; common
(def row-separator
{:border-bottom-width 1
:border-bottom-color "#eff2f3"})
(def row
{:flex-direction :row
:margin-bottom 10})
(def column
{:flex-direction :column})
(def empty-view
{:flex 1
:background-color color-white
:align-items :center
:justify-content :center})
;; Toolbar
2016-11-22 16:07:33 +00:00
(def discover-toolbar-content
{:flex 1
:align-items :center
:justify-content :center})
2016-11-22 16:07:33 +00:00
(def discover-toolbar
{:background-color toolbar-background2
:elevation 0})
2016-11-22 16:07:33 +00:00
(def discover-search-input
{:flex 1
:align-self "stretch"
:margin-left 18
:font-size 14
:color "#7099e6"})
2016-11-22 16:07:33 +00:00
(def discover-title
{:color "#000000de"
:align-self :center
:text-align :center
:font-size 16})
(def section-spacing
{:padding 16})
(def scroll-view-container
{:bounces false})
;; Popular
(def popular-container
{:background-color toolbar-background2})
(def carousel-page-style
{})
(def tag-name
{:color "#7099e6"
:font-size 14
:padding-right 5
:padding-bottom 2
:align-items :center
:justify-content :center})
(def tag-count
{:color "#838c93"
:font-size 12
:padding-right 6
:padding-bottom 2
:align-items :center
:justify-content :center})
(def tag-count-container
{:flex 0.2
:flex-direction "column"
:align-items "flex-end"
:padding-top 6
:padding-right 9})
(def separator
{:background-color "rgb(200, 199, 204)"
:height 0.5})
;; Popular list item
(def popular-list-container
{:flex 1
:background-color :white
:margin-left 16
:padding-left 16
:padding-top 18})
(def popular-list-item
{:flex-direction :row
:padding-bottom 16
:top 1})
(def popular-list-item-name
{:color "black"
:font-size 15
:padding-bottom 4})
(def popular-list-item-name-container
{:flex 0.8
:flex-direction "column"
:padding-top 16})
(def popular-list-item-avatar-container
{:flex 0.2
:flex-direction "column"
:align-items :center
:padding-top 16})
2016-11-22 16:07:33 +00:00
;; discover_recent
(def recent-container
{:background-color toolbar-background2})
(def recent-list
{:background-color :white
:padding-left 16})
2016-11-22 16:07:33 +00:00
;; Discover tag
2016-11-22 16:07:33 +00:00
(def discover-tag-toolbar
{:border-bottom-color "#D7D7D7"
:border-bottom-width 1})
2016-11-22 16:07:33 +00:00
(def discover-tag-container
{:flex 1
:backgroundColor "#eef2f5"})
(def tag-title-scroll
{:flex 1
:alignItems "center"
:justifyContent "center"})
(def tag-title-container
{:flex 1
:alignItems "center"
:justifyContent "center"
:flex-direction "row"})
(def tag-title
{:color "#7099e6"
:font-size 14
:padding-right 5
:padding-bottom 2})
(def icon-back
{:width 8
:height 14})
(def icon-search
{:width 17
:height 17})
2016-11-22 16:07:33 +00:00
(def discover-container
{:flex 1
:backgroundColor color-white})
(def hamburger-icon
{:width 16
:height 12})
(def search-icon
{:width 17
:height 17})