attain
Advanced tools
Comparing version 0.0.161 to 0.0.162
@@ -378,6 +378,6 @@ /* globals v */ | ||
` | ||
, | ||
{ hook: ({ dom }) => | ||
scale.map( x => dom.style.setProperty('--scale', x)) | ||
} | ||
, | ||
{ hook: ({ dom }) => | ||
scale.map( x => dom.style.setProperty('--scale', x)) | ||
} | ||
, v('.center' | ||
@@ -419,24 +419,15 @@ + v.css(` | ||
+ v.css` | ||
bc rgba(0,0,0,1) | ||
bc rgba(0,0,0,0.85) | ||
p 1em | ||
br 0.25em | ||
c white | ||
box-shadow 0px 0px 10px 1px rgba(0,0,0,0.1) | ||
position: relative | ||
box-shadow 0px 0px 10px 5px rgba(0,0,0,0.1) | ||
position: relative | ||
` | ||
, v('img' | ||
+ v.css` | ||
w 32px | ||
position absolute | ||
top: 8px; | ||
left: 8px; | ||
` | ||
, | ||
{ src: 'https://attain.harth.io/examples/globe.gif' | ||
} | ||
) | ||
, v('span'+v.css.pl('2em'), { | ||
hook: ({ dom }) => | ||
route.map(route.toURL).map( x => dom.textContent = x ) | ||
}) | ||
, v('span' | ||
, | ||
{ hook: ({ dom }) => | ||
route.map(route.toURL).map( x => dom.textContent = x ) | ||
} | ||
) | ||
) | ||
@@ -443,0 +434,0 @@ , v('.player' |
{ | ||
"name": "attain", | ||
"version": "0.0.161", | ||
"version": "0.0.162", | ||
"description": "A library for modelling and accessing data.", | ||
@@ -5,0 +5,0 @@ "main": "dist/attain.min.js", |
1578164
10598