homescreen/widgetplugins/hsbookmarkwidgetplugin/resource/hsbookmarkwidget.css
author hgs
Fri, 15 Oct 2010 17:30:59 -0400
changeset 16 3c88a81ff781
parent 12 afcd8e6d025b
permissions -rw-r--r--
201041
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12
hgs
parents:
diff changeset
     1
HsBookmarkWidget {
hgs
parents:
diff changeset
     2
    layout: icon_bookmark;
hgs
parents:
diff changeset
     3
}
hgs
parents:
diff changeset
     4
hgs
parents:
diff changeset
     5
HsBookmarkWidget[bookmarkTitle] {
hgs
parents:
diff changeset
     6
    layout: icon_text_bookmark;
hgs
parents:
diff changeset
     7
}
hgs
parents:
diff changeset
     8
hgs
parents:
diff changeset
     9
HsBookmarkWidget[!bookmarkTitle] {
hgs
parents:
diff changeset
    10
    layout: icon_bookmark;
hgs
parents:
diff changeset
    11
}
hgs
parents:
diff changeset
    12
hgs
parents:
diff changeset
    13
HsBookmarkWidget::background {
hgs
parents:
diff changeset
    14
    border-width: 0.0un;
hgs
parents:
diff changeset
    15
    fixed-width: 12un;
hgs
parents:
diff changeset
    16
    fixed-height: 12un;
hgs
parents:
diff changeset
    17
    zvalue: 0;
hgs
parents:
diff changeset
    18
}
hgs
parents:
diff changeset
    19
hgs
parents:
diff changeset
    20
HsBookmarkWidget[bookmarkTitle]::background {
hgs
parents:
diff changeset
    21
    border-width: 0.0un;
hgs
parents:
diff changeset
    22
    fixed-width: 12un;
hgs
parents:
diff changeset
    23
    fixed-height: expr(12.5un + var(hb-param-text-height-tiny));
hgs
parents:
diff changeset
    24
    zvalue: 0;
hgs
parents:
diff changeset
    25
}
hgs
parents:
diff changeset
    26
hgs
parents:
diff changeset
    27
HsBookmarkWidget[!bookmarkTitle]::background {
hgs
parents:
diff changeset
    28
    border-width: 0.0un;
hgs
parents:
diff changeset
    29
    fixed-width: 12un;
hgs
parents:
diff changeset
    30
    fixed-height: 12un;
hgs
parents:
diff changeset
    31
    zvalue: 0;
hgs
parents:
diff changeset
    32
}
hgs
parents:
diff changeset
    33
hgs
parents:
diff changeset
    34
HsBookmarkWidget::icon{
hgs
parents:
diff changeset
    35
    left: -0.5un;
hgs
parents:
diff changeset
    36
    right: 0.5un;
hgs
parents:
diff changeset
    37
    top: -0.5un;
hgs
parents:
diff changeset
    38
    bottom: 0.5un;
hgs
parents:
diff changeset
    39
    fixed-width: 11.0un;
hgs
parents:
diff changeset
    40
    fixed-height: 11.0un;
hgs
parents:
diff changeset
    41
    zvalue: 1;
hgs
parents:
diff changeset
    42
}
hgs
parents:
diff changeset
    43
hgs
parents:
diff changeset
    44
HsBookmarkWidget::bookmarkTitle{
hgs
parents:
diff changeset
    45
    left: -0.5un;
hgs
parents:
diff changeset
    46
    right: 0.5un;
hgs
parents:
diff changeset
    47
    top: 0.0un;
hgs
parents:
diff changeset
    48
    bottom: 0.5un;
hgs
parents:
diff changeset
    49
    fixed-width: 11.0un;
hgs
parents:
diff changeset
    50
    font-variant: secondary;
hgs
parents:
diff changeset
    51
    text-align: center center;
hgs
parents:
diff changeset
    52
    text-height: var(hb-param-text-height-tiny);
hgs
parents:
diff changeset
    53
    text-line-count-max: 1;
hgs
parents:
diff changeset
    54
    color: var(qtc_hs_list_item_title_normal);
hgs
parents:
diff changeset
    55
    zvalue: 2;
hgs
parents:
diff changeset
    56
}