| 1 |
.upk-news-ticker { |
| 2 |
position: relative; |
| 3 |
display: block; |
| 4 |
background-color: #2B2D42; |
| 5 |
width: 100%; |
| 6 |
height: 40px; |
| 7 |
box-sizing: border-box; |
| 8 |
line-height: 40px; |
| 9 |
overflow: hidden; |
| 10 |
border-radius: 2px; |
| 11 |
text-align: auto; |
| 12 |
font-size: 14px; |
| 13 |
} |
| 14 |
.upk-news-ticker .upk-news-ticker-label { |
| 15 |
background-color: #EF233C; |
| 16 |
left: 0; |
| 17 |
top: 0; |
| 18 |
bottom: 0; |
| 19 |
height: 100%; |
| 20 |
position: absolute; |
| 21 |
text-align: center; |
| 22 |
color: #FFF; |
| 23 |
font-weight: bold; |
| 24 |
z-index: 3; |
| 25 |
padding: 0 15px; |
| 26 |
white-space: nowrap; |
| 27 |
font-size: 12px; |
| 28 |
line-height: inherit; |
| 29 |
} |
| 30 |
.upk-news-ticker .upk-news-ticker-label::after { |
| 31 |
content: ""; |
| 32 |
position: absolute; |
| 33 |
right: -15px; |
| 34 |
border: 8px solid transparent; |
| 35 |
border-left-color: #EF233C; |
| 36 |
top: 50%; |
| 37 |
transform: translateY(-50%); |
| 38 |
} |
| 39 |
.upk-news-ticker .upk-news-ticker-content { |
| 40 |
position: absolute; |
| 41 |
left: 0; |
| 42 |
top: 0; |
| 43 |
bottom: 0; |
| 44 |
height: 100%; |
| 45 |
right: 0; |
| 46 |
overflow: hidden; |
| 47 |
line-height: inherit; |
| 48 |
} |
| 49 |
.upk-news-ticker .upk-news-ticker-content:after, .upk-news-ticker .upk-news-ticker-content:before { |
| 50 |
content: ""; |
| 51 |
height: 100%; |
| 52 |
position: absolute; |
| 53 |
box-shadow: 0 0 12px 12px #2B2D42; |
| 54 |
width: 1px; |
| 55 |
z-index: 1; |
| 56 |
top: 0; |
| 57 |
} |
| 58 |
.upk-news-ticker .upk-news-ticker-content:before { |
| 59 |
left: -1px; |
| 60 |
} |
| 61 |
.upk-news-ticker .upk-news-ticker-content:after { |
| 62 |
right: -1px; |
| 63 |
} |
| 64 |
.upk-news-ticker .upk-news-ticker-content * { |
| 65 |
color: #fff; |
| 66 |
} |
| 67 |
.upk-news-ticker .upk-news-ticker-content a:hover { |
| 68 |
color: #ddd; |
| 69 |
} |
| 70 |
.upk-news-ticker .upk-news-ticker-content ul { |
| 71 |
display: block; |
| 72 |
height: 100%; |
| 73 |
list-style: none; |
| 74 |
padding: 0; |
| 75 |
margin: 0; |
| 76 |
left: 0; |
| 77 |
bottom: 0; |
| 78 |
width: 100%; |
| 79 |
position: absolute; |
| 80 |
} |
| 81 |
.upk-news-ticker .upk-news-ticker-content ul li { |
| 82 |
white-space: nowrap; |
| 83 |
overflow: hidden !important; |
| 84 |
text-overflow: ellipsis; |
| 85 |
text-decoration: none; |
| 86 |
-webkit-transition: color 0.2s linear; |
| 87 |
-moz-transition: color 0.2s linear; |
| 88 |
-o-transition: color 0.2s linear; |
| 89 |
transition: color 0.2s linear; |
| 90 |
position: absolute; |
| 91 |
width: 100%; |
| 92 |
display: none; |
| 93 |
color: #333; |
| 94 |
} |
| 95 |
.upk-news-ticker .upk-news-ticker-content ul li a { |
| 96 |
white-space: nowrap; |
| 97 |
text-overflow: ellipsis; |
| 98 |
text-decoration: none; |
| 99 |
padding: 0 12px; |
| 100 |
position: relative; |
| 101 |
display: block; |
| 102 |
overflow: hidden; |
| 103 |
} |
| 104 |
.upk-news-ticker .upk-news-ticker-content .upk-news-ticker-date, |
| 105 |
.upk-news-ticker .upk-news-ticker-content .upk-news-ticker-time { |
| 106 |
letter-spacing: 0px; |
| 107 |
font-weight: 700; |
| 108 |
} |
| 109 |
.upk-news-ticker .upk-news-ticker-content .upk-news-ticker-date .upk-news-ticker-date-sep, |
| 110 |
.upk-news-ticker .upk-news-ticker-content .upk-news-ticker-time .upk-news-ticker-date-sep { |
| 111 |
margin-left: -3px; |
| 112 |
margin-right: -3px; |
| 113 |
} |
| 114 |
.upk-news-ticker .upk-news-ticker-navigation .upk-news-ticker-play polygon { |
| 115 |
display: block; |
| 116 |
} |
| 117 |
.upk-news-ticker .upk-news-ticker-navigation .upk-news-ticker-play rect { |
| 118 |
display: none; |
| 119 |
} |
| 120 |
.upk-news-ticker .upk-news-ticker-navigation .upk-news-ticker-pause polygon { |
| 121 |
display: none; |
| 122 |
} |
| 123 |
.upk-news-ticker .upk-news-ticker-navigation .upk-news-ticker-pause rect { |
| 124 |
display: block; |
| 125 |
} |
| 126 |
.upk-news-ticker .upk-news-ticker-navigation button svg { |
| 127 |
color: #d5d5d5; |
| 128 |
} |
| 129 |
.upk-news-ticker .upk-news-ticker-navigation button:hover svg { |
| 130 |
color: #fff; |
| 131 |
} |
| 132 |
|
| 133 |
.upk-news-ticker-loading { |
| 134 |
position: absolute; |
| 135 |
left: 0; |
| 136 |
right: 0; |
| 137 |
top: 0; |
| 138 |
bottom: 0; |
| 139 |
background-color: rgb(255, 255, 255); |
| 140 |
z-index: 5; |
| 141 |
padding: 0 10px; |
| 142 |
color: rgb(0, 0, 0); |
| 143 |
} |
| 144 |
|
| 145 |
.upk-news-ticker-loader-text { |
| 146 |
padding: 0 10px; |
| 147 |
} |
| 148 |
|
| 149 |
.upk-news-ticker-prefix { |
| 150 |
color: #d65d7a; |
| 151 |
margin-right: 15px; |
| 152 |
padding-left: 10px; |
| 153 |
} |
| 154 |
|
| 155 |
.upk-news-ticker-positive { |
| 156 |
color: #0b8457; |
| 157 |
font-weight: bold; |
| 158 |
} |
| 159 |
|
| 160 |
.upk-news-ticker-negative { |
| 161 |
color: #dc2f2f; |
| 162 |
font-weight: bold; |
| 163 |
} |
| 164 |
|
| 165 |
.upk-news-ticker-controls { |
| 166 |
width: auto; |
| 167 |
right: 0; |
| 168 |
top: 0; |
| 169 |
bottom: 0; |
| 170 |
height: 100%; |
| 171 |
position: absolute; |
| 172 |
-webkit-touch-callout: none; |
| 173 |
-webkit-user-select: none; |
| 174 |
-khtml-user-select: none; |
| 175 |
-moz-user-select: none; |
| 176 |
-ms-user-select: none; |
| 177 |
user-select: none; |
| 178 |
} |
| 179 |
|
| 180 |
.upk-news-ticker-controls button { |
| 181 |
float: left; |
| 182 |
height: 100%; |
| 183 |
cursor: pointer; |
| 184 |
border: none; |
| 185 |
text-align: center; |
| 186 |
background-color: transparent; |
| 187 |
outline: none; |
| 188 |
} |
| 189 |
|
| 190 |
.upk-effect-scroll .upk-news-ticker-content ul { |
| 191 |
display: block; |
| 192 |
width: 100%; |
| 193 |
position: relative; |
| 194 |
} |
| 195 |
|
| 196 |
.upk-effect-scroll .upk-news-ticker-content ul li { |
| 197 |
display: list-item; |
| 198 |
float: left; |
| 199 |
position: relative; |
| 200 |
width: auto; |
| 201 |
} |
| 202 |
|
| 203 |
.upk-news-ticker-direction-rtl { |
| 204 |
direction: rtl; |
| 205 |
} |
| 206 |
.upk-news-ticker-direction-rtl .upk-news-ticker-label { |
| 207 |
left: auto; |
| 208 |
right: 0; |
| 209 |
} |
| 210 |
.upk-news-ticker-direction-rtl .upk-news-ticker-controls { |
| 211 |
right: auto; |
| 212 |
left: 0; |
| 213 |
} |
| 214 |
.upk-news-ticker-direction-rtl .upk-news-ticker-prefix { |
| 215 |
margin-left: 15px; |
| 216 |
margin-right: 0; |
| 217 |
padding-left: 0; |
| 218 |
padding-right: 10px; |
| 219 |
} |
| 220 |
.upk-news-ticker-direction-rtl .upk-news-ticker-controls button { |
| 221 |
border-left: none; |
| 222 |
} |
| 223 |
.upk-news-ticker-direction-rtl.upk-effect-scroll .upk-news-ticker-content ul li { |
| 224 |
float: right; |
| 225 |
} |