Permalink
Browse files

FIX: CSS styles being applied in unwated areas

- fixed CSS for centering Store's front page being applied on other
pages such as apps pages and steamcommunity.com
  • Loading branch information...
JoiNNN committed Feb 3, 2017
1 parent fecb174 commit 4594df83e1e9af38dd66379eca2056f42f109be8
Showing with 46 additions and 39 deletions.
  1. +0 −39 css/enhancedsteam.css
  2. +38 −0 css/store.steampowered.com/store_front.css
  3. +8 −0 manifest.json
View
@@ -2278,45 +2278,6 @@ input[type=checkbox].es_dlc_selection:checked + label {
font-size: 11px;
}
/***************************************
* Store front
* customize_home_page()
**************************************/
/* Sidebar */
@media (min-width: 1208px) {
div#global_header .content,
body.es_homepage_sidebar_hidden:not(.no_home_gutter) .home_page_body_ctn .page_background_holder {
right: 0 !important;
}
body.es_homepage_sidebar_hidden:not(.no_home_gutter) .home_page_content,
.footer_content,
.hardware_ctn {
padding-left: 16px !important;
}
}
@media (min-width: 1208px) and (max-width: 1440px) {
body:not(.es_homepage_sidebar_hidden) div#global_header .content {
right: -110px !important;
}
}
@media (min-width: 1442px) {
body.es_homepage_sidebar_hidden:not(.no_home_gutter) .home_page_content,
.footer_content,
.hardware_ctn {
padding-right: 16px !important;
}
}
body.es_homepage_sidebar_hidden .home_page_gutter {
opacity: 0;
}
/* Carousel */
div.home_cluster_ctn.home_ctn {
transition: padding 0.50s;
}
body.es_homepage_carousel_hidden div.home_cluster_ctn.home_ctn {
padding: 0;
}
/***************************************
* Wishlists
* wishlist_add_ratings()
@@ -0,0 +1,38 @@
/***************************************
* Store front
* customize_home_page()
**************************************/
/* Sidebar */
@media (min-width: 1208px) {
div#global_header .content,
body.es_homepage_sidebar_hidden:not(.no_home_gutter) .home_page_body_ctn .page_background_holder {
right: 0 !important;
}
body.es_homepage_sidebar_hidden:not(.no_home_gutter) .home_page_content,
.footer_content,
.hardware_ctn {
padding-left: 16px !important;
}
}
@media (min-width: 1208px) and (max-width: 1440px) {
body:not(.es_homepage_sidebar_hidden) div#global_header .content {
right: -110px !important;
}
}
@media (min-width: 1442px) {
body.es_homepage_sidebar_hidden:not(.no_home_gutter) .home_page_content,
.footer_content,
.hardware_ctn {
padding-right: 16px !important;
}
}
body.es_homepage_sidebar_hidden .home_page_gutter {
opacity: 0;
}
/* Carousel */
div.home_cluster_ctn.home_ctn {
transition: padding 0.50s;
}
body.es_homepage_carousel_hidden div.home_cluster_ctn.home_ctn {
padding: 0;
}
View
@@ -201,6 +201,14 @@
"css": [
"css/es_sites_links.css"
]
},
{
"matches": [
"*://store.steampowered.com/"
],
"css": [
"css/store.steampowered.com/store_front.css"
]
}
]
}

0 comments on commit 4594df8

Please sign in to comment.