radioapp/radiowidgets/res/layout/radiocarouselitem.css
branchGCC_SURGE
changeset 37 451b2e1545b2
parent 33 11b6825f0862
child 41 3a6b55c6390c
equal deleted inserted replaced
26:6bcf277166c1 37:451b2e1545b2
       
     1 RadioCarouselItem
       
     2 {
       
     3     layout: default;
       
     4 }
       
     5 
       
     6 RadioCarouselItem::star_button
       
     7 {
       
     8     top: -var(hb-param-margin-gene-top);
       
     9     left: -var(hb-param-margin-gene-left);
       
    10     pref-width: var(hb-param-graphic-size-primary-medium);
       
    11     pref-height: var(hb-param-graphic-size-primary-medium);
       
    12     size-policy-horizontal: fixed;
       
    13     size-policy-vertical: fixed;
       
    14 }
       
    15 
       
    16 RadioCarouselItem::genre_label
       
    17 {
       
    18     top: -var(hb-param-margin-gene-top);
       
    19     left: -var(hb-param-margin-gene-middle-horizontal);
       
    20     right: expr(var(hb-param-margin-gene-left) + var(hb-param-graphic-size-primary-medium) + var(hb-param-margin-gene-middle-horizontal));
       
    21     pref-height: var(hb-param-graphic-size-primary-medium);
       
    22     size-policy-vertical: fixed;
       
    23     size-policy-horizontal: expanding;
       
    24 }
       
    25 
       
    26 RadioCarouselItem::genre_label::text
       
    27 {
       
    28     color: lightgray; /*var(qtc_lcd_title_normal);*/
       
    29     text-height: var(hb-param-text-height-secondary);
       
    30     font-variant: secondary;
       
    31     text-align: center bottom;
       
    32 }
       
    33 
       
    34 RadioCarouselItem::name_label
       
    35 {
       
    36     left: -var(hb-param-margin-gene-left);
       
    37     right: var(hb-param-margin-gene-right);
       
    38     size-policy-vertical: fixed;
       
    39     size-policy-horizontal: expanding;
       
    40 }
       
    41 
       
    42 RadioCarouselItem[appearance=Full]::name_label
       
    43 {
       
    44     pref-height: 8un;
       
    45     top: 0un;
       
    46 }
       
    47 
       
    48 RadioCarouselItem[appearance!=Full]::name_label
       
    49 {
       
    50     pref-height: 14un;
       
    51     top: 1.5un;
       
    52 }
       
    53 
       
    54 RadioCarouselItem::name_label::text
       
    55 {
       
    56     color: white; /*var(qtc_lcd_title_normal);*/
       
    57     font-variant: primary;
       
    58     text-wrap-mode: no-wrap;
       
    59     text-align: center top;
       
    60 }
       
    61 
       
    62 RadioCarouselItem[appearance=Full]::name_label::text
       
    63 {
       
    64     text-height: 8un;
       
    65 }
       
    66 
       
    67 RadioCarouselItem[appearance!=Full]::name_label::text
       
    68 {
       
    69     text-height: 14un;
       
    70 }
       
    71 
       
    72 RadioCarouselItem::rt_label
       
    73 {
       
    74     top: -16un;
       
    75     left: -var(hb-param-margin-gene-left);
       
    76     right: var(hb-param-margin-gene-right);
       
    77     bottom: var(hb-param-margin-middle-vertical);
       
    78     size-policy-vertical: expanding;
       
    79 }
       
    80 
       
    81 RadioCarouselItem::rt_label::text
       
    82 {
       
    83     color: var(qtc_lcd_title_normal);
       
    84     text-line-count-min: 1;
       
    85     font-variant: secondary;
       
    86 }
       
    87 
       
    88 RadioCarouselItem[appearance=Full]::rt_label::text
       
    89 {
       
    90     text-line-count-max: 4;
       
    91     text-wrap-mode: word-wrap; /*wrap-anywhere; */
       
    92     text-height: var(hb-param-text-height-secondary);
       
    93     text-align: center center;
       
    94 }
       
    95 
       
    96 RadioCarouselItem[appearance!=Full]::rt_label::text
       
    97 {
       
    98     text-line-count-max: 1;
       
    99     text-wrap-mode: no-wrap;
       
   100     text-height: 5un;
       
   101     text-align: center center;
       
   102 }
       
   103 
       
   104 RadioCarouselItem::url_label
       
   105 {
       
   106     left: -var(hb-param-margin-gene-left);
       
   107     right: var(hb-param-margin-gene-right);
       
   108     bottom: var(hb-param-margin-gene-bottom);
       
   109 }
       
   110 
       
   111 RadioCarouselItem::url_label::text
       
   112 {
       
   113     text-height: var(hb-param-text-height-secondary);
       
   114     font-variant: secondary;
       
   115     text-align: center center;
       
   116     color:var(qtc_lcd_link_normal);
       
   117 }
       
   118 
       
   119 RadioCarouselItem::favorite_touch_area
       
   120 {
       
   121     top: 0un;
       
   122     left: 0un;
       
   123     right: -8un;
       
   124     bottom: -4un;
       
   125 }