Skip to content

Commit

Permalink
Improve clock colors; add custom themes bg
Browse files Browse the repository at this point in the history
  • Loading branch information
veloce committed Sep 26, 2019
1 parent 7483327 commit bc9c9b9
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 22 deletions.
16 changes: 8 additions & 8 deletions src/styl/custom_theme.styl
Original file line number Diff line number Diff line change
Expand Up @@ -10,50 +10,50 @@
&.anthracite
> main
background-position initial
background-image url('../../../../lichobile-themes/background/anthracite.jpg')
background-image url('../../../themes/background/anthracite.jpg')
&.space
.main_header.board .chip, .chip
color rgba(#120100, 0.9)
border-color rgba(#120100, 0.9)
> main
background-image url('../../../../lichobile-themes/background/space.jpg')
background-image url('../../../themes/background/space.jpg')
&.checkerboard
> main
background-image url('../../../../lichobile-themes/background/checkerboard.png')
background-image url('../../../themes/background/checkerboard.png')
.main_header.board .chip, .chip
color rgba(#0a160b, 0.9)
border-color rgba(#0a160b, 0.9)
&.blue-maze
> main
background-image url('../../../../lichobile-themes/background/blue-maze.jpg')
background-image url('../../../themes/background/blue-maze.jpg')
background-position bottom
.main_header.board .chip, .chip
color rgba(#041320, 0.9)
border-color rgba(#041320, 0.9)
&.green-maze
> main
background-image url('../../../../lichobile-themes/background/green-maze.jpg')
background-image url('../../../themes/background/green-maze.jpg')
background-position bottom
.main_header.board .chip, .chip
color rgba(#0a160b, 0.9)
border-color rgba(#0a160b, 0.9)
&.red-maze
> main
background-image url('../../../../lichobile-themes/background/red-maze.jpg')
background-image url('../../../themes/background/red-maze.jpg')
background-position bottom
.main_header.board .chip, .chip
color rgba(#170407, 0.9)
border-color rgba(#170407, 0.9)
&.wood
> main
background-position initial
background-image url('../../../../lichobile-themes/background/wood.jpg')
background-image url('../../../themes/background/wood.jpg')
.main_header.board .chip, .chip
color rgba(#1c0a07, 0.9)
border-color rgba(#1c0a07, 0.9)
&.bgshapes
> main
background-image url('../../../../lichobile-themes/background/bgshapes.jpg')
background-image url('../../../themes/background/bgshapes.jpg')

main, .main_header, .action_bar_button, .antagonistUser
color textTransp
Expand Down
24 changes: 13 additions & 11 deletions src/styl/game.styl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
display flex
overflow hidden
justify-content space-between
align-items stretch
align-items center
&.clockOnLeft
> .antagonistInfos
order 2
Expand Down Expand Up @@ -150,6 +150,7 @@
> .antagonistUser
font-size 1em
> .clock
padding 0 2vmin
line-height 30px
display inline-block
fluid-type(20px, 30px)
Expand Down Expand Up @@ -197,7 +198,7 @@
font-family 'Roboto'
text-align right
fluid-type(32px, 48px)
padding 0 2vmin
padding 1vmax 2vmin
color textDarkBg
background-color #262626
> seph
Expand All @@ -209,12 +210,10 @@
&.running
background-color darkGreen
color #fff
&.berserk
color #e35d5b
&.emerg
background-color #a00000
color #d0d0d0
background-color #502826
&.running
background-color lighten(#502826, 15%)
color #fff
&.correspondence
font-family inherit
Expand Down Expand Up @@ -474,7 +473,7 @@
.antagonistUser
color textDarkGray
.clock
color #707070
color lighten(themeBgLightText, 5%)
background-color themeBgLight
border-color #ccc
&.running
Expand All @@ -483,8 +482,10 @@
&.berserk
border-color #dc322f
&.emerg
background-color #efaaaa
color textDarkGray
background-color #f2cccc
&.running
color #000
background-color #e69999
&.correspondence
&.offline
background-color themeBgLight
Expand All @@ -499,9 +500,10 @@
&.running
color #fff
&.emerg
background-color rgba(#a00000, 0.6)
color #d0d0d0
color rgba(#8c8c8c, 0.8)
background-color rgba(#a00000, 0.4)
&.running
background-color rgba(lighten(#a00000, 30%), 0.4)
color #fff
.replay
background transpBlack04
Expand Down
3 changes: 0 additions & 3 deletions src/styl/offline-game.styl
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@
font-size 15px
line-height 1

.clock.outoftime
background-color #a00000

.antagonistInfos.crazy
>.antagonistUser
>.clockInfo
Expand Down
7 changes: 7 additions & 0 deletions themes/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# lichobile-themes

## Credits

blue-maze.jpg, green-maze.jpg, red-maze.jpg are wallpapers from [Untergunter](http://untergunter.deviantart.com/)

Original set, Closed Maze, available [here](http://untergunter.deviantart.com/art/Closed-Maze-176851625).
Binary file added themes/background/anthracite.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/background/bgshapes.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/background/blue-maze.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/background/checkerboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/background/earth.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/background/green-maze.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/background/red-maze.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/background/space.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/background/wood.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bc9c9b9

Please sign in to comment.