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
html, body | |
{ | |
min-height: 100%; | |
background: linear-gradient(top, rgba(254, 235, 138, 1) 0, rgba(253, 220, 100, 1) 100%); | |
} | |
.close | |
{ | |
font-size: 14px; | |
position: absolute; |
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
.b-pulse_default | |
{ | |
font-size: 60px; | |
display:block; | |
margin: 0 auto; | |
width: 1em; | |
height: 1em; |
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
body, | |
html { | |
padding: 0; | |
margin: 0; | |
height: 100%; | |
} | |
.page { | |
position: relative; | |
height: 100%; |
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
body, | |
html { | |
padding: 0; | |
margin: 0; | |
height: 100%; | |
} | |
.page { | |
position: relative; | |
height: 100%; |
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
body, | |
html { | |
padding: 0; | |
margin: 0; | |
height: 100%; | |
} | |
.page { | |
position: relative; | |
height: 100%; |
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
body, | |
html { | |
padding: 0; | |
margin: 0; | |
height: 100%; | |
} | |
.page { | |
position: relative; | |
height: 100%; |
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
// data: { foo: { bar: { name: 'bar' } } } | |
match / { | |
apply .foo content | |
} | |
match .foo content { | |
mustBeConst = { bar: { name: 'new bar' } } | |
// клеим в foo новый bar | |
// получается { foo: { bar: [ { name: 'bar' }, { name: 'new bar' }] } } |
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
var jsonStorage = { | |
get: function(key) { | |
try { | |
return JSON.parse(localStorage.getItem(key)) || null; | |
} catch(e) { | |
return null; | |
} | |
}, | |
set: function(key, value) { | |
if (key && undefined !== value) { |
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
timec.i18n('en-US', function(frame, value) { | |
var plural = !(value[value.length - 1] == 1); | |
switch frame { | |
case this.DAY: { | |
return plural | |
? 'days' | |
: 'day' | |
} break; |
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
.list { | |
height: 100px; | |
overflow: hidden; | |
height: 100px; | |
} | |
.h { | |
height: 100%; | |
width: 1px; | |
border: 1px solid red; |
OlderNewer