telutils/dialpad/resources/dialpad.css
changeset 12 ae8abd0db65c
child 19 e44a8c097b15
equal deleted inserted replaced
0:ff3b6d0fd310 12:ae8abd0db65c
       
     1 
       
     2 /* icon only */
       
     3 DialpadButton::icon{
       
     4     top: -var(hb-param-margin-gene-middle-vertical);
       
     5     bottom: var(hb-param-margin-gene-middle-vertical);
       
     6     fixed-width: var(hb-param-graphic-size-function);
       
     7     fixed-height: var(hb-param-graphic-size-function);
       
     8 }
       
     9 
       
    10 /* text and additional text */
       
    11 DialpadButton[stretched][!icon][text][additionalText]{
       
    12     layout:text_additionalText_horizontal;
       
    13 }
       
    14 
       
    15 DialpadButton[stretched][!icon][text][additionalText]::text
       
    16 {
       
    17     left: -2.0un;
       
    18     font-variant:primary;
       
    19     text-height:var(hb-param-text-height-title);
       
    20     text-line-count-max:1;
       
    21     text-align:left center;
       
    22 }
       
    23 
       
    24 DialpadButton[stretched][!icon][text][additionalText]::additional-text
       
    25 {
       
    26     font-variant:secondary;
       
    27     text-height:var(hb-param-text-height-secondary);
       
    28     text-line-count-max:1;    
       
    29     text-align: left center;
       
    30 }
       
    31 
       
    32 /* text and icon */
       
    33 DialpadButton[stretched][icon][text][!additionalText]{
       
    34     layout:icon_text_horizontal;
       
    35 }
       
    36 
       
    37 DialpadButton[stretched][icon][text][!additionalText]::text{
       
    38     left: -2.0un;
       
    39     font-variant:primary;
       
    40     text-height:var(hb-param-text-height-title);
       
    41     text-line-count-max:1;
       
    42     text-align:left center;    
       
    43 }
       
    44 
       
    45 DialpadButton[stretched][icon][text][!additionalText]::icon{
       
    46     top: -var(hb-param-margin-gene-middle-vertical);
       
    47     bottom: var(hb-param-margin-gene-middle-vertical);
       
    48     fixed-width: var(hb-param-graphic-size-primary-small);
       
    49     fixed-height: var(hb-param-graphic-size-primary-small);    
       
    50 }
       
    51