From 6a1241ac9d1378a241c15f3776c329da63ad8de5 Mon Sep 17 00:00:00 2001 From: Luke Barratt Date: Fri, 9 May 2014 22:38:14 +0100 Subject: [PATCH] Added gather player count Improved content spacing Colour tweaks --- .../images/layout/drop-menu-background.png | Bin 3628 -> 4741 bytes app/assets/stylesheets/_variables.scss | 4 +- .../stylesheets/components/_comments.scss | 2 +- app/assets/stylesheets/components/_forms.scss | 1 + .../stylesheets/components/_gather.scss | 25 ++++++++-- .../stylesheets/components/_shoutbox.scss | 22 +++++++++ app/assets/stylesheets/layout/_body.scss | 18 ++++--- app/assets/stylesheets/layout/_header.scss | 7 +++ .../stylesheets/layout/_navigation.scss | 20 ++++++-- app/assets/stylesheets/layout/_sidebar.scss | 44 ++++++------------ app/assets/stylesheets/pages/_matches.scss | 8 ++-- app/assets/stylesheets/pages/_news.scss | 12 +++-- app/assets/stylesheets/pages/_servers.scss | 2 +- app/assets/stylesheets/pages/_users.scss | 6 +++ app/views/application/_gather.html.erb | 0 app/views/application/_navigation.html.erb | 1 + app/views/articles/news_index.html.erb | 2 +- app/views/gathers/index.html.erb | 12 ++--- app/views/layouts/application.html.erb | 5 +- app/views/layouts/forums.html.erb | 1 - app/views/layouts/full.html.erb | 1 - app/views/polls/_show.html.erb | 4 +- app/views/users/agenda.html.erb | 6 +-- 23 files changed, 123 insertions(+), 80 deletions(-) delete mode 100644 app/views/application/_gather.html.erb diff --git a/app/assets/images/layout/drop-menu-background.png b/app/assets/images/layout/drop-menu-background.png index 4bb9e9bad83344000127075d1bc0a283503a8997..75d8941a71f7ea22a79f758190c7770df8c4140c 100644 GIT binary patch delta 3969 zcmb7{Sv=Ga_s1uD_H9TZvSlpIjD1O2l4U}eLL$bJJ;umBwlKmd+ZQqEXDQ2&3EB5h zBc(=Sm>)6rbx0!q-Td#K=i<3I%j@%cU!03`&g+~S@kesfI2)_$Je+4aK_C#1xtWRW z-&p_GBstjr`t;JA?$^?nnWW%q>ZUMlBO_x|6B8Khnwkz=2WqTo3N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9&q|zMkLd5raZv(C}&M0>$0-;Xf>tlMwS`#Jj;-EDny#=0PI%_%H&0(MI;p9aA|iE z)^qs@-2*Le$w`7>Eu#2`X7LXq#K~CC|p{jTCY~q~c z5^TjCzb9i*fB?cof0dr67mf075tho%Mi)T!Fvi0WU}~VE>4qOj36i@~R_CDAa_4wT z7<0Es%vb6m{}35@YNv1(8r15UbfwtXee2iG*IrjsmXM5#@P0r>n<2Mq*hs9#a7~ zFs+C?XF|x>f8w$~3b@KH0j*(}qE!R&)cXaCawoF~)JP}TtNqP7%rIe-+j29KeuENF z+E4A_F_DpO`DQmG;sEIP=~yTNq({ay0+cMcBw9wk)*2z1%xOwkE(0UVBMuVSU#Bh7 z=aATQ!h~{Yfu}O;1tl<1V=OYBa~*}6JJp?&r@sEMe`tiacvrASRi##6U0S`x{E95t zuN9kLVY1*%qqSpkHxxn?V6jeMRxDmxt=0y{ako)j_DMqQr;R$H7^V{<8G&I#RgcVb zeV7EOu#v})vul*cenqlX#Eiy6BjdD`5SbE`iRXdhq>Kv{SC3}BceSWmtVWPugWX6c zqlL3Be}We)GKP*}j%3y*p06F#43UQ+`m0FJ)`83lK-o7;%5&?A39`(XOedPN>2T!h zScmc7VjkwW>>Y@akgCLLe{!4=Qi-MtQ2kcb?kHG@8m1FssE1!#&17*hS=;;Z7Ezp} z2i~{!CQs>5r9s23+F4E?$oSIjUJ+e9mfZuze4e_JEKfF9*`@ge32 zy>xTj)jA$VLamUKwoHautgYncQXE&)9&t*RDax%zXx4Img*n}&_mz%5jeS{l7_amPdm%yq|d&FLW%f5_s+ zu0MckN7G9j$4u+U^B{#|&iNX|XVEyiGB`cj!yvs5cbU(&S0@WG%hfi*#>t;ma7;1% z9%hlVeABZ7q=VzR%O;8yHaGiR a { @@ -94,7 +109,7 @@ ul.navigation { ul { background: image-url('layout/drop-menu-background.png') top center repeat-y; - width: 130px; + width: 176px; position: absolute; box-shadow: $content-shadow; visibility: hidden; @@ -123,9 +138,8 @@ ul.navigation { white-space: nowrap; display: block; padding: 0 20px; - line-height: 40px; + line-height: 30px; height: 40px; - font-size: 12px; } &:hover a { diff --git a/app/assets/stylesheets/layout/_sidebar.scss b/app/assets/stylesheets/layout/_sidebar.scss index ad2813e..8781730 100644 --- a/app/assets/stylesheets/layout/_sidebar.scss +++ b/app/assets/stylesheets/layout/_sidebar.scss @@ -15,7 +15,13 @@ height: 75px; background: image-url('layout/sidebar-shadow.png') top center no-repeat; top: 0; - right: -15px; + right: -20px; + } + + &:first-child { + &:before { + display: none; + } } h4 { @@ -41,7 +47,7 @@ color: white; background: #5a5a5a; padding: 0 20px; - margin: 0 -15px 0 0; + margin: 0 (- $container-padding) 0 0; margin-bottom: 12px; font-weight: normal; line-height: 30px; @@ -84,6 +90,12 @@ float: none; } + .button { + clear: both; + display: block; + margin: 0 auto; + } + &:last-child { margin-bottom: 0; } @@ -94,10 +106,6 @@ */ .calendar { - &:before { - display: none; - } - .entry { margin-bottom: 0; } @@ -122,30 +130,6 @@ @include span-columns(12); margin-bottom: 10px; } - - .shoutmsg { - display: block; - clear: both; - - .user { - float: left; - padding: 0 5px 5px 0; - - .delete { - float: left; - } - - .username { - clear: right; - display: block; - } - - .time { - clear: left; - display: block; - } - } - } } /* diff --git a/app/assets/stylesheets/pages/_matches.scss b/app/assets/stylesheets/pages/_matches.scss index 275d190..4b6f036 100644 --- a/app/assets/stylesheets/pages/_matches.scss +++ b/app/assets/stylesheets/pages/_matches.scss @@ -31,7 +31,7 @@ div#match { $title-height: 100px; @include span-columns(12); - border-bottom: 3px solid $light-gray; + border-bottom: 3px solid $medium-gray; .contesters, .details, @@ -109,12 +109,12 @@ div#match { } .score-1 { - padding-left: 10px; + padding-left: 5px; left: 0; } .score-2 { - padding-right: 10px; + padding-right: 5px; right: 0; } } @@ -295,7 +295,7 @@ div#match { .report { margin: 20px 0; padding-top: 20px; - border-top: 3px solid $light-gray; + border-top: 3px solid $medium-gray; textarea { margin: 20px 0; diff --git a/app/assets/stylesheets/pages/_news.scss b/app/assets/stylesheets/pages/_news.scss index da61956..3125b12 100644 --- a/app/assets/stylesheets/pages/_news.scss +++ b/app/assets/stylesheets/pages/_news.scss @@ -2,9 +2,13 @@ Articles */ +#news { + margin-left: -20px; +} + div.article { @include span-columns(12); - border-bottom: 3px solid $light-gray; + border-bottom: 3px solid $medium-gray; padding-bottom: 20px; h1 { @@ -46,10 +50,10 @@ div.article { &.preview { @include span-columns(12); - padding: 20px 20px 20px 20px; + @include omega; + box-shadow: 0 15px 15px -10px rgba(0, 0, 0, 0.25); + padding: 20px; margin-bottom: 20px; - margin-left: -10px; - box-shadow: $content-shadow; border: 0; .content { diff --git a/app/assets/stylesheets/pages/_servers.scss b/app/assets/stylesheets/pages/_servers.scss index 408d234..2599272 100644 --- a/app/assets/stylesheets/pages/_servers.scss +++ b/app/assets/stylesheets/pages/_servers.scss @@ -10,7 +10,7 @@ @include span-columns(12); margin-bottom: 20px; padding-bottom: 20px; - border-bottom: 3px solid $light-gray; + border-bottom: 3px solid $medium-gray; position: relative; .connect { diff --git a/app/assets/stylesheets/pages/_users.scss b/app/assets/stylesheets/pages/_users.scss index 275e328..bd69cfe 100644 --- a/app/assets/stylesheets/pages/_users.scss +++ b/app/assets/stylesheets/pages/_users.scss @@ -138,6 +138,12 @@ form { @include span-columns(12); margin-bottom: 20px; + + &.inline { + width: auto; + display: inline; + margin: 0; + } } .tab { diff --git a/app/views/application/_gather.html.erb b/app/views/application/_gather.html.erb deleted file mode 100644 index e69de29..0000000 diff --git a/app/views/application/_navigation.html.erb b/app/views/application/_navigation.html.erb index dbb271f..b65656c 100644 --- a/app/views/application/_navigation.html.erb +++ b/app/views/application/_navigation.html.erb @@ -20,6 +20,7 @@