Skip to content

Commit

Permalink
Fixed homepage width on prod
Browse files Browse the repository at this point in the history
  • Loading branch information
ashabed committed May 27, 2015
1 parent 04a6784 commit 4066fc7
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 60 deletions.
92 changes: 44 additions & 48 deletions sites/all/themes/debug_academy_theme/css/debug_academy_theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -7403,7 +7403,7 @@ a.th {
*/
}
/* line 79, ../scss/debug_academy_theme.scss */
.front main.row {
.front main.row, .front section.row {
max-width: none;
}
/* line 82, ../scss/debug_academy_theme.scss */
Expand Down Expand Up @@ -7432,8 +7432,7 @@ a.th {
width: 50%;
}
/* line 106, ../scss/debug_academy_theme.scss */
.front #mini-panel-main_section h1 {
font-size: 4rem;
.front #mini-panel-main_section h1, .front #mini-panel-main_section h2 {
color: #FFFFFF;
}
/* line 111, ../scss/debug_academy_theme.scss */
Expand Down Expand Up @@ -7468,7 +7467,6 @@ a.th {
/* line 143, ../scss/debug_academy_theme.scss */
.front .panel-col-bottom .pane-block {
text-align: left;
font-size: 0.9rem;
margin: 1rem;
margin-bottom: 0;
background: rgba(128, 128, 128, 0.5);
Expand All @@ -7477,186 +7475,180 @@ a.th {
position: relative;
bottom: -2.8rem;
}
/* line 155, ../scss/debug_academy_theme.scss */
/* line 154, ../scss/debug_academy_theme.scss */
.front .main-pane {
text-align: left;
font-size: 0.9rem;
margin: 1rem;
margin-bottom: 0;
background: rgba(128, 128, 128, 0.5);
color: #FFFFFF;
display: inline-block;
position: relative;
bottom: -45px;
width: 355px;
}
/* line 167, ../scss/debug_academy_theme.scss */
/* line 166, ../scss/debug_academy_theme.scss */
.front .main-pane img {
display: block;
}
/* line 171, ../scss/debug_academy_theme.scss */
/* line 170, ../scss/debug_academy_theme.scss */
.front .left-padding {
padding-left: 1rem;
}
/* line 175, ../scss/debug_academy_theme.scss */
/* line 174, ../scss/debug_academy_theme.scss */
.front .right-padding {
padding-right: 1rem;
}
/* line 179, ../scss/debug_academy_theme.scss */
/* line 178, ../scss/debug_academy_theme.scss */
.front .panel-col-bottom .pane-title {
border-bottom: 0.15rem solid gray;
width: 4.8rem;
margin-left: 1rem;
}
/* line 185, ../scss/debug_academy_theme.scss */
/* line 184, ../scss/debug_academy_theme.scss */
.front .panel-separator {
display: none;
}
/* line 189, ../scss/debug_academy_theme.scss */
/* line 188, ../scss/debug_academy_theme.scss */
.front #mini-panel-main_section {
background-image: url("/sites/all/themes/debuga_theme2/images/main-image.png");
background-size: cover;
background-repeat: no-repeat;
margin-bottom: 3.4rem;
}
/* line 206, ../scss/debug_academy_theme.scss */
/* line 205, ../scss/debug_academy_theme.scss */
.front #mini-panel-logistics_section {
margin-top: 6rem;
margin-bottom: 3rem;
}
/* line 211, ../scss/debug_academy_theme.scss */
/* line 210, ../scss/debug_academy_theme.scss */
.front #tabs-logistics_section-middle {
border: none;
text-align: center;
}
/* line 215, ../scss/debug_academy_theme.scss */
/* line 214, ../scss/debug_academy_theme.scss */
.front #tabs-logistics_section-middle .item-list {
display: inline-block;
}
/* line 219, ../scss/debug_academy_theme.scss */
/* line 218, ../scss/debug_academy_theme.scss */
.front #tabs-logistics_section-middle .ui-tabs-panel {
text-align: left;
margin: 0 auto;
border: 0.2rem solid #E5E5E5;
width: 52rem;
}
/* line 226, ../scss/debug_academy_theme.scss */
/* line 225, ../scss/debug_academy_theme.scss */
.front .tab-header {
font-size: 1.4rem;
margin-top: 0;
}
/* line 231, ../scss/debug_academy_theme.scss */
/* line 230, ../scss/debug_academy_theme.scss */
.front #tabs-logistics_section-middle a {
text-decoration: none;
}
/* line 235, ../scss/debug_academy_theme.scss */
.front #tabs-logistics_section-middle p {
font-size: 0.8rem;
}
/* line 239, ../scss/debug_academy_theme.scss */
/* line 234, ../scss/debug_academy_theme.scss */
.front #tabs-logistics_section-middle .item-list a {
padding: 0;
margin: 0;
color: transparent;
width: 13.4375rem;
height: 10rem;
}
/* line 247, ../scss/debug_academy_theme.scss */
/* line 242, ../scss/debug_academy_theme.scss */
.front #tabs-logistics_section-middle li {
margin: 0.25rem;
}
/* line 252, ../scss/debug_academy_theme.scss */
/* line 247, ../scss/debug_academy_theme.scss */
.front #tabs-logistics_section-middle .ui-tabs-nav .first a {
background-image: url("/sites/all/themes/debuga_theme2/images/teaching-next-inactive.png");
background-size: contain;
background-repeat: no-repeat;
}
/* line 259, ../scss/debug_academy_theme.scss */
/* line 254, ../scss/debug_academy_theme.scss */
.front #tabs-logistics_section-middle .ui-tabs-nav li.first.ui-state-active a {
background-image: url("/sites/all/themes/debuga_theme2/images/teaching-next-active.png");
background-size: contain;
background-repeat: no-repeat;
}
/* line 266, ../scss/debug_academy_theme.scss */
/* line 261, ../scss/debug_academy_theme.scss */
.front #tabs-logistics_section-middle .ui-tabs-nav li:nth-child(2) a {
background-image: url("/sites/all/themes/debuga_theme2/images/class-over-inactive.png");
background-size: contain;
background-repeat: no-repeat;
}
/* line 273, ../scss/debug_academy_theme.scss */
/* line 268, ../scss/debug_academy_theme.scss */
.front #tabs-logistics_section-middle .ui-tabs-nav li:nth-child(2).ui-state-active a {
background-image: url("/sites/all/themes/debuga_theme2/images/class-over-active.png");
background-size: contain;
background-repeat: no-repeat;
}
/* line 280, ../scss/debug_academy_theme.scss */
/* line 275, ../scss/debug_academy_theme.scss */
.front #tabs-logistics_section-middle .ui-tabs-nav li:nth-child(3) a {
background-image: url("/sites/all/themes/debuga_theme2/images/location-tab-inactive.png");
background-size: contain;
background-repeat: no-repeat;
}
/* line 287, ../scss/debug_academy_theme.scss */
/* line 282, ../scss/debug_academy_theme.scss */
.front #tabs-logistics_section-middle .ui-tabs-nav li:nth-child(3).ui-state-active a {
background-image: url("/sites/all/themes/debuga_theme2/images/location-tab-active.png");
background-size: contain;
background-repeat: no-repeat;
}
/* line 294, ../scss/debug_academy_theme.scss */
/* line 289, ../scss/debug_academy_theme.scss */
.front #tabs-logistics_section-middle .ui-tabs-nav .last a {
background-image: url("/sites/all/themes/debuga_theme2/images/payment-tab-inactive.png");
background-size: contain;
background-repeat: no-repeat;
}
/* line 301, ../scss/debug_academy_theme.scss */
/* line 296, ../scss/debug_academy_theme.scss */
.front #tabs-logistics_section-middle .ui-tabs-nav li.last.ui-state-active a {
background-image: url("/sites/all/themes/debuga_theme2/images/payment-tab-active.png");
background-size: contain;
background-repeat: no-repeat;
}
/* line 307, ../scss/debug_academy_theme.scss */
/* line 302, ../scss/debug_academy_theme.scss */
.front #tabs-logistics_section-middle ul, .front #tabs-logistics_section-middle li {
background: none;
border: none;
}
/* line 321, ../scss/debug_academy_theme.scss */
/* line 316, ../scss/debug_academy_theme.scss */
.front #join-movement {
background-image: url("/sites/all/themes/debuga_theme2/images/movement-bg.png");
background-size: cover;
background-repeat: no-repeat;
margin-bottom: 3rem;
padding-bottom: 3rem;
}
/* line 329, ../scss/debug_academy_theme.scss */
/* line 324, ../scss/debug_academy_theme.scss */
.front #join-movement .pane-title {
padding-top: 3rem;
margin: 0;
font-size: 3rem;
color: #FFFFFF;
}
/* line 336, ../scss/debug_academy_theme.scss */
/* line 331, ../scss/debug_academy_theme.scss */
.front #apply-today, .front #teaching-next, .front #class-over, .front #next-location, .front #payment-info,
.front #apply-now, .front #hire-class {
font-size: 0;
color: transparent;
line-height: 0;
}
/* line 353, ../scss/debug_academy_theme.scss */
/* line 348, ../scss/debug_academy_theme.scss */
.front #how-different {
width: 54rem;
font-size: 0.9rem;
margin: 3rem auto;
}
/* line 359, ../scss/debug_academy_theme.scss */
/* line 353, ../scss/debug_academy_theme.scss */
.front #how-different .pane-title {
margin-bottom: 0;
font-size: 1.3rem;
}
/* line 364, ../scss/debug_academy_theme.scss */
/* line 357, ../scss/debug_academy_theme.scss */
.front #how-different .pane-content ul {
margin: 0;
padding: 0;
display: inline-block;
}
/* line 370, ../scss/debug_academy_theme.scss */
/* line 363, ../scss/debug_academy_theme.scss */
.front #how-different .pane-content li {
list-style: none;
background: url("/sites/all/themes/debuga_theme2/images/orange-check.png") no-repeat left top;
Expand All @@ -7665,36 +7657,40 @@ a.th {
text-align: left;
vertical-align: middle;
}
/* line 379, ../scss/debug_academy_theme.scss */
/* line 372, ../scss/debug_academy_theme.scss */
.front .left {
text-align: left;
}
/* line 392, ../scss/debug_academy_theme.scss */
/* line 385, ../scss/debug_academy_theme.scss */
.front #grad-stats {
background-image: url("/sites/all/themes/debuga_theme2/images/statistics-bg.png");
background-size: cover;
background-repeat: no-repeat;
margin-bottom: 3rem;
padding-bottom: 3rem;
}
/* line 400, ../scss/debug_academy_theme.scss */
/* line 393, ../scss/debug_academy_theme.scss */
.front #grad-stats .pane-title {
padding-top: 3rem;
margin: 0;
color: #FFFFFF;
}
@media all and (max-width: 920px) {
/* line 408, ../scss/debug_academy_theme.scss */
/* line 401, ../scss/debug_academy_theme.scss */
.front #tabs-logistics_section-middle .ui-tabs-panel {
width: auto;
display: block !important;
}
/* line 409, ../scss/debug_academy_theme.scss */
/* line 402, ../scss/debug_academy_theme.scss */
.front #how-different {
width: auto;
}
/* line 410, ../scss/debug_academy_theme.scss */
/* line 403, ../scss/debug_academy_theme.scss */
.front #tabs-logistics_section-middle .item-list {
display: none;
}
/* line 404, ../scss/debug_academy_theme.scss */
.front .main-pane {
bottom: 80px;
}
}
19 changes: 7 additions & 12 deletions sites/all/themes/debug_academy_theme/scss/debug_academy_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

