2016-11-22 16:07:33 +00:00
|
|
|
(ns status-im.discover.styles
|
2017-01-25 17:20:37 +00:00
|
|
|
(:require [status-im.components.styles :refer [color-white
|
|
|
|
color-light-gray
|
|
|
|
color-blue]]
|
2016-11-10 12:34:25 +00:00
|
|
|
[status-im.components.toolbar.styles :refer [toolbar-background2]]))
|
2016-05-07 14:53:39 +00:00
|
|
|
|
2016-12-05 10:50:47 +00:00
|
|
|
;; Common
|
2016-05-07 14:53:39 +00:00
|
|
|
|
|
|
|
(def row-separator
|
2016-08-04 15:36:13 +00:00
|
|
|
{:border-bottom-width 1
|
|
|
|
:border-bottom-color "#eff2f3"})
|
2016-05-07 14:53:39 +00:00
|
|
|
|
|
|
|
(def row
|
2016-11-10 12:34:25 +00:00
|
|
|
{:flex-direction :row
|
|
|
|
:margin-bottom 10})
|
2016-05-07 14:53:39 +00:00
|
|
|
|
|
|
|
(def column
|
2016-08-04 15:36:13 +00:00
|
|
|
{:flex-direction :column})
|
2016-05-07 14:53:39 +00:00
|
|
|
|
2016-11-10 12:34:25 +00:00
|
|
|
(def empty-view
|
|
|
|
{:flex 1
|
|
|
|
:background-color color-white
|
|
|
|
:align-items :center
|
|
|
|
:justify-content :center})
|
|
|
|
|
2016-05-07 14:53:39 +00:00
|
|
|
(def section-spacing
|
2016-08-04 15:36:13 +00:00
|
|
|
{:padding 16})
|
2016-05-07 14:53:39 +00:00
|
|
|
|
2016-08-04 15:36:13 +00:00
|
|
|
;; Popular
|
2016-05-07 14:53:39 +00:00
|
|
|
|
2016-11-10 12:34:25 +00:00
|
|
|
(def popular-container
|
|
|
|
{:background-color toolbar-background2})
|
|
|
|
|
2016-05-07 14:53:39 +00:00
|
|
|
(def carousel-page-style
|
2016-11-10 12:34:25 +00:00
|
|
|
{})
|
2016-05-07 14:53:39 +00:00
|
|
|
|
|
|
|
(def tag-name
|
2017-01-25 17:20:37 +00:00
|
|
|
{:color color-blue
|
2016-08-04 15:36:13 +00:00
|
|
|
:font-size 14
|
|
|
|
:padding-right 5
|
|
|
|
:padding-bottom 2
|
|
|
|
:align-items :center
|
|
|
|
:justify-content :center})
|
2016-05-07 14:53:39 +00:00
|
|
|
|
|
|
|
(def tag-count
|
2016-08-04 15:36:13 +00:00
|
|
|
{:color "#838c93"
|
|
|
|
:font-size 12
|
2016-11-10 12:34:25 +00:00
|
|
|
:padding-right 6
|
2016-08-04 15:36:13 +00:00
|
|
|
:padding-bottom 2
|
|
|
|
:align-items :center
|
|
|
|
:justify-content :center})
|
2016-05-07 14:53:39 +00:00
|
|
|
|
|
|
|
(def tag-count-container
|
2016-08-04 15:36:13 +00:00
|
|
|
{:flex 0.2
|
|
|
|
:flex-direction "column"
|
|
|
|
:align-items "flex-end"
|
2016-11-10 12:34:25 +00:00
|
|
|
:padding-top 6
|
2016-08-04 15:36:13 +00:00
|
|
|
:padding-right 9})
|
2016-05-07 14:53:39 +00:00
|
|
|
|
2016-11-10 12:34:25 +00:00
|
|
|
(def separator
|
|
|
|
{:background-color "rgb(200, 199, 204)"
|
|
|
|
:height 0.5})
|
|
|
|
|
|
|
|
;; Popular list item
|
|
|
|
|
2016-05-07 14:53:39 +00:00
|
|
|
(def popular-list-container
|
2016-08-04 15:36:13 +00:00
|
|
|
{:flex 1
|
|
|
|
:background-color :white
|
2016-12-24 09:05:49 +00:00
|
|
|
:padding-top 18
|
|
|
|
:padding-left 16})
|
2016-05-07 14:53:39 +00:00
|
|
|
|
|
|
|
(def popular-list-item
|
2016-08-04 15:36:13 +00:00
|
|
|
{:flex-direction :row
|
2016-11-10 12:34:25 +00:00
|
|
|
:padding-bottom 16
|
|
|
|
:top 1})
|
2016-05-07 14:53:39 +00:00
|
|
|
|
|
|
|
(def popular-list-item-name
|
2016-11-10 12:34:25 +00:00
|
|
|
{:color "black"
|
|
|
|
:font-size 15
|
|
|
|
:padding-bottom 4})
|
2016-05-07 14:53:39 +00:00
|
|
|
|
|
|
|
(def popular-list-item-name-container
|
2016-08-04 15:36:13 +00:00
|
|
|
{:flex 0.8
|
2016-11-10 12:34:25 +00:00
|
|
|
:flex-direction "column"
|
|
|
|
:padding-top 16})
|
2016-05-07 14:53:39 +00:00
|
|
|
|
|
|
|
(def popular-list-item-avatar-container
|
2016-08-04 15:36:13 +00:00
|
|
|
{:flex 0.2
|
|
|
|
:flex-direction "column"
|
|
|
|
:align-items :center
|
2016-11-10 12:34:25 +00:00
|
|
|
:padding-top 16})
|
2016-05-07 14:53:39 +00:00
|
|
|
|
2016-11-22 16:07:33 +00:00
|
|
|
;; discover_recent
|
2016-05-07 14:53:39 +00:00
|
|
|
|
2016-11-10 12:34:25 +00:00
|
|
|
(def recent-container
|
|
|
|
{:background-color toolbar-background2})
|
|
|
|
|
2016-05-07 14:53:39 +00:00
|
|
|
(def recent-list
|
2016-08-04 15:36:13 +00:00
|
|
|
{:background-color :white
|
|
|
|
:padding-left 16})
|
2016-05-07 14:53:39 +00:00
|
|
|
|
2016-11-22 16:07:33 +00:00
|
|
|
;; Discover tag
|
2016-05-07 14:53:39 +00:00
|
|
|
|
2016-11-22 16:07:33 +00:00
|
|
|
(def discover-tag-toolbar
|
2016-11-10 12:34:25 +00:00
|
|
|
{:border-bottom-color "#D7D7D7"
|
|
|
|
:border-bottom-width 1})
|
|
|
|
|
2016-11-22 16:07:33 +00:00
|
|
|
(def discover-tag-container
|
2016-05-07 14:53:39 +00:00
|
|
|
{:flex 1
|
2016-12-05 10:50:47 +00:00
|
|
|
:backgroundColor color-light-gray})
|
2016-05-07 14:53:39 +00:00
|
|
|
|
2016-11-10 12:34:25 +00:00
|
|
|
(def tag-title-scroll
|
|
|
|
{:flex 1
|
|
|
|
:alignItems "center"
|
|
|
|
:justifyContent "center"})
|
|
|
|
|
2016-05-12 20:46:17 +00:00
|
|
|
(def tag-title-container
|
2016-05-23 10:13:06 +00:00
|
|
|
{:flex 1
|
|
|
|
:alignItems "center"
|
2016-08-19 13:14:59 +00:00
|
|
|
:justifyContent "center"
|
|
|
|
:flex-direction "row"})
|
2016-05-12 20:46:17 +00:00
|
|
|
|
2016-05-07 14:53:39 +00:00
|
|
|
(def tag-title
|
2017-01-25 17:20:37 +00:00
|
|
|
{:color color-blue
|
2016-08-19 13:14:59 +00:00
|
|
|
:font-size 14
|
|
|
|
:padding-right 5
|
|
|
|
:padding-bottom 2})
|
2016-05-07 14:53:39 +00:00
|
|
|
|
|
|
|
(def icon-back
|
2016-05-12 20:46:17 +00:00
|
|
|
{:width 8
|
|
|
|
:height 14})
|
2016-05-07 14:53:39 +00:00
|
|
|
|
|
|
|
(def icon-search
|
|
|
|
{:width 17
|
2016-05-11 10:53:38 +00:00
|
|
|
:height 17})
|
2016-05-13 13:58:14 +00:00
|
|
|
|
2016-11-22 16:07:33 +00:00
|
|
|
(def discover-container
|
2016-05-13 13:58:14 +00:00
|
|
|
{:flex 1
|
2016-11-10 12:34:25 +00:00
|
|
|
:backgroundColor color-white})
|
2016-05-13 13:58:14 +00:00
|
|
|
|
|
|
|
(def search-icon
|
|
|
|
{:width 17
|
|
|
|
:height 17})
|