Skip to content

Commit

Permalink
Fix for defining next-prev controls in defaults _settings.scc
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaspur committed Jan 2, 2014
1 parent 4063d85 commit 03df1f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/css/_settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ $z-index-base: 1040; // Base z-index o
$include-arrows: true; // Include styles for nav arrows
$controls-opacity: 0.65; // Opacity of controls
$controls-color: #FFF; // Color of controls
$controls-border-color: #3F3F3F; // Border color of controls
$inner-close-icon-color: #333; // Color of close button when inside
$controls-text-color: #CCC; // Color of preloader and "1 of X" indicator
$controls-text-color-hover: #FFF; // Hover color of preloader and "1 of X" indicator
Expand Down
9 changes: 5 additions & 4 deletions src/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ $z-index-base: 1040 !default; // Base z-index of popup
$include-arrows: true !default; // include styles for nav arrows
$controls-opacity: 0.65 !default;
$controls-color: #FFF !default;
$controls-border-color: #3F3F3F !default;
$inner-close-icon-color: #333 !default;
$controls-text-color: #CCC !default; // Color of preloader and "1 of X" indicator
$controls-text-color-hover: #FFF !default;
Expand Down Expand Up @@ -394,26 +395,26 @@ button {

&:after,
.mfp-a {
border-right: 17px solid #FFF;
border-right: 17px solid $controls-color;
margin-left: 31px;
}
&:before,
.mfp-b {
margin-left: 25px;
border-right: 27px solid #3f3f3f;
border-right: 27px solid $controls-border-color;
}
}

.mfp-arrow-right {
right: 0;
&:after,
.mfp-a {
border-left: 17px solid #FFF;
border-left: 17px solid $controls-color;
margin-left: 39px
}
&:before,
.mfp-b {
border-left: 27px solid #3f3f3f;
border-left: 27px solid $controls-border-color;
}
}
}
Expand Down

0 comments on commit 03df1f6

Please sign in to comment.