diff options
-rw-r--r-- | app/assets/stylesheets/widget.css | 92 |
1 files changed, 78 insertions, 14 deletions
diff --git a/app/assets/stylesheets/widget.css b/app/assets/stylesheets/widget.css index 29d9bb01e..1f730b3ea 100644 --- a/app/assets/stylesheets/widget.css +++ b/app/assets/stylesheets/widget.css @@ -1,24 +1,81 @@ +/* CSS Mini Reset */ + +html, body, div, form, fieldset, legend, label +{ + margin: 0; + padding: 0; +} + +table +{ + border-collapse: collapse; + border-spacing: 0; +} + +th, td +{ + text-align: left; + vertical-align: top; +} + +h1, h2, h3, h4, h5, h6, th, td, caption { font-weight:normal; } + +img { border: 0; } + +body { + background-color: #ffffff; + color: #333333; + padding: 0; + margin: 0; + font-family: "Helvetica Neue", Arial, Helvetica, Helmet, Freesans, sans-serif; + font-weight: normal; + font-style: normal; + line-height: 1.5em; + position: relative; + cursor: default; + font-size: 1em; +} + +a { + +} + +a:hover, +a:focus, +a:active { + color: #333; +} + .alaveteli-widget { width: 320px; height: 215px; - border: 1px solid; - background: url("widget-base.png") no-repeat; + border: 1px solid #e9e9e9; + background: #e9e9e9 url("widget-base.png") top left no-repeat; position: relative; } .alaveteli-widget__title { position: absolute; - top: 24px; - left: 22px; - width: 123px; - height: 80px; + top: 1em; + left: 16px; + width: 160px; overflow: hidden; } .alaveteli-widget__status { position: absolute; - top: 113px; - left: 27px; + top: 97px; + left: 16px; + font-weight: bold; + text-transform: uppercase; +} + +.alaveteli-widget__status__status-label { + margin: 0; + font-weight: normal; + font-size: 0.875em; + line-height: 1.1em; + color: #555; } .alaveteli-widget__left { @@ -28,13 +85,22 @@ .alaveteli-widget__count { position: absolute; - left: 176px; - top: 22px; + left: 192px; + top: 44px; width: 100px; font-size: 55px; text-align: center; } +.alaveteli-widget__people { + position: absolute; + left: 192px; + top: 83px; + width: 100px; + text-align: center; + line-height: 1.3em; +} + .alaveteli-widget__bottom a { text-decoration: none; } @@ -42,9 +108,7 @@ .alaveteli-widget__button { position: absolute; top: 173px; - left: 8px; - width: 151px; - height: 25px; - padding-top: 3px; + left: 16px; text-align: center; } + |