Giancarlo Panichi 6 years ago
parent
commit
1a5fdb7342
  1. 2
      src/com/sencha/gxt/theme/neptune/client/ButtonDetails.java
  2. 6
      src/com/sencha/gxt/theme/neptune/client/base/button/Css3ButtonCell.css
  3. 6
      src/com/sencha/gxt/theme/neptune/client/base/button/Css3ButtonCellToolBar.css

2
src/com/sencha/gxt/theme/neptune/client/ButtonDetails.java

@ -44,7 +44,7 @@ public interface ButtonDetails {
@TypeDetails(sampleValue = "#e5e5e5 0%, #aeafaf 50%, #b5b5b5 51%, #aeafaf", comment = "the mouseover state gradient")
String overGradient();
@TypeDetails(sampleValue = "util.padding(3)", comment = "the button's padding")
@TypeDetails(sampleValue = "util.padding(0)", comment = "the button's padding")
EdgeDetails padding();
@TypeDetails(sampleValue = "#dbdbdb 0%, #a3a3a3 50%, #9e9e9e 51%, #a3a3a3", comment = "the pressed state gradient")

6
src/com/sencha/gxt/theme/neptune/client/base/button/Css3ButtonCell.css

@ -14,7 +14,9 @@
@def overGradient value('theme.button.overGradient');
@def pressedGradient value('theme.button.pressedGradient');
/*
@def padding value('theme.button.padding.toString');
*/
@def fontSize value('theme.button.font.size','px');
@def fontFamily value('theme.button.font.family');
@ -44,7 +46,7 @@
background: -ms-linear-gradient(top, gradient); /* IE10+ */
background: linear-gradient(to bottom, gradient); /* W3C */
padding: css3Leftover;
padding: 0px;
cursor: pointer;
outline: none;
white-space: nowrap;
@ -52,7 +54,7 @@
}
.buttonInner {
padding: padding;
padding: 0px;
text-align: center;
font-size: fontSize;
color: fontColor;

6
src/com/sencha/gxt/theme/neptune/client/base/button/Css3ButtonCellToolBar.css

@ -17,7 +17,9 @@
@def tboverGradient value('theme.toolbar.buttonOverride.overGradient');
@def tbpressedGradient value('theme.toolbar.buttonOverride.pressedGradient');
/*
@def tbpadding value('theme.toolbar.buttonOverride.padding.toString');
*/
@def tbfontSize value('theme.toolbar.buttonOverride.font.size','px');
@def tbfontFamily value('theme.toolbar.buttonOverride.font.family');
@ -55,13 +57,13 @@
background: -ms-linear-gradient(top, tbgradient); /* IE10+ */
background: linear-gradient(to bottom, tbgradient); /* W3C */
padding: tbcss3Leftover;
padding: 0px;
cursor: pointer;
outline: none;
}
.x-toolbar-mark .buttonInner {
padding: tbpadding;
padding: 0px;
text-align: center;
font-size: tbfontSize;
color: tbfontColor;

Loading…
Cancel
Save