forked from x/volcanos
add some
This commit is contained in:
parent
2ba61c67a6
commit
b62f94974e
2
frame.js
2
frame.js
@ -801,7 +801,7 @@ Volcanos(chat.ONLAYOUT, {_init: function(can, target) { target = target||can._ro
|
|||||||
return layout
|
return layout
|
||||||
},
|
},
|
||||||
_float: function(can) { var target = can._fields||can._target, sup = can._fields? can.sup: can
|
_float: function(can) { var target = can._fields||can._target, sup = can._fields? can.sup: can
|
||||||
var height = can.base.Max(html.FLOAT_HEIGHT, can.page.height()-can.getHeaderHeight()-html.ACTION_HEIGHT), width = can.base.Max(html.FLOAT_WIDTH, can.page.width()-can.getRiverWidth())
|
var height = can.base.Max(html.FLOAT_HEIGHT, can.page.height()-can.getHeaderHeight()-html.ACTION_HEIGHT), width = can.base.Max(html.FLOAT_WIDTH, can.page.width()-can.getRiverWidth()-2*html.PLUGIN_MARGIN)
|
||||||
sup.onimport.size(sup, height, width, false), can.onappend.style(can, html.FLOAT)
|
sup.onimport.size(sup, height, width, false), can.onappend.style(can, html.FLOAT)
|
||||||
can.onmotion.resize(can, target, function(height, width) { sup.onimport.size(sup, height, width, false) }, can.getHeaderHeight(), can.getRiverWidth())
|
can.onmotion.resize(can, target, function(height, width) { sup.onimport.size(sup, height, width, false) }, can.getHeaderHeight(), can.getRiverWidth())
|
||||||
var left = can.getRiverWidth()+html.PLUGIN_MARGIN+html.PLUGIN_PADDING+(can.user.mod.isCmd? 0: 120), top = can.page.height()/4; if (can.user.isMobile) { left = 0 }
|
var left = can.getRiverWidth()+html.PLUGIN_MARGIN+html.PLUGIN_PADDING+(can.user.mod.isCmd? 0: 120), top = can.page.height()/4; if (can.user.isMobile) { left = 0 }
|
||||||
|
@ -57,7 +57,7 @@ body {
|
|||||||
--qrcode-height:364px; --qrcode-width:360px; --iframe-height:420px; --textarea-height:96px;
|
--qrcode-height:364px; --qrcode-width:360px; --iframe-height:420px; --textarea-height:96px;
|
||||||
--card-height:160px; --card-width:320px;
|
--card-height:160px; --card-width:320px;
|
||||||
--story-height:var(--float-height); --float-height:480px; --float-width:1200px;
|
--story-height:var(--float-height); --float-height:480px; --float-width:1200px;
|
||||||
--plug-height:var(--float-height); --plug-width:var(--float-width);
|
--plug-height:480px; --plug-width:var(--float-width);
|
||||||
--desktop-height:684px; --desktop-width:var(--float-width); --desktop-icon-size:80px;
|
--desktop-height:684px; --desktop-width:var(--float-width); --desktop-icon-size:80px;
|
||||||
--action-button:10; --table-button:5; --river-margin:80px; --action-margin:200px;
|
--action-button:10; --table-button:5; --river-margin:80px; --action-margin:200px;
|
||||||
--card-button:5;
|
--card-button:5;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user