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
<div class="row"> | |
<div class="col-2 column"> | |
<div style="background: red; height: 50px;"></div> | |
</div> | |
<div class="col-7 column"> | |
<div style="background: red; height: 50px;"></div> | |
</div> | |
<div class="col-3 column"> | |
<div style="background: red; height: 50px;"></div> | |
</div> |
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
<div class="btn btn-with-icon btn-medium"> | |
<span>Button</span> | |
<span class="arrow-icon"></span> | |
</div> |
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
<p>Columns with gutter</p> | |
<div class="row " style="background: #f0f0f0; width: 1008px;"> | |
<div class="col-6 column"> | |
<div>6-col</div> | |
</div> | |
<div class="col-6 column"> | |
<div>6-col</div> | |
</div> | |
<br/><br/> | |
<div class="col-4 column"> |
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
<p>Columns with gutter</p> | |
<div class="row " style="background: #f0f0f0; width: 1008px;"> | |
<div class="col-6 column"> | |
<div>6-col</div> | |
</div> | |
<div class="col-6 column"> | |
<div>6-col</div> | |
</div> | |
</div> | |
<div class="row"> |
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
/** | |
* [Filter] phone number filter | |
* Usage: {{ phoneNumber | {prefix} {range} {range} {range} }} | |
* {prefix} - e.g. {+48} | |
* {range} - e.g. {3} or {2-3} | |
* -> where first number in {2-3} defines slicing when string.length equals 7, | |
* second defines slicing for length equal 9 | |
*/ | |
angular.module('app').filter('phoneNumber', function() { |
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
/** | |
* [Directive] apply styles according to current window width | |
* @example | |
* | |
* <div media-style="{ '768': 'background: red;', '1024': 'background: blue;' }"></div> | |
*/ | |
angular.module('app') | |
.directive('mediaStyle', ['$window', '$timeout', | |
function($window, $timeout) { |
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
(function(document, window) { | |
var element = document.getElementById('hide-scroll'); | |
var elementHeight = element.clientHeight; | |
var elementTop = praseInt(element.style.top, 10) || 0; | |
var distance = elementTop; | |
/** | |
* Get delta from 'mousewheel' | |
* @param {Object} e event object |
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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
.interactions { | |
& { | |
background: green; | |
} | |
body { |
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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
.interactions { | |
& { | |
background: 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
{ | |
"name": "My Application", | |
"short_name": "My App", | |
"start_url": "./?utm_source=web_app_manifest", | |
"display": "standalone", | |
"orientation": "portrait", | |
"background_color": "#4cc1fc", | |
"theme_color": "#222222", | |
"icons": [ | |
{ |
OlderNewer