User Tools

Site Tools


bindings_box

====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
bindings_box [2015/06/04 07:50]
pierrox created
bindings_box [2015/06/04 07:54] (current)
pierrox [Attributes]
Line 16: Line 16:
   * r : right side   * r : right side
   * b : bottom side   * b : bottom side
-These side codes can be combined (for instance lt means left and top, lrb means left, right and bottom). No side code at all means all sides.+These side codes can be combined (for instance lt means left and top, lrb means left, right and bottom). No side code at all means all sides. Order doesn'​t matter.
  
  
Line 23: Line 23:
   * s : selected state   * s : selected state
   * f : focused state   * f : focused state
-These codes can be combined too, and no code at all means all states.+These codes can be combined too, and no code at all means all states. Order doesn'​t matter.
  
 Attributes are evaluated from left to right. If an attribute is specified several times, all instances are evaluated from the first to the last. Attributes are evaluated from left to right. If an attribute is specified several times, all instances are evaluated from the first to the last.
Line 49: Line 49:
 |mlr:​10;​ptb:​15;​bs:​20;​bc:​0xff00ff00|Set margin left and right to 10 pixel, padding top and bottom to 15 pixels, all border sizes to 20 pixels and all border colors to green| |mlr:​10;​ptb:​15;​bs:​20;​bc:​0xff00ff00|Set margin left and right to 10 pixel, padding top and bottom to 15 pixels, all border sizes to 20 pixels and all border colors to green|
 |mlr:​10;​ptb:​15;​bs:​20;​bcn:​0xff00ff00|Set margin left and right to 10 pixel, padding top and bottom to 15 pixels, all border sizes to 20 pixels and all border colors for the normal state to green| |mlr:​10;​ptb:​15;​bs:​20;​bcn:​0xff00ff00|Set margin left and right to 10 pixel, padding top and bottom to 15 pixels, all border sizes to 20 pixels and all border colors for the normal state to green|
 +|bc:​0xffff0000|Set all borders to red|
 +|bclr:​0xffff0000|Set left and right borders to red|
 +|bcrl:​0xffff0000|Set left and right borders to red (order of suffixes doesn'​t matter)|
 +|bclrn:​0xffff0000|Set left and right borders to red only for the normal state|
 +|bclrtbnsf:​0xffff0000|Same as bc:​0xffff0000|
 |"​bslr:"​+($ll_second%10)+";​bc:​0xffff0000"​|Set the left and right border size to the modulo 10 of the current second (value increase by 1 each second from 0 up to 9), and set the border color to red| |"​bslr:"​+($ll_second%10)+";​bc:​0xffff0000"​|Set the left and right border size to the modulo 10 of the current second (value increase by 1 each second from 0 up to 9), and set the border color to red|
 |"​bslr:"​+($ll_second%10)+";​bc:"​+Color.rgb(50*($ll_second%5),​ 0, 0)|Set the left and right border size to the modulo 10 of the current second (value increase by 1 each second from 0 up to 9), and set the border color to a value varying between black and red| |"​bslr:"​+($ll_second%10)+";​bc:"​+Color.rgb(50*($ll_second%5),​ 0, 0)|Set the left and right border size to the modulo 10 of the current second (value increase by 1 each second from 0 up to 9), and set the border color to a value varying between black and red|
 |"​bslr:"​+($ll_second%10)+";​bc:"​+Color.rgb(50*(animate('​$ll_second'​)%5),​ 0, 0)|Set the left and right border size to the modulo 10 of the current second (value increase by 1 each second from 0 up to 9), and smoothly change the border color to a value varying between black and red| |"​bslr:"​+($ll_second%10)+";​bc:"​+Color.rgb(50*(animate('​$ll_second'​)%5),​ 0, 0)|Set the left and right border size to the modulo 10 of the current second (value increase by 1 each second from 0 up to 9), and smoothly change the border color to a value varying between black and red|
bindings_box.1433404231.txt.gz ยท Last modified: 2015/06/04 07:50 by pierrox