Add focus for small buttons in modal window
This commit is contained in:
parent
1e7bb1667c
commit
6f4cb3f12e
|
@ -248,7 +248,7 @@ define([
|
|||
},
|
||||
|
||||
getFocusedComponents: function() {
|
||||
return [this.inputPurpose, this.inputName, this.cmbFonts, this.cmbFontSize];
|
||||
return [this.inputPurpose, this.inputName, this.cmbFonts, this.cmbFontSize, this.btnBold, this.btnItalic, this.btnSelectImage, this.btnChangeCertificate];
|
||||
},
|
||||
|
||||
show: function() {
|
||||
|
|
|
@ -1009,6 +1009,15 @@
|
|||
}
|
||||
}
|
||||
|
||||
.asc-window.modal {
|
||||
.btn-toolbar, .btn-group {
|
||||
&:focus:not(.disabled) {
|
||||
.box-shadow(0 0 0 @scaled-one-px-value-ie @border-control-focus-ie);
|
||||
.box-shadow(0 0 0 @scaled-one-px-value @border-control-focus);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.btn-large-dataview {
|
||||
display: inline-block;
|
||||
width: 72px;
|
||||
|
|
|
@ -1165,7 +1165,7 @@ define([ 'text!documenteditor/main/app/template/ImageSettingsAdvanced.templat
|
|||
|
||||
getFocusedComponents: function() {
|
||||
return [
|
||||
this.spnWidth, this.spnHeight, this.btnOriginalSize, // 0 tab
|
||||
this.spnWidth, this.btnRatio, this.spnHeight, this.btnOriginalSize, // 0 tab
|
||||
this.radioHSize, this.spnShapeWidth , this.spnShapeWidthPc, this.radioHSizePc, this.cmbWidthPc,
|
||||
this.radioVSize, this.spnShapeHeight, this.spnShapeHeightPc, this.radioVSizePc, this.cmbHeightPc, this.chRatio, // 1 tab
|
||||
this.spnAngle, this.chFlipHor, this.chFlipVert, // 2 tab
|
||||
|
|
|
@ -235,7 +235,7 @@ define([ 'text!presentationeditor/main/app/template/ChartSettingsAdvanced.tem
|
|||
|
||||
getFocusedComponents: function() {
|
||||
return [
|
||||
this.spnWidth, this.spnHeight, this.spnX, this.cmbFromX, this.spnY, this.cmbFromY, // 0 tab
|
||||
this.spnWidth, this.btnRatio, this.spnHeight, this.spnX, this.cmbFromX, this.spnY, this.cmbFromY, // 0 tab
|
||||
this.inputAltTitle, this.textareaAltDescription // 1 tab
|
||||
];
|
||||
},
|
||||
|
|
|
@ -250,7 +250,7 @@ define([ 'text!presentationeditor/main/app/template/ImageSettingsAdvanced.tem
|
|||
|
||||
getFocusedComponents: function() {
|
||||
return [
|
||||
this.spnWidth, this.spnHeight, this.btnOriginalSize, this.spnX, this.cmbFromX, this.spnY, this.cmbFromY,// 0 tab
|
||||
this.spnWidth, this.btnRatio, this.spnHeight, this.btnOriginalSize, this.spnX, this.cmbFromX, this.spnY, this.cmbFromY,// 0 tab
|
||||
this.spnAngle, this.chFlipHor, this.chFlipVert, // 1 tab
|
||||
this.inputAltTitle, this.textareaAltDescription // 2 tab
|
||||
];
|
||||
|
|
|
@ -580,7 +580,7 @@ define([ 'text!presentationeditor/main/app/template/ShapeSettingsAdvanced.tem
|
|||
|
||||
getFocusedComponents: function() {
|
||||
return [
|
||||
this.spnWidth, this.spnHeight, this.spnX, this.cmbFromX, this.spnY, this.cmbFromY, // 0 tab
|
||||
this.spnWidth, this.btnRatio, this.spnHeight, this.spnX, this.cmbFromX, this.spnY, this.cmbFromY, // 0 tab
|
||||
this.spnAngle, this.chFlipHor, this.chFlipVert, // 1 tab
|
||||
this.cmbCapType, this.cmbJoinType, // 2 tab
|
||||
this.radioNofit, this.radioShrink, this.radioFit, this.spnMarginTop, this.spnMarginLeft, this.spnMarginBottom, this.spnMarginRight, // 3 tab
|
||||
|
|
|
@ -431,7 +431,7 @@ define([ 'text!presentationeditor/main/app/template/TableSettingsAdvanced.tem
|
|||
|
||||
getFocusedComponents: function() {
|
||||
return [
|
||||
this.spnWidth, this.spnHeight, this.spnX, this.cmbFromX, this.spnY, this.cmbFromY, // 0 tab
|
||||
this.spnWidth, this.btnRatio, this.spnHeight, this.spnX, this.cmbFromX, this.spnY, this.cmbFromY, // 0 tab
|
||||
this.chCellMargins, this.spnMarginTop, this.spnMarginLeft, this.spnMarginBottom, this.spnMarginRight,
|
||||
this.spnTableMarginTop, this.spnTableMarginLeft, this.spnTableMarginBottom, this.spnTableMarginRight, // 1 tab
|
||||
this.inputAltTitle, this.textareaAltDescription // 2 tab
|
||||
|
|
|
@ -583,7 +583,7 @@ define([ 'text!spreadsheeteditor/main/app/template/ShapeSettingsAdvanced.temp
|
|||
|
||||
getFocusedComponents: function() {
|
||||
return [
|
||||
this.spnWidth, this.spnHeight, // 0 tab
|
||||
this.spnWidth, this.btnRatio, this.spnHeight, // 0 tab
|
||||
this.spnAngle, this.chFlipHor, this.chFlipVert, // 1 tab
|
||||
this.cmbCapType, this.cmbJoinType, // 2 tab
|
||||
this.chAutofit, this.chOverflow, this.spnMarginTop, this.spnMarginLeft, this.spnMarginBottom, this.spnMarginRight, // 3 tab
|
||||
|
|
|
@ -386,7 +386,7 @@ define([ 'text!spreadsheeteditor/main/app/template/SlicerSettingsAdvanced.tem
|
|||
|
||||
getFocusedComponents: function() {
|
||||
return [
|
||||
this.inputHeader, this.chHeader, this.numWidth, this.numHeight, this.numCols, this.numColHeight, // 0 tab
|
||||
this.inputHeader, this.chHeader, this.numWidth, this.btnRatio, this.numHeight, this.numCols, this.numColHeight, // 0 tab
|
||||
this.radioAsc, this.radioDesc, this.chHideNoData, this.chIndNoData, this.chShowNoData, // 1 tab
|
||||
this.inputName, // 2 tab
|
||||
this.radioTwoCell, this.radioOneCell, this.radioAbsolute, // 3 tab
|
||||
|
|
Loading…
Reference in a new issue