Skip to content

Instantly share code, notes, and snippets.

@Lerc
Last active November 11, 2015 21:22
Show Gist options
  • Save Lerc/a3087ae4175aaaf02223 to your computer and use it in GitHub Desktop.
Save Lerc/a3087ae4175aaaf02223 to your computer and use it in GitHub Desktop.
Clutter Style Properties

on st-theme-node

  • box-shadow

  • -st-background-image-shadow (does not support inset)

  • text-shadow (does not support inset)

  • color

  • warning-color

  • error-color

  • success-color

  • border (width/color/style in any order)

  • border-radius

  • border-left

  • border-right

  • border-top

  • border-bottom

  • border-color

  • border-width

  • outline (width/color/style in any order (only solid supported))

  • outline-color

  • outline-width

  • padding

  • padding-left

  • padding-right

  • padding-top

  • padding-bottom

  • margin

  • margin-left

  • margin-right

  • margin-top

  • margin-bottom

  • width

  • height

  • -st-natural-width

  • -st-natural-height

  • min-width

  • min-height

  • max-width

  • max-height

  • background
    We're very liberal here ... if we recognize any term in the expression we take it, and we ignore the rest. The actual specification is:

    background: [<'background-color'> || <'background-image'> || <'background-repeat'> || <'background-attachment'> || <'background-position'>] | inherit
    
  • background-position

  • background-repeat

  • background-size

  • background-color

  • background-image

  • background-gradient-direction vertical | horizontal | radial | none

  • background-gradient-start

  • background-gradient-end

  • transition-duration

  • -st-icon-style requested | regular | symbolic

  • text-decoration

  • text-align

  • font

  • font-family

  • font-weight

  • font-style

  • font-variant

  • font-size

  • border-image (looks a bit hairy)


on st-entry

  • caret-size -> clutter_text_set_cursor_size
  • caret-color -> clutter_text_set_cursor_color
  • selection-background-color -> clutter_text_set_selection_color
  • selected-color -> clutter_text_set_selected_text_color

on st-button

  • border-spacing

on st-scroll-bar

  • min-size
  • max-size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment