Global_CSS

Files

Global CSS variables and mixins of Sencha Touch's Default Theme.

Defined By

CSS Variables

Global_CSS
view source
: color
Color used for elements like selected rows, "action" UIs (eg. ...

Color used for elements like selected rows, "action" UIs (eg. on buttons) and certain overlays like the picker mask.

Defaults to: darken ( saturate ( $base-color , 55% ) , 10% )

Global_CSS
view source
: color
Color used for elements like badges, errors, and "decline" UIs (eg. ...

Color used for elements like badges, errors, and "decline" UIs (eg. on buttons).

Defaults to: red

Global_CSS
view source
: color
The primary color variable from which most elements derive their color scheme. ...

The primary color variable from which most elements derive their color scheme.

Defaults to: #1985D0

Global_CSS
view source
: string
The primary gradient variable from which most elements derive their color scheme. ...

The primary gradient variable from which most elements derive their color scheme.

See background-gradient mixin.

Defaults to: if ( $include-highlights , matte , null )

Global_CSS
view source
: boolean
Optionally remove CSS3 effects from the slider component for improved performance. ...

Optionally remove CSS3 effects from the slider component for improved performance.

Defaults to: false

Global_CSS
view source
: color
Color used for elements like success messages, and "confirm" UIs (eg. ...

Color used for elements like success messages, and "confirm" UIs (eg. on buttons).

Defaults to: #92cf00

Global_CSS
view source
: font-family
The font-family to be used throughout the theme. ...

The font-family to be used throughout the theme.

See background-gradient mixin.

Defaults to: "Helvetica Neue" , HelveticaNeue , "Helvetica-Neue" , Helvetica , "BBAlpha Sans" , sans-serif

Global_CSS
view source
: measurement
The minimum row height for items like toolbars. ...

The minimum row height for items like toolbars.

Defaults to: 46px

Global_CSS
view source
: measurement
The minimum row height for items like toolbars. ...

The minimum row height for items like toolbars.

Defaults to: 2.6em

Optionally disable all border-radius. ...

Optionally disable all border-radius. Useful for CSS debugging, non-performant browsers, or minimalist designs.

Defaults to: true

Optionally remove the default icon set which includes the following toolbar and tab bar icons: action, add, arrow_dow...

Optionally remove the default icon set which includes the following toolbar and tab bar icons: action, add, arrow_down, arrow_left, arrow_right, arrow_up, bookmarks, compose, delete, download, favorites, home, info, locate, maps, more, organize, refresh, reply, search, settings, star, team, time, trash, and user. Set to false to reduce CSS weight.

Defaults to: true

Decides whether or not to include the default UIs for all components. ...

Decides whether or not to include the default UIs for all components.

Defaults to: true

Decides if default HTML styles are included (for components with styleHtmlContent: true). ...

Decides if default HTML styles are included (for components with styleHtmlContent: true). Class is applied to .x-html.

Defaults to: true

Global_CSS
view source
: boolean
Optionally disable all gradients, text-shadows, and box-shadows. ...

Optionally disable all gradients, text-shadows, and box-shadows. Useful for CSS debugging, non-performant browsers, or minimalist designs.

Defaults to: true

Optionally remove the default Pictos font. ...

Optionally remove the default Pictos font. This will reduce the size of your compiled CSS files, however icons will no longer be available unless you provide your own.

Defaults to: true

Background-color for the bars in the loading spinner. ...

Background-color for the bars in the loading spinner.

Defaults to: #aaa

Global_CSS
view source
: color
Color used for the neautral ui for Toolbars and Tabbars. ...

Color used for the neautral ui for Toolbars and Tabbars.

Defaults to: #e0e0e0

Global_CSS
view source
: color
Background color for fullscreen components. ...

Background color for fullscreen components.

Defaults to: #eee

Global_CSS
view source
: measurement
Space between items in a toolbar (like buttons and fields) ...

Space between items in a toolbar (like buttons and fields)

Defaults to: .2em

Defined By

CSS Mixins

Global_CSS
view source
( $type )
Adds a small box shadow (or highlight) to give the impression of being beveled. ...

Adds a small box shadow (or highlight) to give the impression of being beveled.

Parameters

  • $type : string

    Either shadow or highlight, decides whether to apply a light shadow or dark.

Global_CSS
view source
( $bg-color )
Bevels the text based on its background. ...

Bevels the text based on its background.

Parameters

  • $bg-color : color

    Background color of element.

    See bevel-text.

Global_CSS
view source
( $type )
Adds a small text shadow (or highlight) to give the impression of beveled text. ...

Adds a small text shadow (or highlight) to give the impression of beveled text.

Parameters

  • $type : string

    Either shadow or highlight, decides whether to apply a light shadow or dark.

Global_CSS
view source
( )

Makes the element text overflow to use ellipsis.

Makes the element text overflow to use ellipsis.

Global_CSS
view source
( $name, $character, $font-family )
Includes an icon to be used on Button or Tab components. ...

Includes an icon to be used on Button or Tab components. The $name is the name of the icon, or the character of the font being used.

@include icon('attachment');

Parameters

  • $name : string

    The name of the icon to be included. This is then usable as the iconCls in your app.

  • $character : string

    The character

  • $font-family : string

    The font-family used for this icon. Defaults to the Pictos font.

Global_CSS
view source
( $width, $height, $top, $left )
Adds basic styles to :before or :after pseudo-elements. ...

Adds basic styles to :before or :after pseudo-elements.

.my-element:after {
  @include insertion(50px, 50px);
}

Parameters

  • $width : measurement

    Height of pseudo-element.

  • $height : measurement

    Height of pseudo-element.

  • $top : measurement

    Top positioning of pseudo-element.

  • $left : measurement

    Left positioning of pseudo-element.

Global_CSS
view source
( $bg-color, $percent, $style )
Creates a background gradient for masked elements, based on the lightness of their background. ...

Creates a background gradient for masked elements, based on the lightness of their background.

Parameters

  • $bg-color : color

    Background color of element.

  • $percent : percent

    Contrast of the new gradient to its background.

  • $style : percent

    Gradient style of the gradient.

    See background-gradient mixin.

Global_CSS
view source
( $bg-color, $type )
Includes the default styles for toolbar buttons, mostly used as a helper function. ...

Includes the default styles for toolbar buttons, mostly used as a helper function.

Parameters

  • $bg-color : color

    Base color to be used for the button.

  • $type : color

    Gradient style for the button, will automatically use "recessed" when pressed.