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
.some-class { | |
&__some-item { | |
&--active { | |
color: blue; | |
} | |
} | |
} |
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
// Demo artboard styles | |
html { | |
background: #f4f4f4; | |
font-size: 100%; | |
font-family: Roboto, Helvetica, sans-serif; | |
margin: 100px auto; | |
text-align: center; | |
-webkit-font-smoothing: antialiased; | |
} |
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
<script lang="ts"> | |
import { Vue, Prop, Component } from 'vue-property-decorator'; | |
import { VCard, VImg } from 'vuetify/lib/components'; | |
import type { HeroBanner, OverlayContent } from '../Hero.d'; | |
import Overlay from '../components/HeroOverlay.ts.vue'; | |
@Component({ | |
components: { |
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
#!/bin/sh | |
# Deploys current branch to Zoro team environment | |
# e.g. deploy-qa browse-d | |
deploy-qa() { | |
# Make sure current directory is clean | |
if [[ -n "$(git status --untracked-files=no --porcelain)" ]]; then | |
echo "Please commit your work before deploying to QA" | |
return 1 | |
fi |
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
.menu { | |
color: red; | |
& > * { | |
color: blue; | |
} | |
} | |
.submenu { | |
color: green; |
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
.menu { | |
color: red; | |
& > li { | |
color: blue; | |
} | |
} | |
.submenu { | |
color: green; |
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
.menu { | |
color: red; | |
& > li { | |
color: blue; | |
} | |
} | |
.submenu { | |
color: green; |
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
<?php | |
/** | |
* Convert rgb colors to hex | |
* | |
* @since TimberPress 1.0.0 | |
* @param string $hex Hex color code | |
* @return mixed rgb value | |
*/ | |
if ( ! function_exists( 'timberpress_rgb_to_hex' ) ) : | |
function timberpress_rgb_to_hex( $color ) { |
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
<?php | |
/** | |
* Convert hex colors to rgb | |
* | |
* @since TimberPress 1.0.0 | |
* @param string $hex Hex color code | |
* @return mixed rgb value | |
*/ | |
if ( ! function_exists( 'timberpress_hex_to_rgb' ) ) : | |
function timberpress_hex_to_rgb( $color ) { |
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
/** | |
* Foundation Gravity by Adam Jenkins | |
* Licensed under MIT Open Source | |
*/ | |
'use strict'; | |
!function ( $ ) { | |
/** |
NewerOlder