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
return { | |
restrict: 'A', | |
template: '<div class="btn-confirm-wrapper">' + | |
'<p class="btn-confirm-popover-message">{{ message }}</p>' + | |
'<div class="btn-group btn-confirm-popover-btns">' + | |
'<button type="button" class="btn btn-icon btn-small btn-important" data-ng-click-"visible = false"><i class="icon-cross"></i></button>' + | |
'<button type="button" class="btn btn-icon btn-small btn-success" data-ng-click-"handler()"><i class="icon-tick"></i></button>' + | |
'</div>' + | |
'<div class="btn-group">' + | |
'<div data-ng-transclude style="float: left"></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
ಠ_ಠ |
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
mixin line(opts) | |
- var opts = opts || {}; | |
tr.line | |
td.gutter(height="1", width=gutterWidth) | |
| | |
td.u-grey(height="1", colspan=opts.colspan || "1") | |
| | |
td.gutter(height="1", width=gutterWidth) | |
| |
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
.line | |
td | |
font-size 1px | |
line-height 1px |
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
{ | |
questionnaireId: '1', | |
q1_age: { | |
question: 'What is your age?', | |
type: 'open-text-numeric', | |
meta: { | |
min: 5, | |
max: 15 | |
} | |
}, |
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
/* ========================================================================== | |
Dropdown | |
========================================================================== */ | |
.dropdown | |
border 1px solid $color-black | |
overflow hidden | |
background $color-white url("../img/arrow-select.png") no-repeat right 50% | |
width 100% | |
position relative |
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
<!doctype html> | |
<html> | |
<body> | |
<header class="header" role="banner"> | |
<a href="/" rel="home">My company</a> | |
<nav class="nav" role="navigation"> | |
<a href="/about">About</a> | |
<a href="/contact">Contact</a> | |
</nav> | |
</header> |
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 createViews(communities) { | |
communities.forEach(function(community) { | |
if (community.college !== '') { | |
var communityView = ''; | |
communityView += 'h1 ' + community.college + '\n' ; |
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
for num in (1..360) | |
.pie[data-start=\"{num}\"] | |
transform: rotate((num)deg); |
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
<snippet> | |
<content><![CDATA[console.log('$1', $1);]]></content> | |
<tabTrigger>log</tabTrigger> | |
<scope>text.html,source.js</scope> | |
<description>console.log()</description> | |
</snippet> |