Skip to content

Commit

Permalink
+ 0.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
bbeaulant committed Apr 9, 2017
1 parent 85dfff0 commit c1416f2
Show file tree
Hide file tree
Showing 11 changed files with 134 additions and 116 deletions.
3 changes: 2 additions & 1 deletion CHANGLOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ in 0.x versions.

* 0.4.6

* Saving Dialog's size
* Saving Dialog's size (SU 17 only)
* Sticky tab header

* 0.4.5 (2017-01-14)

Expand Down
Binary file modified dist/ladb_toolbox.rbz
Binary file not shown.
90 changes: 45 additions & 45 deletions src/ladb_toolbox/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
*/

/*!
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=8db8852aca3047654f0cf7cde51d426a)
* Config saved to config.json and https://gist.github.com/8db8852aca3047654f0cf7cde51d426a
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=c9ae12d210956f55d49a6d3fc99d0eb5)
* Config saved to config.json and https://gist.github.com/c9ae12d210956f55d49a6d3fc99d0eb5
*/
/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
Expand Down Expand Up @@ -424,7 +424,7 @@ p {
font-weight: 300;
line-height: 1.4;
}
@media (min-width: 900px) {
@media (min-width: 850px) {
.lead {
font-size: 21px;
}
Expand Down Expand Up @@ -580,7 +580,7 @@ dt {
dd {
margin-left: 0;
}
@media (min-width: 900px) {
@media (min-width: 1250px) {
.dl-horizontal dt {
float: left;
width: 160px;
Expand Down Expand Up @@ -716,19 +716,19 @@ pre code {
padding-left: 10px;
padding-right: 10px;
}
@media (min-width: 900px) {
@media (min-width: 850px) {
.container {
width: 770px;
width: 720px;
}
}
@media (min-width: 1100px) {
@media (min-width: 1050px) {
.container {
width: 970px;
width: 920px;
}
}
@media (min-width: 1300px) {
@media (min-width: 1250px) {
.container {
width: 1170px;
width: 1120px;
}
}
.container-fluid {
Expand Down Expand Up @@ -903,7 +903,7 @@ pre code {
.col-xs-offset-0 {
margin-left: 0%;
}
@media (min-width: 900px) {
@media (min-width: 850px) {
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
float: left;
}
Expand Down Expand Up @@ -1061,7 +1061,7 @@ pre code {
margin-left: 0%;
}
}
@media (min-width: 1100px) {
@media (min-width: 1050px) {
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
float: left;
}
Expand Down Expand Up @@ -1219,7 +1219,7 @@ pre code {
margin-left: 0%;
}
}
@media (min-width: 1300px) {
@media (min-width: 1250px) {
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
float: left;
}
Expand Down Expand Up @@ -1572,7 +1572,7 @@ table th[class*="col-"] {
overflow-x: auto;
min-height: 0.01%;
}
@media screen and (max-width: 899px) {
@media screen and (max-width: 849px) {
.table-responsive {
width: 100%;
margin-bottom: 15px;
Expand Down Expand Up @@ -2041,7 +2041,7 @@ select[multiple].input-lg {
margin-bottom: 10px;
color: #737373;
}
@media (min-width: 900px) {
@media (min-width: 850px) {
.form-inline .form-group {
display: inline-block;
margin-bottom: 0;
Expand Down Expand Up @@ -2107,7 +2107,7 @@ select[multiple].input-lg {
margin-left: -10px;
margin-right: -10px;
}
@media (min-width: 900px) {
@media (min-width: 850px) {
.form-horizontal .control-label {
text-align: right;
margin-bottom: 0;
Expand All @@ -2117,13 +2117,13 @@ select[multiple].input-lg {
.form-horizontal .has-feedback .form-control-feedback {
right: 10px;
}
@media (min-width: 900px) {
@media (min-width: 850px) {
.form-horizontal .form-group-lg .control-label {
padding-top: 11px;
font-size: 18px;
}
}
@media (min-width: 900px) {
@media (min-width: 850px) {
.form-horizontal .form-group-sm .control-label {
padding-top: 6px;
font-size: 12px;
Expand Down Expand Up @@ -2761,7 +2761,7 @@ tbody.collapse.in {
bottom: 100%;
margin-bottom: 2px;
}
@media (min-width: 900px) {
@media (min-width: 1250px) {
.navbar-right .dropdown-menu {
left: auto;
right: 0;
Expand Down Expand Up @@ -3184,7 +3184,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
top: auto;
left: auto;
}
@media (min-width: 900px) {
@media (min-width: 850px) {
.nav-tabs.nav-justified > li {
display: table-cell;
width: 1%;
Expand All @@ -3202,7 +3202,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
.nav-tabs.nav-justified > .active > a:focus {
border: 1px solid #dddddd;
}
@media (min-width: 900px) {
@media (min-width: 850px) {
.nav-tabs.nav-justified > li > a {
border-bottom: 1px solid #dddddd;
border-radius: 0 0 0 0;
Expand Down Expand Up @@ -3249,7 +3249,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
top: auto;
left: auto;
}
@media (min-width: 900px) {
@media (min-width: 850px) {
.nav-justified > li {
display: table-cell;
width: 1%;
Expand All @@ -3270,7 +3270,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
.nav-tabs-justified > .active > a:focus {
border: 1px solid #dddddd;
}
@media (min-width: 900px) {
@media (min-width: 850px) {
.nav-tabs-justified > li > a {
border-bottom: 1px solid #dddddd;
border-radius: 0 0 0 0;
Expand Down Expand Up @@ -4353,7 +4353,7 @@ button.close {
height: 50px;
overflow: scroll;
}
@media (min-width: 900px) {
@media (min-width: 850px) {
.modal-dialog {
width: 600px;
margin: 30px auto;
Expand All @@ -4366,7 +4366,7 @@ button.close {
width: 300px;
}
}
@media (min-width: 1100px) {
@media (min-width: 1050px) {
.modal-lg {
width: 900px;
}
Expand Down Expand Up @@ -4714,7 +4714,7 @@ button.close {
.visible-lg-inline-block {
display: none !important;
}
@media (max-width: 899px) {
@media (max-width: 849px) {
.visible-xs {
display: block !important;
}
Expand All @@ -4729,22 +4729,22 @@ button.close {
display: table-cell !important;
}
}
@media (max-width: 899px) {
@media (max-width: 849px) {
.visible-xs-block {
display: block !important;
}
}
@media (max-width: 899px) {
@media (max-width: 849px) {
.visible-xs-inline {
display: inline !important;
}
}
@media (max-width: 899px) {
@media (max-width: 849px) {
.visible-xs-inline-block {
display: inline-block !important;
}
}
@media (min-width: 900px) and (max-width: 1099px) {
@media (min-width: 850px) and (max-width: 1049px) {
.visible-sm {
display: block !important;
}
Expand All @@ -4759,22 +4759,22 @@ button.close {
display: table-cell !important;
}
}
@media (min-width: 900px) and (max-width: 1099px) {
@media (min-width: 850px) and (max-width: 1049px) {
.visible-sm-block {
display: block !important;
}
}
@media (min-width: 900px) and (max-width: 1099px) {
@media (min-width: 850px) and (max-width: 1049px) {
.visible-sm-inline {
display: inline !important;
}
}
@media (min-width: 900px) and (max-width: 1099px) {
@media (min-width: 850px) and (max-width: 1049px) {
.visible-sm-inline-block {
display: inline-block !important;
}
}
@media (min-width: 1100px) and (max-width: 1299px) {
@media (min-width: 1050px) and (max-width: 1249px) {
.visible-md {
display: block !important;
}
Expand All @@ -4789,22 +4789,22 @@ button.close {
display: table-cell !important;
}
}
@media (min-width: 1100px) and (max-width: 1299px) {
@media (min-width: 1050px) and (max-width: 1249px) {
.visible-md-block {
display: block !important;
}
}
@media (min-width: 1100px) and (max-width: 1299px) {
@media (min-width: 1050px) and (max-width: 1249px) {
.visible-md-inline {
display: inline !important;
}
}
@media (min-width: 1100px) and (max-width: 1299px) {
@media (min-width: 1050px) and (max-width: 1249px) {
.visible-md-inline-block {
display: inline-block !important;
}
}
@media (min-width: 1300px) {
@media (min-width: 1250px) {
.visible-lg {
display: block !important;
}
Expand All @@ -4819,37 +4819,37 @@ button.close {
display: table-cell !important;
}
}
@media (min-width: 1300px) {
@media (min-width: 1250px) {
.visible-lg-block {
display: block !important;
}
}
@media (min-width: 1300px) {
@media (min-width: 1250px) {
.visible-lg-inline {
display: inline !important;
}
}
@media (min-width: 1300px) {
@media (min-width: 1250px) {
.visible-lg-inline-block {
display: inline-block !important;
}
}
@media (max-width: 899px) {
@media (max-width: 849px) {
.hidden-xs {
display: none !important;
}
}
@media (min-width: 900px) and (max-width: 1099px) {
@media (min-width: 850px) and (max-width: 1049px) {
.hidden-sm {
display: none !important;
}
}
@media (min-width: 1100px) and (max-width: 1299px) {
@media (min-width: 1050px) and (max-width: 1249px) {
.hidden-md {
display: none !important;
}
}
@media (min-width: 1300px) {
@media (min-width: 1250px) {
.hidden-lg {
display: none !important;
}
Expand Down
6 changes: 3 additions & 3 deletions src/ladb_toolbox/css/bootstrap.min.css

Large diffs are not rendered by default.

28 changes: 16 additions & 12 deletions src/ladb_toolbox/js/plugins/jquery.ladb.toolbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
var that = this;
if (that.maximized) {

// Unbind window
// Unbind window.onresize
window.onresize = undefined;

rubyCallCommand('core_dialog_minimize', null, function () {
Expand All @@ -127,17 +127,21 @@
that.$btnMaximize.hide();
that.maximized = true;

// Bind window
window.onresize = function () {
var windowWidth = $(window).width();
var windowHeight = $(window).height();
if (windowWidth > 0 && windowHeight > 0) {
rubyCallCommand('core_dialog_resized', {
width: windowWidth + that.frameBorderW,
height: windowHeight + that.frameBorderH
});
}
};
if (that.capabilities.htmlDialogCompatible) {

// Bind window.onresize
window.onresize = function () {
var windowWidth = $(window).width();
var windowHeight = $(window).height();
if (windowWidth > 0 && windowHeight > 0) {
rubyCallCommand('core_dialog_resized', {
width: windowWidth + that.frameBorderW,
height: windowHeight + that.frameBorderH
});
}
};

}

});
}
Expand Down
3 changes: 0 additions & 3 deletions src/ladb_toolbox/less/global/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,3 @@ body {
padding-bottom: 30px;
}

.ladb-container {
padding-top: 20px;
}
Loading

0 comments on commit c1416f2

Please sign in to comment.