グラデーション効果をなくすために、Compass/Sass を使用して Extjs でツールバー ボタンのテーマをカスタマイズしたいと考えています。
@include extjs-button-ui(
'my_button',
$background-gradient:null,
$background-gradient-over:null,
$background-gradient-focus:null,
$background-gradient-pressed:null,
$background-gradient-disabled: null
);
しかし、それはコンパスコンパイルエラーを返します:
WARNING: @theme-background-image: Theme image not found: ../images/btn/btn-topbar_button-corners.gif
on line 18 of /Users/user/Documents/workspace/sihalon/war/extjs/resources/themes/stylesheets/ext4/default/mixins/_theme-background-image.scss
WARNING: @theme-background-image: Theme image not found: ../images/btn/btn-topbar_button-sides.gif
on line 18 of /Users/user/Documents/workspace/sihalon/war/extjs/resources/themes/stylesheets/ext4/default/mixins/_theme-background-image.scss
error my-ext-theme.scss (Line 693 of _button.scss: Invalid null operation: "null plus 4px".)
overwrite ../css/my-ext-theme.css