aboutsummaryrefslogtreecommitdiff
path: root/src/client/apis/youtube/YoutubeBox.scss
blob: eabdbb1ac8eabc30e0895223cda91c47ba5fa718 (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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
.youtubeBox-cont {
    ul {
        list-style-type: none;
        padding-inline-start: 10px;
    }


    li {
        margin: 4px;
        display: inline-flex;
    }

    li:hover {
        cursor: pointer;
        opacity: 0.8;
    }

    .search_wrapper {
        width: 100%;
        display: inline-flex;
        height: 175px;

        .video_duration {
            // margin: 0;
            // padding: 0;
            border: 0;
            background: transparent;
            display: inline-block;
            position: relative;
            bottom: 25px;
            left: 85%;
            margin: 4px;
            color: #FFFFFF;
            background-color: rgba(0, 0, 0, 0.80);
            padding: 2px 4px;
            border-radius: 2px;
            letter-spacing: .5px;
            font-size: 1.2rem;
            font-weight: 500;
            line-height: 1.2rem;

        }

        .textual_info {
            font-family: Arial, Helvetica, sans-serif;

            .videoTitle {
                margin-left: 4px;
                // display: inline-block;
                color: #0D0D0D;
                -webkit-line-clamp: 2;
                display: block;
                max-height: 4.8rem;
                overflow: hidden;
                font-size: 1.8rem;
                font-weight: 400;
                line-height: 2.4rem;
                -webkit-box-orient: vertical;
                text-overflow: ellipsis;
                white-space: normal;
                display: -webkit-box;
            }

            .channelName {
                color: #606060;
                margin-left: 4px;
                font-size: 1.3rem;
                font-weight: 400;
                line-height: 1.8rem;
                text-transform: none;
                margin-top: 0px;
                display: inline-block;
            }

            .video_description {
                margin-left: 4px;
                // font-size: 12px;
                color: #606060;
                padding-top: 8px;
                margin-bottom: 8px;
                display: block;
                line-height: 1.8rem;
                max-height: 4.2rem;
                overflow: hidden;
                font-size: 1.3rem;
                font-weight: 400;
                text-transform: none;
            }

            .publish_time {
                //display: inline-block;
                margin-left: 8px;
                padding: 0;
                border: 0;
                background: transparent;
                color: #606060;
                max-width: 100%;
                line-height: 1.8rem;
                max-height: 3.6rem;
                overflow: hidden;
                font-size: 1.3rem;
                font-weight: 400;
                text-transform: none;
            }

            .viewCount {

                margin-left: 8px;
                padding: 0;
                border: 0;
                background: transparent;
                color: #606060;
                max-width: 100%;
                line-height: 1.8rem;
                max-height: 3.6rem;
                overflow: hidden;
                font-size: 1.3rem;
                font-weight: 400;
                text-transform: none;
            }



        }
    }
}