@mixin valo-colorpicker-global ($primary-stylename: v-colorpicker) {
$valo-colorpicker-pathPrefix: null;
@if $v-relative-paths == false {
- $valo-colorpicker-pathPrefix: "../valo/components/img/colorpicker/";
+ $valo-colorpicker-pathPrefix: "../valo/components/";
}
.#{$primary-stylename}-popup.v-window {
}
.rgb-gradient .#{$primary-stylename}-gradient-background {
- background: url(#{$valo-colorpicker-pathPrefix}gradient2.png);
+ background: url(#{$valo-colorpicker-pathPrefix}img/colorpicker/gradient2.png);
}
.hsv-gradient .#{$primary-stylename}-gradient-foreground {
- background: url(#{$valo-colorpicker-pathPrefix}gradient.png);
+ background: url(#{$valo-colorpicker-pathPrefix}img/colorpicker/gradient.png);
}
.#{$primary-stylename}-gradient-higherbox {
}
.#{$primary-stylename}-popup .v-slider.hue-slider:before {
- background: url(#{$valo-colorpicker-pathPrefix}slider_hue_bg.png);
+ background: url(#{$valo-colorpicker-pathPrefix}img/colorpicker/slider_hue_bg.png);
}
.#{$primary-stylename}-popup input.v-textfield-dark {
@import "lora/lora";
+$fontawesome-pathPrefix: null;
+
+@if $v-relative-paths == true {
+ $fontawesome-pathPrefix: "../../../";
+}
+
@mixin valo-fonts {
// Font Awesome icons from the Base theme
- @include v-font(FontAwesome, "../base/fonts/fontawesome-webfont");
+ @include v-font(FontAwesome, "#{$fontawesome-pathPrefix}../base/fonts/fontawesome-webfont");
}
padding: round($v-unit-size/4);
margin-top: round($_size/-2);
margin-left: round($_size/-2);
- background: #fff url($valo-shared-pathPrefix + "img/spinner.gif") no-repeat 50%;
+ background: #fff url(#{$valo-shared-pathPrefix}img/spinner.gif) no-repeat 50%;
border-radius: $v-border-radius;
}
width: 28px !important;
height: 28px;
padding: round($v-unit-size/4);
- background: #fff url($valo-shared-pathPrefix + "img/spinner.gif") no-repeat 50%;
+ background: #fff url(#{$valo-shared-pathPrefix}img/spinner.gif) no-repeat 50%;
border-radius: $v-border-radius;
top: round($v-unit-size/4);
right: round($v-unit-size/4);
.v-ie9 & {
border: none;
border-radius: $v-border-radius;
- background: #fff url($valo-shared-pathPrefix + "img/spinner.gif") no-repeat 50% 50%;
+ background: #fff url(#{$valo-shared-pathPrefix}img/spinner.gif) no-repeat 50% 50%;
background-size: 80%;
}