From 3565772ffb9362408600f69ae65a9ffe14dd0321 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Thu, 7 Jul 2011 08:45:51 +0200 Subject: [PATCH] split css into themes files + common file Signed-off-by: Gwenhael Le Moine --- star.js/css/star.css | 14 +++++++------- star.js/css/star_HP48.css | 7 +++++++ star.js/css/star_cyco001.css | 7 +++++++ star.js/css/star_cyco002.css | 7 +++++++ star.js/css/star_inversed.css | 7 +++++++ star.js/index.html | 1 + 6 files changed, 36 insertions(+), 7 deletions(-) create mode 100644 star.js/css/star_HP48.css create mode 100644 star.js/css/star_cyco001.css create mode 100644 star.js/css/star_cyco002.css create mode 100644 star.js/css/star_inversed.css diff --git a/star.js/css/star.css b/star.js/css/star.css index 166854c..1fe04e6 100644 --- a/star.js/css/star.css +++ b/star.js/css/star.css @@ -1,11 +1,11 @@ .gstar{float:left;width:100%} .gstar #blackboard{width:320px;height:180px;background:#333;float:left} .gstar #blackboard .starcell{width:20px;height:20px;display:block;float:left;text-align:center} -.gstar #blackboard .wall{background-image:url(../themes/HP48/tex_wall.png);color:#000} -.gstar #blackboard .ball{background-image:url(../themes/HP48/tex_ball.png);color:#99f} -.gstar #blackboard .cube{background-image:url(../themes/HP48/tex_cube.png);color:red} -.gstar #blackboard .ball_selected{background-image:url(../themes/HP48/tex_ball_selected.png);color:#99f} -.gstar #blackboard .cube_selected{background-image:url(../themes/HP48/tex_cube_selected.png);color:red} -.gstar #blackboard .gift{background-image:url(../themes/HP48/tex_gift.png);color:yellow} -.gstar #blackboard .void{background-image:url(../themes/HP48/tex_empty.png);} +.gstar #blackboard .wall{color:#000} +.gstar #blackboard .ball{color:#99f} +.gstar #blackboard .cube{color:red} +.gstar #blackboard .ball_selected{color:#99f} +.gstar #blackboard .cube_selected{color:red} +.gstar #blackboard .gift{color:yellow} +.gstar #blackboard .void{} .gstar aside{float:left;height:140px;width:120px;padding:20px;background:#ddd} diff --git a/star.js/css/star_HP48.css b/star.js/css/star_HP48.css new file mode 100644 index 0000000..884b664 --- /dev/null +++ b/star.js/css/star_HP48.css @@ -0,0 +1,7 @@ +.gstar #blackboard .wall{background-image:url(../themes/HP48/tex_wall.png);} +.gstar #blackboard .ball{background-image:url(../themes/HP48/tex_ball.png);} +.gstar #blackboard .cube{background-image:url(../themes/HP48/tex_cube.png);} +.gstar #blackboard .ball_selected{background-image:url(../themes/HP48/tex_ball_selected.png);} +.gstar #blackboard .cube_selected{background-image:url(../themes/HP48/tex_cube_selected.png);} +.gstar #blackboard .gift{background-image:url(../themes/HP48/tex_gift.png);} +.gstar #blackboard .void{background-image:url(../themes/HP48/tex_empty.png);} diff --git a/star.js/css/star_cyco001.css b/star.js/css/star_cyco001.css new file mode 100644 index 0000000..460ef43 --- /dev/null +++ b/star.js/css/star_cyco001.css @@ -0,0 +1,7 @@ +.gstar #blackboard .wall{background-image:url(../themes/cyco001/tex_wall.png);} +.gstar #blackboard .ball{background-image:url(../themes/cyco001/tex_ball.png);} +.gstar #blackboard .cube{background-image:url(../themes/cyco001/tex_cube.png);} +.gstar #blackboard .ball_selected{background-image:url(../themes/cyco001/tex_ball_selected.png);} +.gstar #blackboard .cube_selected{background-image:url(../themes/cyco001/tex_cube_selected.png);} +.gstar #blackboard .gift{background-image:url(../themes/cyco001/tex_gift.png);} +.gstar #blackboard .void{background-image:url(../themes/cyco001/tex_empty.png);} diff --git a/star.js/css/star_cyco002.css b/star.js/css/star_cyco002.css new file mode 100644 index 0000000..99d38b9 --- /dev/null +++ b/star.js/css/star_cyco002.css @@ -0,0 +1,7 @@ +.gstar #blackboard .wall{background-image:url(../themes/cyco002/tex_wall.png);} +.gstar #blackboard .ball{background-image:url(../themes/cyco002/tex_ball.png);} +.gstar #blackboard .cube{background-image:url(../themes/cyco002/tex_cube.png);} +.gstar #blackboard .ball_selected{background-image:url(../themes/cyco002/tex_ball_selected.png);} +.gstar #blackboard .cube_selected{background-image:url(../themes/cyco002/tex_cube_selected.png);} +.gstar #blackboard .gift{background-image:url(../themes/cyco002/tex_gift.png);} +.gstar #blackboard .void{background-image:url(../themes/cyco002/tex_empty.png);} diff --git a/star.js/css/star_inversed.css b/star.js/css/star_inversed.css new file mode 100644 index 0000000..43374a9 --- /dev/null +++ b/star.js/css/star_inversed.css @@ -0,0 +1,7 @@ +.gstar #blackboard .wall{background-image:url(../themes/inversed/tex_wall.png);} +.gstar #blackboard .ball{background-image:url(../themes/inversed/tex_ball.png);} +.gstar #blackboard .cube{background-image:url(../themes/inversed/tex_cube.png);} +.gstar #blackboard .ball_selected{background-image:url(../themes/inversed/tex_ball_selected.png);} +.gstar #blackboard .cube_selected{background-image:url(../themes/inversed/tex_cube_selected.png);} +.gstar #blackboard .gift{background-image:url(../themes/inversed/tex_gift.png);} +.gstar #blackboard .void{background-image:url(../themes/inversed/tex_empty.png);} diff --git a/star.js/index.html b/star.js/index.html index 9dbd02b..66f4e1d 100644 --- a/star.js/index.html +++ b/star.js/index.html @@ -18,6 +18,7 @@ +