2016-05-13 11:58:58 +00:00
|
|
|
(ns syng-im.discovery.styles
|
2016-05-07 14:53:39 +00:00
|
|
|
(:require [syng-im.components.styles :refer [font
|
|
|
|
title-font
|
|
|
|
color-white
|
|
|
|
chat-background
|
|
|
|
online-color
|
|
|
|
selected-message-color
|
|
|
|
separator-color
|
|
|
|
text1-color
|
|
|
|
text2-color
|
|
|
|
toolbar-background1]]))
|
|
|
|
|
|
|
|
;; common
|
|
|
|
|
|
|
|
(def row-separator
|
|
|
|
{:borderBottomWidth 1
|
|
|
|
:borderBottomColor "#eff2f3"})
|
|
|
|
|
|
|
|
(def row
|
2016-05-11 13:06:37 +00:00
|
|
|
{:flexDirection :row})
|
2016-05-07 14:53:39 +00:00
|
|
|
|
|
|
|
(def column
|
|
|
|
{:flexDirection "column"})
|
|
|
|
|
|
|
|
;; discovery.cljs
|
|
|
|
|
2016-05-11 10:53:38 +00:00
|
|
|
(def discovery-toolbar-content
|
|
|
|
{:flex 1
|
|
|
|
:alignItems :center
|
|
|
|
:justifyContent :center})
|
|
|
|
|
2016-05-07 14:53:39 +00:00
|
|
|
(def discovery-search-input
|
|
|
|
{:flex 1
|
|
|
|
:marginLeft 18
|
|
|
|
:lineHeight 42
|
|
|
|
:fontSize 14
|
|
|
|
:fontFamily "Avenir-Roman"
|
|
|
|
:color "#9CBFC0"})
|
|
|
|
|
|
|
|
(def discovery-title
|
|
|
|
{:color "#000000de"
|
2016-05-11 13:06:37 +00:00
|
|
|
:alignSelf :center
|
|
|
|
:textAlign :center
|
2016-05-07 14:53:39 +00:00
|
|
|
:fontFamily "sans-serif"
|
|
|
|
:fontSize 16})
|
|
|
|
|
|
|
|
(def discovery-toolbar
|
|
|
|
{:backgroundColor "#eef2f5"
|
|
|
|
:elevation 0})
|
|
|
|
|
|
|
|
(def discovery-subtitle
|
|
|
|
{:color "#8f838c93"
|
|
|
|
:fontFamily "sans-serif-medium"
|
|
|
|
:fontSize 14})
|
|
|
|
|
|
|
|
(def section-spacing
|
|
|
|
{:paddingLeft 30
|
|
|
|
:paddingTop 15
|
|
|
|
:paddingBottom 15})
|
|
|
|
|
|
|
|
;; discovery_popular.cljs
|
|
|
|
|
|
|
|
(def carousel-page-style
|
|
|
|
{:borderRadius 1
|
|
|
|
:shadowColor "black"
|
|
|
|
:shadowRadius 1
|
|
|
|
:shadowOpacity 0.8
|
|
|
|
:elevation 2
|
|
|
|
:marginBottom 10})
|
|
|
|
|
|
|
|
;; discovery_populat_list.cljs
|
|
|
|
|
|
|
|
(def tag-name
|
|
|
|
{:color "#7099e6"
|
|
|
|
:fontFamily "sans-serif-medium"
|
|
|
|
:fontSize 14
|
|
|
|
:paddingRight 5
|
|
|
|
:paddingBottom 2
|
2016-05-11 13:06:37 +00:00
|
|
|
:alignItems :center
|
|
|
|
:justifyContent :center})
|
2016-05-07 14:53:39 +00:00
|
|
|
|
|
|
|
(def tag-name-container
|
2016-05-09 18:22:02 +00:00
|
|
|
{:flexDirection "column"
|
|
|
|
:backgroundColor "#eef2f5"
|
2016-05-07 14:53:39 +00:00
|
|
|
:borderRadius 5
|
|
|
|
:padding 4})
|
|
|
|
|
|
|
|
(def tag-count
|
|
|
|
{:color "#838c93"
|
|
|
|
:fontFamily "sans-serif"
|
|
|
|
:fontSize 12
|
|
|
|
:paddingRight 5
|
|
|
|
:paddingBottom 2
|
2016-05-11 13:06:37 +00:00
|
|
|
:alignItems :center
|
|
|
|
:justifyContent :center})
|
2016-05-07 14:53:39 +00:00
|
|
|
|
|
|
|
(def tag-count-container
|
|
|
|
{:flex 0.2
|
2016-05-09 18:22:02 +00:00
|
|
|
:flexDirection "column"
|
2016-05-07 14:53:39 +00:00
|
|
|
:alignItems "flex-end"
|
|
|
|
:paddingTop 10
|
|
|
|
:paddingRight 9})
|
|
|
|
|
|
|
|
(def popular-list-container
|
|
|
|
{:flex 1
|
2016-05-11 13:06:37 +00:00
|
|
|
:backgroundColor :white
|
2016-05-07 14:53:39 +00:00
|
|
|
:paddingLeft 10
|
|
|
|
:paddingTop 16})
|
|
|
|
|
|
|
|
(def popular-list
|
2016-05-11 13:06:37 +00:00
|
|
|
{:backgroundColor :white
|
2016-05-07 14:53:39 +00:00
|
|
|
:paddingTop 13})
|
|
|
|
|
|
|
|
;; discover_popular_list_item.cjls
|
|
|
|
|
|
|
|
(def popular-list-item
|
2016-05-11 13:06:37 +00:00
|
|
|
{:flexDirection :row
|
2016-05-07 14:53:39 +00:00
|
|
|
:paddingTop 10
|
|
|
|
:paddingBottom 10})
|
|
|
|
|
|
|
|
(def popular-list-item-status
|
|
|
|
{:color "black"
|
|
|
|
:fontFamily "sans-serif"
|
|
|
|
:lineHeight 22
|
|
|
|
:fontSize 14})
|
|
|
|
|
|
|
|
(def popular-list-item-name
|
|
|
|
{:color "black"
|
|
|
|
:fontFamily "sans-serif-medium"
|
|
|
|
:fontSize 14
|
|
|
|
:lineHeight 24})
|
|
|
|
|
|
|
|
(def popular-list-item-name-container
|
|
|
|
{:flex 0.8
|
|
|
|
:flexDirection "column"})
|
|
|
|
|
|
|
|
(def popular-list-item-avatar-container
|
|
|
|
{:flex 0.2
|
|
|
|
:flexDirection "column"
|
2016-05-11 13:06:37 +00:00
|
|
|
:alignItems :center
|
2016-05-07 14:53:39 +00:00
|
|
|
:paddingTop 5})
|
|
|
|
|
|
|
|
(def popular-list-item-avatar
|
|
|
|
{:resizeMode "contain"
|
|
|
|
:borderRadius 150
|
|
|
|
:width 40
|
|
|
|
:height 40})
|
|
|
|
|
|
|
|
;; discovery_recent
|
|
|
|
|
|
|
|
(def recent-list
|
2016-05-11 13:06:37 +00:00
|
|
|
{:backgroundColor :white
|
2016-05-07 14:53:39 +00:00
|
|
|
:paddingLeft 15})
|
|
|
|
|
|
|
|
;; discovery_tag
|
|
|
|
|
|
|
|
(def discovery-tag-container
|
|
|
|
{:flex 1
|
|
|
|
:backgroundColor "#eef2f5"})
|
|
|
|
|
|
|
|
(def tag-title
|
|
|
|
{:color "#7099e6"
|
|
|
|
:fontFamily "sans-serif-medium"
|
|
|
|
:fontSize 14
|
|
|
|
:paddingRight 5
|
|
|
|
:paddingBottom 2})
|
|
|
|
|
|
|
|
(def tag-title-container
|
|
|
|
{:backgroundColor "#eef2f5"
|
|
|
|
:flexWrap :wrap
|
|
|
|
:borderRadius 5
|
|
|
|
:padding 4})
|
|
|
|
|
|
|
|
(def icon-back
|
|
|
|
{:width 8
|
|
|
|
:height 14})
|
|
|
|
|
|
|
|
(def icon-search
|
|
|
|
{:width 17
|
2016-05-11 13:06:37 +00:00
|
|
|
:height 17})
|
2016-05-13 13:58:14 +00:00
|
|
|
|
|
|
|
(def discovery-container
|
|
|
|
{:flex 1
|
|
|
|
:backgroundColor :#eef2f5})
|
|
|
|
|
|
|
|
(def hamburger-icon
|
|
|
|
{:width 16
|
|
|
|
:height 12})
|
|
|
|
|
|
|
|
(def search-icon
|
|
|
|
{:width 17
|
|
|
|
:height 17})
|