[Common] changed layout for the huge buttons
This commit is contained in:
parent
71595d781c
commit
f751aac0ab
|
@ -120,7 +120,6 @@ define([
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var templateHugeCaption =
|
var templateHugeCaption =
|
||||||
'<div class="btn-group icon-top" id="<%= id %>" style="<%= style %>">' +
|
|
||||||
'<button type="button" class="btn dropdown-toggle <%= cls %>" data-toggle="dropdown">' +
|
'<button type="button" class="btn dropdown-toggle <%= cls %>" data-toggle="dropdown">' +
|
||||||
'<div class="inner-box-icon">' +
|
'<div class="inner-box-icon">' +
|
||||||
'<% if ( iconImg ) { %>' +
|
'<% if ( iconImg ) { %>' +
|
||||||
|
@ -130,17 +129,18 @@ define([
|
||||||
'<% } %>' +
|
'<% } %>' +
|
||||||
'</div>' +
|
'</div>' +
|
||||||
'<span class="caption"><%= caption %></span>' +
|
'<span class="caption"><%= caption %></span>' +
|
||||||
'</button>' +
|
'</button>';
|
||||||
'</div>';
|
|
||||||
|
|
||||||
var templateHugeMenuCaption =
|
var templateHugeMenuCaption =
|
||||||
'<div class="btn-group icon-top" id="<%= id %>" style="<%= style %>">' +
|
'<div class="btn-group icon-top" id="<%= id %>" style="<%= style %>">' +
|
||||||
'<button type="button" class="btn dropdown-toggle <%= cls %>" data-toggle="dropdown">' +
|
'<button type="button" class="btn dropdown-toggle <%= cls %>" data-toggle="dropdown">' +
|
||||||
|
'<div class="inner-box-icon">' +
|
||||||
'<% if ( iconImg ) { %>' +
|
'<% if ( iconImg ) { %>' +
|
||||||
'<img src="<%= iconImg %>">' +
|
'<img src="<%= iconImg %>">' +
|
||||||
'<% } else { %>' +
|
'<% } else { %>' +
|
||||||
'<i class="icon <%= iconCls %>"> </i>' +
|
'<i class="icon <%= iconCls %>"> </i>' +
|
||||||
'<% } %>' +
|
'<% } %>' +
|
||||||
|
'</div>' +
|
||||||
'<div class="inner-box-caption">' +
|
'<div class="inner-box-caption">' +
|
||||||
'<span class="caption"><%= caption %></span>' +
|
'<span class="caption"><%= caption %></span>' +
|
||||||
'<span class="caret img-commonctrl"></span>' +
|
'<span class="caret img-commonctrl"></span>' +
|
||||||
|
@ -151,7 +151,11 @@ define([
|
||||||
var templateHugeSplitCaption =
|
var templateHugeSplitCaption =
|
||||||
'<div class="btn-group x-huge split icon-top" id="<%= id %>" style="<%= style %>">' +
|
'<div class="btn-group x-huge split icon-top" id="<%= id %>" style="<%= style %>">' +
|
||||||
'<button type="button" class="btn <%= cls %> inner-box-icon">' +
|
'<button type="button" class="btn <%= cls %> inner-box-icon">' +
|
||||||
'<i class="icon <%= iconCls %>"> </i>' +
|
'<% if ( iconImg ) { %>' +
|
||||||
|
'<img src="<%= iconImg %>">' +
|
||||||
|
'<% } else { %>' +
|
||||||
|
'<i class="icon <%= iconCls %>"> </i>' +
|
||||||
|
'<% } %>' +
|
||||||
'</button>' +
|
'</button>' +
|
||||||
'<button type="button" class="btn <%= cls %> inner-box-caption dropdown-toggle" data-toggle="dropdown">' +
|
'<button type="button" class="btn <%= cls %> inner-box-caption dropdown-toggle" data-toggle="dropdown">' +
|
||||||
'<span class="caption"><%= caption %></span>' +
|
'<span class="caption"><%= caption %></span>' +
|
||||||
|
|
|
@ -85,7 +85,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-group.icon-top {
|
.icon-top {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue