web-apps/apps/spreadsheeteditor/mobile/resources/sass/_application-base.scss

130 lines
4.4 KiB
SCSS
Raw Normal View History

2016-03-11 00:48:53 +00:00
// Basic
$base-color : #cbcbcb;
$active-color : #798d45;
$base-gradient : 'matte';
$include-default-icons : false;
$include-default-uis : false;
// Toolbar
$toolbar-icon-size : 1.0em;
// Setting list
$settinglist-icon-size : 24px;
$settinglist-image-width : 72px;
$settinglist-image-height : 48px;
// Image default icons
$icons-default-size : 24px;
$icons-default-image-width : 72px;
$icons-default-image-height : 624px;
2016-09-14 12:04:28 +00:00
@import 'sencha-touch/default';
@import 'sencha-touch/default/src/Class';
@import 'sencha-touch/default/src/Button';
@import 'sencha-touch/default/src/Panel';
@import 'sencha-touch/default/src/Sheet';
@import 'sencha-touch/default/src/MessageBox';
@import 'sencha-touch/default/src/Toolbar';
@import 'sencha-touch/default/src/Toast';
@import 'sencha-touch/default/src/Menu';
//@import 'sencha-touch/default/src/carousel/Carousel';
@import 'sencha-touch/default/src/form/Panel';
@import 'sencha-touch/default/src/form/FieldSet';
@import 'sencha-touch/default/src/field/Field';
@import 'sencha-touch/default/src/field/Checkbox';
@import 'sencha-touch/default/src/field/Radio';
@import 'sencha-touch/default/src/field/Search';
@import 'sencha-touch/default/src/field/Select';
//@import 'sencha-touch/default/src/field/Slider';
//@import 'sencha-touch/default/src/field/Spinner';
//@import 'sencha-touch/default/src/field/TextArea';
//@import 'sencha-touch/default/src/dataview/IndexBar';
@import 'sencha-touch/default/src/dataview/List';
//@import 'sencha-touch/default/src/picker/Picker';
//@import 'sencha-touch/default/src/plugin/ListPaging';
//@import 'sencha-touch/default/src/plugin/PullRefresh';
//@import 'sencha-touch/default/src/slider/Slider';
@import 'sencha-touch/default/src/slider/Toggle';
//@import 'sencha-touch/default/src/tab/Panel';
//@import 'sencha-touch/default/src/grid/Grid';
2016-03-11 00:48:53 +00:00
@import 'common-buttons';
@import 'common-dataview';
@import 'common-toolbar';
@import 'common-settingspanel';
@import 'common-planarspinner';
@import 'common-settingslist';
@import 'common-messagebox';
@import 'application-mixins';
//@import 'application-dataview';
@include common-settings-panel;
@include common-planar-spinner;
@include common-toolbar-ui('edit', $base-color);
@include common-toolbar-ui('search', $base-color);
2016-09-14 12:04:28 +00:00
//@include application-icon-normal('save', 0);
//@include application-icon-normal('undo', 1);
2016-03-11 00:48:53 +00:00
@include application-icon-normal('share', 2);
2016-09-14 12:04:28 +00:00
//@include application-icon-normal('font-style', 3);
//@include application-icon-normal('font-color', 4);
//@include application-icon-normal('bold', 5);
//@include application-icon-normal('italic', 6);
//@include application-icon-normal('underline', 7);
//@include application-icon-normal('align-left', 8);
//@include application-icon-normal('align-center', 9);
//@include application-icon-normal('align-right', 10);
//@include application-icon-normal('align-fill', 11);
2016-03-11 00:48:53 +00:00
@include application-icon-normal('pages', 12);
@include application-icon-normal('search-prev', 13);
@include application-icon-normal('search-next', 14);
2016-09-14 12:04:28 +00:00
//@include application-icon-normal('insert', 15);
2016-03-11 00:48:53 +00:00
@include application-icon-normal('search', 16);
@include application-icon-normal('fullscreen', 17);
2016-09-14 12:04:28 +00:00
//@include application-icon-normal('spinner-down', 18);
//@include application-icon-normal('spinner-up', 19);
//@include application-icon-normal('table', 20);
//@include application-icon-normal('picture', 21);
//@include application-icon-normal('insert-row', 22);
//@include application-icon-normal('insert-column', 23);
//@include application-icon-normal('textbigger', 24);
//@include application-icon-normal('textless', 25);
2016-03-11 00:48:53 +00:00
@include common-button-ui('base', $base-color);
@include common-button-ui('light', lighten($base-color, 100%));
@include common-button-ui('base-blue', $active-color, 'dark');
@include common-button-ui('back', $base-color);
/*
* unsupport
*/
//TODO: need retina resolution
.unsuported-view {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
background: url(../img/ios-only.png) no-repeat center #efefef;
background-attachment: fixed;
z-index: 90000;
}
/*
* Additional styles
*/
.x-button.text-offset-12 {
padding-left: 12px;
padding-right: 12px;
}
.x-button.text-offset-30 {
padding-left: 30px;
padding-right: 30px;
}