summaryrefslogtreecommitdiff
path: root/addons/portal_rating/static/src/scss/portal_rating.scss
blob: 6d02b1cafa9179ff019a161871eb45d6f2705dd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/* static stars */
$o-w-rating-star-color: #FACC2E;
.o_website_rating_static{
    color: $o-w-rating-star-color;
}

.o_website_rating_card_container {

    .o_message_counter {
        color: gray('700');
    }

    /* progress bars */
    table.o_website_rating_progress_table {
        width: 100%;
        overflow: visible;

        .o_website_rating_table_star_num {
            min-width: 50px;
            white-space: nowrap;
        }
        .o_website_rating_select[style*="opacity: 1"] {
            cursor: pointer;
        }
        .o_website_rating_table_progress{
            min-width: 120px;
            > .progress {
                margin-bottom: 5px;
                margin-left: 5px;
                margin-right: 5px;
            }
            .o_rating_progressbar{
                background-color: $o-w-rating-star-color;
            }
        }
        .o_website_rating_table_percent {
            text-align: right;
            padding-left: 5px;
            font-size: $font-size-sm;
        }
        .o_website_rating_table_reset {
            .o_website_rating_select_text {
                visibility: hidden;
            }
        }
    }

}

/* Star Widget */
.o_rating_star_card{
    margin-bottom: 5px;
    .stars {
        display: inline-block;
        color: #FACC2E;
        margin-right: 15px;
    }

    .stars i {
        margin-right: -3px;
        text-align: center;
    }

    .stars.enabled{
        cursor: pointer;
    }

    .rate_text{
        display: inline-block;
    }
}

/* Rating Popup Composer */
.o_rating_popup_composer {

    .o_rating_clickable {
        cursor: pointer;
    }

    .o_portal_chatter_avatar {
        margin-right: 10px;
    }
}

.o_rating_popup_composer_label {
    color: color-yiq(white);
}