calendarui/views/resources/caleneventlistviewitem.css
changeset 32 ea672fcb0ea0
parent 18 c198609911f9
child 49 5de72ea7a065
equal deleted inserted replaced
26:a949c2543c15 32:ea672fcb0ea0
     4 
     4 
     5 CalenEventListViewItem[layoutName="custom"][modelItemType="StandardItem"][stretchItem="true"]:landscape{
     5 CalenEventListViewItem[layoutName="custom"][modelItemType="StandardItem"][stretchItem="true"]:landscape{
     6     layout: custom-stretch;
     6     layout: custom-stretch;
     7 }
     7 }
     8 
     8 
     9 CalenEventListViewItem[timeFormat12="true"]::text-1{
     9 CalenEventListViewItem::icon-1[layoutName="custom"]{
    10 	fixed-width: 13.5un;
    10     top: -var(hb-param-margin-gene-top);
    11 	text-height: var(hb-param-text-height-secondary);
    11     left: -var(hb-param-margin-gene-left);
    12 	text-align: left;
    12     right: var(hb-param-margin-gene-middle-horizontal);
    13 	top: -var(hb-param-margin-gene-top);
    13     fixed-width: var(hb-param-graphic-size-secondary);
    14 	left: -var(hb-param-margin-gene-left);
    14     fixed-height: var(hb-param-graphic-size-secondary);
    15 	right: var(hb-param-margin-gene-right);
       
    16 	text-line-count-max: 2;
       
    17 	text-line-count-min: 2;
       
    18 }
    15 }
    19 
    16 
    20 CalenEventListViewItem[timeFormat12="false"]::text-1{
    17 CalenEventListViewItem::icon-2{
    21 	fixed-width: 9.5un;
    18     top: -var(hb-param-margin-gene-top);
    22 	text-height: var(hb-param-text-height-secondary);
    19     right: var(hb-param-margin-gene-middle-horizontal);
    23 	text-align: right;
    20     fixed-width: var(hb-param-graphic-size-secondary);
    24 	top: -var(hb-param-margin-gene-top);
    21     fixed-height: var(hb-param-graphic-size-secondary);
    25 	left: -var(hb-param-margin-gene-left);
       
    26 	right: var(hb-param-margin-gene-right);
       
    27 	text-line-count-max: 2;
       
    28 	text-line-count-min: 2;
       
    29 }
    22 }
    30 
    23 
    31 CalenEventListViewItem::text-2[layoutName="custom"]{
    24 CalenEventListViewItem::icon-3{
    32 	font-variant: primary;
    25     top: -var(hb-param-margin-gene-top);
    33 	text-align: left;
    26     right: var(hb-param-margin-gene-right);
    34 	top: -var(hb-param-margin-gene-top);
    27     fixed-width: var(hb-param-graphic-size-secondary);
    35 	right: var(hb-param-margin-gene-middle-horizontal);
    28     fixed-height: var(hb-param-graphic-size-secondary);
    36 	min-width: 29un;
       
    37 }
    29 }
    38 
    30 
    39 CalenEventListViewItem::text-3[layoutName="custom"]{
    31 CalenEventListViewItem::icon-4{
    40 	font-variant: secondary;
    32     top: -var(hb-param-margin-gene-middle-vertical);
    41 	text-align: left;
    33     right: var(hb-param-margin-gene-right);
    42 	top: -var(hb-param-margin-gene-middle-vertical);
    34     bottom: var(hb-param-margin-gene-bottom);
    43 	bottom: var(hb-param-margin-gene-bottom);
    35     fixed-width: var(hb-param-graphic-size-secondary);
    44 	right: var(hb-param-margin-gene-middle-horizontal);
    36     fixed-height: var(hb-param-graphic-size-secondary);
    45 	min-width: 34un;
       
    46 }
    37 }
    47 
    38 
    48 CalenEventListViewItem::icon-1[layoutName="custom"]{
    39 CalenEventListViewItem::text-1{
    49 	top: -var(hb-param-margin-gene-top);
    40 		left: -var(hb-param-margin-gene-left);
    50 	left: -var(hb-param-margin-gene-top);
    41 		top: -var(hb-param-margin-gene-top);
    51 	right: var(hb-param-margin-gene-middle-horizontal);
    42     right: var(hb-param-margin-gene-middle-horizontal);
       
    43     font-variant: secondary;
       
    44 		text-height: var(hb-param-text-height-secondary);
       
    45     text-align: right;
    52 }
    46 }
    53 
    47 
    54 CalenEventListViewItem::icon-2[layoutName="custom"]{
    48 CalenEventListViewItem::text-2{
    55 	top: -var(hb-param-margin-gene-top);
    49     top: -var(hb-param-margin-gene-top);
    56 	right: var(hb-param-margin-gene-middle-horizontal);
    50     right: var(hb-param-margin-gene-middle-horizontal);
    57 	text-align: right;
    51     bottom: var(hb-param-margin-gene-middle-vertical);
    58 	fixed-width: var(hb-param-graphic-size-secondary);
    52     font-variant: primary;
    59 	fixed-height: var(hb-param-graphic-size-secondary);
    53     text-height: var(hb-param-text-height-secondary);
    60 }
    54     text-align: left;
    61 
    55     fixed-width: 29un;
    62 CalenEventListViewItem::icon-3[layoutName="custom"]{
       
    63 	top: -var(hb-param-margin-gene-top);
       
    64 	right: var(hb-param-margin-gene-right);
       
    65 	fixed-width: var(hb-param-graphic-size-secondary);
       
    66 	fixed-height: var(hb-param-graphic-size-secondary);
       
    67 }
       
    68 
       
    69 CalenEventListViewItem::icon-4[layoutName="custom"]{
       
    70 	top: -var(hb-param-margin-gene-middle-vertical);
       
    71 	right: var(hb-param-margin-gene-right);
       
    72 	bottom: var(hb-param-margin-gene-bottom);
       
    73 	fixed-width: var(hb-param-graphic-size-secondary);
       
    74 	fixed-height: var(hb-param-graphic-size-secondary);
       
    75 }
    56 }
    76 
    57 
    77 
    58 
       
    59 CalenEventListViewItem::text-3{
       
    60     text-height: var(hb-param-text-height-primary);
       
    61     top: -var(hb-param-margin-gene-middle-vertical);
       
    62     right: var(hb-param-margin-gene-right);
       
    63     bottom: var(hb-param-margin-gene-bottom);
       
    64     font-variant: secondary;
       
    65     text-height: var(hb-param-text-height-secondary);
       
    66     text-align: left;
       
    67     fixed-width: 29un;
       
    68 }
       
    69 
       
    70 CalenEventListViewItem::text-2:landscape[stretchItem="false"]{
       
    71     fixed-width: 70un;
       
    72 }
       
    73 
       
    74 
       
    75 CalenEventListViewItem::text-3:landscape[stretchItem="false"]{
       
    76     fixed-width: 70un;
       
    77 }
       
    78 
       
    79 CalenEventListViewItem::text-2:landscape[stretchItem="true"]{
       
    80     fixed-width: 35un;
       
    81 }
       
    82 
       
    83 CalenEventListViewItem::text-3:landscape[stretchItem="true"]{
       
    84     fixed-width: 40un;
       
    85 }
       
    86 
       
    87 CalenEventListViewItem::text-4{
       
    88     font-variant: secondary;
       
    89     text-height: var(hb-param-text-height-secondary);
       
    90     left: -var(hb-param-margin-gene-left);
       
    91     top: -var(hb-param-margin-gene-middle-vertical);
       
    92     bottom: var(hb-param-margin-gene-bottom);
       
    93     right: var(hb-param-margin-gene-middle-horizontal);
       
    94     text-align: right;
       
    95 }