[FFmpeg-cvslog] [ffmpeg-web] branch master updated. 97160e3 web/style.less: colors: Reindent and use more obvious functions

gitolite ffmpeg-cvslog at ffmpeg.org
Wed Nov 12 21:48:51 CET 2014


The branch, master has been updated
       via  97160e33b8c28babe65e92f3e8b0f0f756bee00e (commit)
      from  9cb26dfa9ab71a28043513960a508d2b3e9815e9 (commit)


- Log -----------------------------------------------------------------
commit 97160e33b8c28babe65e92f3e8b0f0f756bee00e
Author:     Timothy Gu <timothygu99 at gmail.com>
AuthorDate: Thu Nov 6 18:55:55 2014 -0800
Commit:     Michael Niedermayer <michaelni at gmx.at>
CommitDate: Wed Nov 12 21:47:01 2014 +0100

    web/style.less: colors: Reindent and use more obvious functions
    
    Reviewed-by: db0 company <db0company at gmail.com>

diff --git a/src/less/style.less b/src/less/style.less
index 7de443b..c9ebdc8 100644
--- a/src/less/style.less
+++ b/src/less/style.less
@@ -24,18 +24,25 @@ SOFTWARE.
 // ************************************************************************* //
 // COLORS
 
- at Cmain: #313131;
- at Cmaindark: darken(@Cmain, 5%);
- at Cmaindarkdark: darken(@Cmaindark, 5%);
- at Cmainlight: lighten(@Cmain, 5%);
- at Cmainlightlight: lighten(@Cmainlight, 50%);
- at Cborder: #101010;
- at Cinvert: darken(#fff, 10%);
- at Csecond: darken(#4cae4c, 0%);
- at Cseconddark: darken(@Csecond, 10%);
- at Cseconddarkdark: darken(@Cseconddark, 10%);
- at Csecondlight: lighten(@Csecond, 15%);
- at Csecondlightlight: lighten(@Csecondlight, 20%);
+// Main black color and its shades.
+ at Cmain:                 hsl(0, 0%,    19%);
+ at Cmaindark:          darken(@Cmain,    5%);
+ at Cmaindarkdark:      darken(@Cmain,   10%);
+ at Cborder:            darken(@Cmain,   13%);
+ at Cmainlight:        lighten(@Cmain,    5%);
+ at Cmainlightlight:   lighten(@Cmain,   55%);
+
+// Complete invert of the main black theme.
+ at Cinvert:               hsl(0, 0%,    90%);
+
+// The green theme colors and its shades.
+ at Csecond:                   #4cae4c;
+ at Cseconddark:        darken(@Csecond, 10%);
+ at Cseconddarkdark:    darken(@Csecond, 20%);
+ at Csecondlight:      lighten(@Csecond, 15%);
+ at Csecondlightlight: lighten(@Csecond, 35%);
+
+// The red theme color.
 @Cwarning: #ae4c4c;
 
 // ************************************************************************* //

-----------------------------------------------------------------------

Summary of changes:
 src/less/style.less |   31 +++++++++++++++++++------------
 1 files changed, 19 insertions(+), 12 deletions(-)


hooks/post-receive
-- 



More information about the ffmpeg-cvslog mailing list