From d37cdfc91c368a345b1ea05fb064faf6da55e448 Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Fri, 26 Apr 2013 15:45:12 -0700 Subject: [PATCH] Squarer tabs --- style/client.css | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/style/client.css b/style/client.css index 1370a7746..d3e8b9064 100644 --- a/style/client.css +++ b/style/client.css @@ -55,7 +55,8 @@ body { height: 6px; background: #f8f8f8; border: solid 1px #AAAAAA; - margin: 4px 0 0 0; + border-left: 0; + margin: -1px 0 0 0; -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2); box-shadow: 0 1px 2px rgba(0,0,0,.2); @@ -76,6 +77,8 @@ body { } .tabbar a.button { outline: none; + display: inline-block; + height: 28px; cursor: pointer; text-align: center; text-decoration: none; @@ -102,6 +105,14 @@ body { top: 1px; border-radius: 0; box-shadow: none; + font-size: 11px; +} +.tabbar a.button i { + display: block; + text-align: center; + margin: 0 auto; + font-style: normal; + font-weight: bold; font-size: 14px; } .tabbar a.button:hover { @@ -140,17 +151,17 @@ body { border-top-right-radius: 5px; } .tabbar a.closable { - padding-right: 25px; + padding-right: 14px; } .tabbar .closebutton { display: inline-block; - margin: 0 0 0 -20px; - width: 20px; + margin: 0 0 0 -17px; + width: 17px; padding: 0; border: 0; position: relative; z-index: 11; - top: 1px; + top: -14px; text-decoration: none; font-size: 14px; @@ -158,7 +169,7 @@ body { text-shadow: none; } .tabbar a.cur + .closebutton { - top: 0; + top: -15px; } .tabbar .closebutton:hover { color: #BB2222; @@ -180,8 +191,6 @@ body { -webkit-overflow-scrolling: touch, overflow-scrolling: touch, } -.ps-room.ps-room-left { -} .ps-room.ps-room-right { } .ps-room.ps-room-light {