From 30268ab3bcdc4a69d7865bdd69f339139982da41 Mon Sep 17 00:00:00 2001 From: chris Date: Thu, 20 Dec 2012 13:52:23 +0800 Subject: [PATCH] Remove useless css --- app/assets/stylesheets/modulestore.css | 259 ------------------- app/assets/stylesheets/templatestore.css.erb | 170 ------------ 2 files changed, 429 deletions(-) delete mode 100644 app/assets/stylesheets/modulestore.css delete mode 100644 app/assets/stylesheets/templatestore.css.erb diff --git a/app/assets/stylesheets/modulestore.css b/app/assets/stylesheets/modulestore.css deleted file mode 100644 index ef265aeb..00000000 --- a/app/assets/stylesheets/modulestore.css +++ /dev/null @@ -1,259 +0,0 @@ -ul, li{ - margin: 0; - list-style: none; -} -body{ - color: #000; - font-family: helvetica, arial, sans-serif; -} -.md-bg{ - padding-top: 30px; - background: #e8eef5; - max-height: 300px; -} -.md-store{ - margin: 0 40px; - min-width: 780px; -} -.modulestore .header{ - width: 780px; - margin: 0 auto; -} -.home{ - margin: 39px 0 0 18px; - background: url(<%= asset_path 'modulestore/h1_bg.png' %>) left top no-repeat; - width: 174px; - height: 39px; - display: block; -} -.home:hover{ - -moz-transition: all 0.1s ease-in-out; - -ms-transition: all 0.1s ease-in-out; - -webkit-transition: all 0.1s ease-in-out; - transition: all 0.1s ease-in-out; - opacity: .85; -} -.home:active{ - position: relative; - top: 1px; -} -.home a{ - text-indent: -9999px; - display: block; -} -.slide{ - position: relative; -} -.slide-wrap{ - position: relative; - width: 780px; - margin: 0 auto; -} -.slide{ - margin: 25px 0 55px 0; - width: 740px; - height: 220px; -} -.slide-nav a{ - overflow: hidden; - position: absolute; - top: 50%; - left: 10px; - width: 40px; - height: 40px; - margin-top: -20px; - font-size: 50px; - font-weight: 100; - line-height: 30px; - color: #fff; - text-align: center; - background: #999; - border: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - opacity: 1; - filter: alpha(opacity=100); - z-index: 10; -} -.slide-nav a{ - display: block; - text-decoration: none; -} -.slide-nav .next { - right: 10px; - left: auto; - background: #999; -} -.slide-nav .next:hover{ - background: #529bdf; - opacity: 1; - filter: alpha(opacity=100); -} -.slide-nav .prev:hover{ - background: #529bdf; - opacity: 1; - filter: alpha(opacity=100); -} -.slide-feature{ - background: url(<%= asset_path 'modulestore/carousel_feature.png' %>) left top no-repeat; - width: 435px; - height: 305px; - position: absolute; - right: 60px; - top: -25px; - z-index: 9; -} -.app{ - width: 240px; -} -.app-list a{ - width: 200px; - height: 200px; - overflow: hidden; - display: block; - background: #00699f; - position: relative; - margin: 0 0 40px 0; - -webkit-box-shadow: 0px 2px 10px 0px #a3a3a3; - box-shadow: 0px 2px 10px 0px #a3a3a3; -} -.app-list .detail{ - background: #f0f0f0; - position: absolute; - width: 180px; - bottom: 0; - left: 0; - padding: 10px 10px 5px 10px; -} -.app-list .detail .apptitle{ - display: block; - font-size: 13px; - margin-bottom: 2px; -} -.app-list .detail .apptitle:hover{ - text-decoration: underline; -} -.app-list .detail .apptitle:active{ - position: relative; - top: 1px; -} - -.app-list .detail .price{ - font-size: 12px; - color: #76787a; -} - -/* module detail page */ -.modulestore-detail .header{ - margin-bottom: 30px; -} -.breadcrumb{ - background: none; - font-size: 12px; - margin: 10px 0 0 0; - padding: 0; - font-style: italic; -} -.left-col.span3{ - width: 170px; -} -.app-icon{ - border: 1px solid #ddd; - margin: 0 0 5px 0; -} -.price.btn.btn-primary{ - margin: 0 0 5px 10px; -} -.downloads{ - font-size: 12px; - color: #363636; -} -.downloads span{ - color: #727272; -} -.who-are-using-this-apps, .recommends{ - font-size: 12px; - padding: 0; - margin: 7px 0; - line-height: 1.9; -} -.download-meta ul li{ - font-size: 11px; - padding-left: 5px; -} -.recommend-thumbs{ - margin: 0 0 0 15px; -} -.recommend-thumbs img{ - display: inline-block; - border: 1px solid #dcdcdc; - margin-bottom: 10px; -} -.recommend-thumbs a:hover img{ - -moz-transition: all 0.1s ease-in-out; - -ms-transition: all 0.1s ease-in-out; - -webkit-transition: all 0.1s ease-in-out; - transition: all 0.1s ease-in-out; - opacity: .85; -} -.right-col.span6{ - width: 530px; -} -.right-col h2{ - font-size: 24px; - color: #3e94e4; - font-weight: 100; - line-height: 28px; -} -.right-col h3{ - color: #363636; - font-size: 15px; - font-weight: 100; - margin: 8px 0; - line-height: 20px; -} -.app-description{ - color: #5d5d5d; - font-size: 12px; -} - -.screenshots .slide{ - width: 580px; - height: 360px; -} -.detail-slide-nav { - text-align: center; - z-index: 50; - position: absolute; - bottom: 0; - left: 0; - background: #000000; - opacity: .75; - width: 580px; - line-height: 20px; -} -.detail-slide-nav a{ - color: #fff; - background: #fff; - margin: 0 7px 0 0; - -webkit-border-radius: 5px; - border-radius: 5px; - height: 10px; - width: 10px; - display: inline-block; - overflow: hidden; -} -.detail-slide-nav a:hover{ - color: #4bbaf3; - background: #4bbaf3; - text-decoration: none; -} -.detail-slide-nav a.activeSlide { - background: #4bbaf3; - color: #4bbaf3; -} -.detail-slide-nav a:focus { - outline: none; -} - diff --git a/app/assets/stylesheets/templatestore.css.erb b/app/assets/stylesheets/templatestore.css.erb deleted file mode 100644 index 4ebb750a..00000000 --- a/app/assets/stylesheets/templatestore.css.erb +++ /dev/null @@ -1,170 +0,0 @@ -ul, li{ - margin: 0; - list-style: none; -} -body{ - color: #000; - font-family: helvetica, arial, sans-serif; -} -.tp-store{ - margin: 0 40px; - min-width: 780px; -} -.home{ - margin: 39px 0 0 18px; - background: url(<%= asset_path 'templatestore/h1_bg.png' %>) left top no-repeat; - width: 195px; - height: 42px; - display: block; -} -.home:hover{ - -moz-transition: all 0.1s ease-in-out; - -ms-transition: all 0.1s ease-in-out; - -webkit-transition: all 0.1s ease-in-out; - transition: all 0.1s ease-in-out; - opacity: .85; -} -.home:active{ - position: relative; - top: 1px; -} -.home a{ - text-indent: -9999px; - display: block; -} -.header{ - margin-bottom: 35px; -} - -.template-list a{ - width: 200px; - height: 200px; - overflow: hidden; - display: block; - background: #00699f; - position: relative; - margin: 0 0 40px 0; - -webkit-box-shadow: 0px 2px 10px 0px #a3a3a3; - box-shadow: 0px 2px 10px 0px #a3a3a3; -} -.template-list .detail{ - background: #f0f0f0; - position: absolute; - width: 180px; - bottom: 0; - left: 0; - padding: 10px 10px 5px 10px; -} -.template-list .detail .template-title{ - display: block; - font-size: 13px; - margin-bottom: 2px; -} -.template-list .detail .template-title:hover{ - text-decoration: underline; -} -.template-list .detail .template-title:active{ - position: relative; - top: 1px; -} - -.template-list .detail .price{ - font-size: 12px; - color: #76787a; -} - -/* orbit template detail page*/ -.orbit_template_detail .header{ - margin-bottom: 30px; -} -.breadcrumb{ - background: none; - font-size: 12px; - margin: 10px 0 0 0; - padding: 0; - font-style: italic; -} -.left-col.span3{ - width: 170px; -} -.template-icon{ - border: 1px solid #ddd; - margin: 0 0 5px 0; -} -.price.btn.btn-primary{ - margin: 0 0 5px 10px; -} -.views{ - font-size: 12px; - color: #363636; -} -.views span{ - color: #727272; -} -.view-meta{ - margin-left: 17px; -} -.view-meta ul li{ - font-size: 11px; - padding-left: 5px; -} -.right-col.span6{ - width: 530px; -} -.right-col h2{ - font-size: 24px; - color: #3e94e4; - font-weight: 100; - line-height: 28px; -} -.right-col h3{ - color: #363636; - font-size: 15px; - font-weight: 100; - margin: 8px 0; - line-height: 20px; -} -.template-description{ - color: #5d5d5d; - font-size: 12px; -} - -.screenshots .slide{ - width: 580px; - height: 360px; -} -.detail-slide-nav { - text-align: center; - z-index: 50; - position: absolute; - bottom: 0; - left: 0; - background: #000000; - opacity: .75; - width: 580px; - line-height: 20px; -} -.detail-slide-nav a{ - color: #fff; - background: #fff; - margin: 0 7px 0 0; - -webkit-border-radius: 5px; - border-radius: 5px; - height: 10px; - width: 10px; - display: inline-block; - overflow: hidden; -} -.detail-slide-nav a:hover{ - color: #4bbaf3; - background: #4bbaf3; - text-decoration: none; -} -.detail-slide-nav a.activeSlide { - background: #4bbaf3; - color: #4bbaf3; -} -.detail-slide-nav a:focus { - outline: none; -} -