-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ecomm-method' of https://github.com/volusion-angular/theme
- Loading branch information
Showing
17 changed files
with
193 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
'use strict'; | ||
|
||
function appendTokenToUrl(url, token) { | ||
var separator = (url.indexOf('?') > -1) ? '&' : '?'; | ||
return url + separator + '_=' + token; | ||
} | ||
|
||
angular.module('volusion.filters').filter('cacheBust', [ | ||
'tokenGenerator', | ||
function(tokenGenerator) { | ||
return function(url) { | ||
if (!url || !url.trim()) { | ||
return url; | ||
} | ||
return appendTokenToUrl(url, tokenGenerator.getCacheBustingToken()._); | ||
}; | ||
} | ||
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,6 @@ | |
@include respond-to(md-and-up) { | ||
.th-cart-summary { | ||
position: relative; | ||
top: 30px; | ||
right: 13px; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,110 +1,67 @@ | ||
.th-search { | ||
display: none; | ||
} | ||
|
||
.th-search--small__input { | ||
text-transform: uppercase; | ||
font-family: $font-family-condensed-reg; | ||
font-size: 1.4rem; | ||
color: map-get($colors, text); | ||
float: left; | ||
padding: 12px 10px; | ||
border: 0; | ||
width: 80%; | ||
background: map-get($colors, component-bg); | ||
} | ||
|
||
.th-search--small__btn { | ||
float: right; | ||
border: 0; | ||
font-size: 1.5rem; | ||
padding-top: 12px; | ||
padding-bottom: 11px; | ||
padding-right: 4px; | ||
|
||
&:hover { | ||
background: none; | ||
} | ||
} | ||
|
||
.th-search--small__group { | ||
width: 100%; | ||
margin-bottom: 0; | ||
overflow: hidden; | ||
} | ||
padding: 0 10px 0; | ||
margin-top: 15px; | ||
min-width: 48px; | ||
height: 48px; | ||
position: relative; | ||
|
||
@include respond-to(md-and-up) { | ||
|
||
|
||
.th-search { | ||
@include respond-to(md-and-up) { | ||
@include inline-block; | ||
padding: 0; | ||
margin: 0; | ||
padding: 0; | ||
border: 0; | ||
border-bottom: 0; | ||
height: 46px; | ||
} | ||
|
||
.glyphicon-search { | ||
display: inline; | ||
} | ||
|
||
.th-search__group { | ||
width: 0; | ||
} | ||
|
||
.th-search__input { | ||
display: none; | ||
margin: 0; | ||
width: 100%; | ||
&__input { | ||
cursor: pointer; | ||
border-color: map-get($colors, border); | ||
border-width: 1px; | ||
border-style: solid; | ||
background: transparent; | ||
padding: 10px; | ||
height: 48px; | ||
width: 100%; | ||
|
||
@include respond-to(md-and-up) { | ||
width: 48px; | ||
height: 40px; | ||
z-index:3; | ||
text-indent: -99px; | ||
position: absolute; | ||
top: 3px; | ||
right: 8px; | ||
border-color: transparent; | ||
} | ||
|
||
.th-search__btn { | ||
background: map-get($colors, btnDefaultBg); | ||
border-color: map-get($colors, border--lightest); | ||
color: map-get($colors, text--light); | ||
width: 30px; | ||
padding:0; | ||
font-size: 1.6rem; | ||
&:focus { | ||
|
||
&:hover { | ||
background: none; | ||
} | ||
} | ||
outline: none; | ||
|
||
&:hover { | ||
.th-search__group { | ||
@include respond-to(md-and-up) { | ||
@include single-transition(all, 200ms, ease); | ||
width: 205px; | ||
} | ||
|
||
.th-search__input { | ||
@include inline-block; | ||
border-color: map-get($colors, border); | ||
width: 200px; | ||
text-indent: 0; | ||
z-index: 1; | ||
} | ||
} | ||
|
||
} | ||
|
||
.th-search--small { | ||
display: none; | ||
} | ||
|
||
} | ||
|
||
@include respond-to(lg) { | ||
|
||
.th-search { | ||
@include inline-block; | ||
|
||
.th-search__group { | ||
height: 31px; | ||
} | ||
|
||
.th-search__input { | ||
display: none; | ||
margin: 0; | ||
&__submit { | ||
position: absolute; | ||
background: transparent; | ||
border: 0; | ||
top: 14px; | ||
right: 19px; | ||
z-index:2; | ||
|
||
@include respond-to(md-and-up) { | ||
top: 15px; | ||
right: 13px; | ||
} | ||
|
||
} | ||
|
||
.th-search--small { | ||
display: none; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
@import "bootstrap/forms"; | ||
|
||
.input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group { | ||
border-right: 0; | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.