/* Header */
.front {
main.row {
main.row, section.row {
max-width: none;
}
.column, .columns {
Expand All @@ -102,9 +102,9 @@
#mini-panel-main_section .panel-col{
width:50%;
}

#mini-panel-main_section h1, #mini-panel-main_section h2{

#mini-panel-main_section h1{
font-size: 4rem;
color: #FFFFFF;
}

Expand Down Expand Up @@ -142,7 +142,6 @@
/*Students and Employers blocks*/
.panel-col-bottom .pane-block {
text-align: left;
font-size: 0.9rem;
margin: 1rem;
margin-bottom:0;
background: rgba(128, 128, 128, .5);
Expand All @@ -154,14 +153,14 @@

.main-pane{
text-align: left;
font-size: 0.9rem;
margin: 1rem;
margin-bottom:0;
background: rgba(128, 128, 128, .5);
color: #FFFFFF;
display: inline-block;
position:relative;
bottom: -45px;
width: 355px;
}

.main-pane img{
Expand Down Expand Up @@ -232,10 +231,6 @@
text-decoration:none;
}

#tabs-logistics_section-middle p{
font-size: 0.8rem;
}

#tabs-logistics_section-middle .item-list a{
padding: 0;
margin: 0;
Expand Down Expand Up @@ -352,13 +347,11 @@
*/
#how-different{
width: 54rem;
font-size:0.9rem;
margin: 3rem auto;
}

#how-different .pane-title{
margin-bottom: 0;
font-size: 1.3rem;
}

#how-different .pane-content ul{
Expand Down Expand Up @@ -408,5 +401,7 @@
#tabs-logistics_section-middle .ui-tabs-panel{width:auto; display:block !important;}
#how-different{width:auto;}
#tabs-logistics_section-middle .item-list{display:none;}
.main-pane { bottom:80px; }

}
}
}

0 comments on commit 4066fc7

Please sign in to comment.