calendarui/views/resources/caleneventlistviewitem.css
changeset 32 ea672fcb0ea0
parent 18 c198609911f9
child 49 5de72ea7a065
--- a/calendarui/views/resources/caleneventlistviewitem.css	Fri May 14 15:51:09 2010 +0300
+++ b/calendarui/views/resources/caleneventlistviewitem.css	Thu May 27 12:51:15 2010 +0300
@@ -6,72 +6,90 @@
     layout: custom-stretch;
 }
 
-CalenEventListViewItem[timeFormat12="true"]::text-1{
-	fixed-width: 13.5un;
-	text-height: var(hb-param-text-height-secondary);
-	text-align: left;
-	top: -var(hb-param-margin-gene-top);
-	left: -var(hb-param-margin-gene-left);
-	right: var(hb-param-margin-gene-right);
-	text-line-count-max: 2;
-	text-line-count-min: 2;
+CalenEventListViewItem::icon-1[layoutName="custom"]{
+    top: -var(hb-param-margin-gene-top);
+    left: -var(hb-param-margin-gene-left);
+    right: var(hb-param-margin-gene-middle-horizontal);
+    fixed-width: var(hb-param-graphic-size-secondary);
+    fixed-height: var(hb-param-graphic-size-secondary);
 }
 
-CalenEventListViewItem[timeFormat12="false"]::text-1{
-	fixed-width: 9.5un;
-	text-height: var(hb-param-text-height-secondary);
-	text-align: right;
-	top: -var(hb-param-margin-gene-top);
-	left: -var(hb-param-margin-gene-left);
-	right: var(hb-param-margin-gene-right);
-	text-line-count-max: 2;
-	text-line-count-min: 2;
+CalenEventListViewItem::icon-2{
+    top: -var(hb-param-margin-gene-top);
+    right: var(hb-param-margin-gene-middle-horizontal);
+    fixed-width: var(hb-param-graphic-size-secondary);
+    fixed-height: var(hb-param-graphic-size-secondary);
 }
 
-CalenEventListViewItem::text-2[layoutName="custom"]{
-	font-variant: primary;
-	text-align: left;
-	top: -var(hb-param-margin-gene-top);
-	right: var(hb-param-margin-gene-middle-horizontal);
-	min-width: 29un;
+CalenEventListViewItem::icon-3{
+    top: -var(hb-param-margin-gene-top);
+    right: var(hb-param-margin-gene-right);
+    fixed-width: var(hb-param-graphic-size-secondary);
+    fixed-height: var(hb-param-graphic-size-secondary);
 }
 
-CalenEventListViewItem::text-3[layoutName="custom"]{
-	font-variant: secondary;
-	text-align: left;
-	top: -var(hb-param-margin-gene-middle-vertical);
-	bottom: var(hb-param-margin-gene-bottom);
-	right: var(hb-param-margin-gene-middle-horizontal);
-	min-width: 34un;
-}
-
-CalenEventListViewItem::icon-1[layoutName="custom"]{
-	top: -var(hb-param-margin-gene-top);
-	left: -var(hb-param-margin-gene-top);
-	right: var(hb-param-margin-gene-middle-horizontal);
+CalenEventListViewItem::icon-4{
+    top: -var(hb-param-margin-gene-middle-vertical);
+    right: var(hb-param-margin-gene-right);
+    bottom: var(hb-param-margin-gene-bottom);
+    fixed-width: var(hb-param-graphic-size-secondary);
+    fixed-height: var(hb-param-graphic-size-secondary);
 }
 
-CalenEventListViewItem::icon-2[layoutName="custom"]{
-	top: -var(hb-param-margin-gene-top);
-	right: var(hb-param-margin-gene-middle-horizontal);
-	text-align: right;
-	fixed-width: var(hb-param-graphic-size-secondary);
-	fixed-height: var(hb-param-graphic-size-secondary);
+CalenEventListViewItem::text-1{
+		left: -var(hb-param-margin-gene-left);
+		top: -var(hb-param-margin-gene-top);
+    right: var(hb-param-margin-gene-middle-horizontal);
+    font-variant: secondary;
+		text-height: var(hb-param-text-height-secondary);
+    text-align: right;
 }
 
-CalenEventListViewItem::icon-3[layoutName="custom"]{
-	top: -var(hb-param-margin-gene-top);
-	right: var(hb-param-margin-gene-right);
-	fixed-width: var(hb-param-graphic-size-secondary);
-	fixed-height: var(hb-param-graphic-size-secondary);
-}
-
-CalenEventListViewItem::icon-4[layoutName="custom"]{
-	top: -var(hb-param-margin-gene-middle-vertical);
-	right: var(hb-param-margin-gene-right);
-	bottom: var(hb-param-margin-gene-bottom);
-	fixed-width: var(hb-param-graphic-size-secondary);
-	fixed-height: var(hb-param-graphic-size-secondary);
+CalenEventListViewItem::text-2{
+    top: -var(hb-param-margin-gene-top);
+    right: var(hb-param-margin-gene-middle-horizontal);
+    bottom: var(hb-param-margin-gene-middle-vertical);
+    font-variant: primary;
+    text-height: var(hb-param-text-height-secondary);
+    text-align: left;
+    fixed-width: 29un;
 }
 
 
+CalenEventListViewItem::text-3{
+    text-height: var(hb-param-text-height-primary);
+    top: -var(hb-param-margin-gene-middle-vertical);
+    right: var(hb-param-margin-gene-right);
+    bottom: var(hb-param-margin-gene-bottom);
+    font-variant: secondary;
+    text-height: var(hb-param-text-height-secondary);
+    text-align: left;
+    fixed-width: 29un;
+}
+
+CalenEventListViewItem::text-2:landscape[stretchItem="false"]{
+    fixed-width: 70un;
+}
+
+
+CalenEventListViewItem::text-3:landscape[stretchItem="false"]{
+    fixed-width: 70un;
+}
+
+CalenEventListViewItem::text-2:landscape[stretchItem="true"]{
+    fixed-width: 35un;
+}
+
+CalenEventListViewItem::text-3:landscape[stretchItem="true"]{
+    fixed-width: 40un;
+}
+
+CalenEventListViewItem::text-4{
+    font-variant: secondary;
+    text-height: var(hb-param-text-height-secondary);
+    left: -var(hb-param-margin-gene-left);
+    top: -var(hb-param-margin-gene-middle-vertical);
+    bottom: var(hb-param-margin-gene-bottom);
+    right: var(hb-param-margin-gene-middle-horizontal);
+    text-align: right;
+}