radioapp/radiowidgets/res/layout/radiocarouselitem.css
branchGCC_SURGE
changeset 37 451b2e1545b2
parent 33 11b6825f0862
child 41 3a6b55c6390c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/radioapp/radiowidgets/res/layout/radiocarouselitem.css	Thu Jul 22 16:33:45 2010 +0100
@@ -0,0 +1,125 @@
+RadioCarouselItem
+{
+    layout: default;
+}
+
+RadioCarouselItem::star_button
+{
+    top: -var(hb-param-margin-gene-top);
+    left: -var(hb-param-margin-gene-left);
+    pref-width: var(hb-param-graphic-size-primary-medium);
+    pref-height: var(hb-param-graphic-size-primary-medium);
+    size-policy-horizontal: fixed;
+    size-policy-vertical: fixed;
+}
+
+RadioCarouselItem::genre_label
+{
+    top: -var(hb-param-margin-gene-top);
+    left: -var(hb-param-margin-gene-middle-horizontal);
+    right: expr(var(hb-param-margin-gene-left) + var(hb-param-graphic-size-primary-medium) + var(hb-param-margin-gene-middle-horizontal));
+    pref-height: var(hb-param-graphic-size-primary-medium);
+    size-policy-vertical: fixed;
+    size-policy-horizontal: expanding;
+}
+
+RadioCarouselItem::genre_label::text
+{
+    color: lightgray; /*var(qtc_lcd_title_normal);*/
+    text-height: var(hb-param-text-height-secondary);
+    font-variant: secondary;
+    text-align: center bottom;
+}
+
+RadioCarouselItem::name_label
+{
+    left: -var(hb-param-margin-gene-left);
+    right: var(hb-param-margin-gene-right);
+    size-policy-vertical: fixed;
+    size-policy-horizontal: expanding;
+}
+
+RadioCarouselItem[appearance=Full]::name_label
+{
+    pref-height: 8un;
+    top: 0un;
+}
+
+RadioCarouselItem[appearance!=Full]::name_label
+{
+    pref-height: 14un;
+    top: 1.5un;
+}
+
+RadioCarouselItem::name_label::text
+{
+    color: white; /*var(qtc_lcd_title_normal);*/
+    font-variant: primary;
+    text-wrap-mode: no-wrap;
+    text-align: center top;
+}
+
+RadioCarouselItem[appearance=Full]::name_label::text
+{
+    text-height: 8un;
+}
+
+RadioCarouselItem[appearance!=Full]::name_label::text
+{
+    text-height: 14un;
+}
+
+RadioCarouselItem::rt_label
+{
+    top: -16un;
+    left: -var(hb-param-margin-gene-left);
+    right: var(hb-param-margin-gene-right);
+    bottom: var(hb-param-margin-middle-vertical);
+    size-policy-vertical: expanding;
+}
+
+RadioCarouselItem::rt_label::text
+{
+    color: var(qtc_lcd_title_normal);
+    text-line-count-min: 1;
+    font-variant: secondary;
+}
+
+RadioCarouselItem[appearance=Full]::rt_label::text
+{
+    text-line-count-max: 4;
+    text-wrap-mode: word-wrap; /*wrap-anywhere; */
+    text-height: var(hb-param-text-height-secondary);
+    text-align: center center;
+}
+
+RadioCarouselItem[appearance!=Full]::rt_label::text
+{
+    text-line-count-max: 1;
+    text-wrap-mode: no-wrap;
+    text-height: 5un;
+    text-align: center center;
+}
+
+RadioCarouselItem::url_label
+{
+    left: -var(hb-param-margin-gene-left);
+    right: var(hb-param-margin-gene-right);
+    bottom: var(hb-param-margin-gene-bottom);
+}
+
+RadioCarouselItem::url_label::text
+{
+    text-height: var(hb-param-text-height-secondary);
+    font-variant: secondary;
+    text-align: center center;
+    color:var(qtc_lcd_link_normal);
+}
+
+RadioCarouselItem::favorite_touch_area
+{
+    top: 0un;
+    left: 0un;
+    right: -8un;
+    bottom: -4un;
+}