Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .ehdaa-box
- {
- margin: 20px 0;
- }
- .breaking-news-ticker
- {
- display: block;
- width: 100%;
- border: solid 1px @xf-borderColorLight;
- background: @xf-contentBg;
- height: 40px;
- box-sizing: border-box;
- position: relative;
- line-height: 40px;
- overflow: hidden;
- text-align: -webkit-auto;
- font-size: 14px;
- }
- .breaking-news-ticker.bn-fixed-top{
- position: fixed;
- right: 0;
- left: 0;
- top: 0;
- }
- .breaking-news-ticker.bn-fixed-bottom{
- position: fixed;
- left: 0;
- right: 0;
- bottom: 0;
- }
- .tickerRow-main {
- flex: 1;
- min-width: 0;
- vertical-align: top;
- }
- .tickerRow-extra{
- float: right;
- }
- .tickerTime {
- display: inline-block;
- padding-right: 10px;
- font-size: 13px;
- position: relative;
- z-index: 1;
- }
- .tickerRow-figure {
- display: flex;
- vertical-align: top;
- white-space: nowrap;
- word-wrap: normal;
- text-align: center;
- margin-left: 5px;
- }
- .bn-label
- {
- right: 0;
- top: 0;
- bottom: 0;
- height: 100%;
- position: absolute;
- .xf-bm_tri_css();
- text-align: center;
- z-index: 3;
- }
- .bn-news
- {
- position: absolute;
- left: 0;
- top: 0;
- bottom: 0;
- height: 100%;
- right: 0;
- overflow: hidden;
- margin-left: 5px;
- }
- .bn-news ul
- {
- display: block;
- height: 100%;
- list-style: none;
- padding: 0;
- margin: 0;
- right: 0;
- bottom: 0;
- width: 100%;
- position: absolute;
- > li {
- white-space: nowrap;
- overflow:hidden !important;
- text-overflow: ellipsis;
- text-decoration: none;
- -webkit-transition: color .2s linear;
- -moz-transition: color .2s linear;
- -o-transition: color .2s linear;
- transition: color .2s linear;
- position: absolute;
- width: 100%;
- display: none;
- }
- }
- .bn-loader-text{
- padding: 0 10px;
- }
- .bn-seperator{
- display: inline-block;
- float: right;
- margin-left: 15px;
- width: 30px;
- height: 40px;
- background-position: center;
- background-size: contain;
- background-repeat: no-repeat;
- position: relative;
- }
- .bn-seperator.bn-news-dot
- {
- margin-left: 0;
- &:after
- {
- content: '';
- position: absolute;
- width: 8px;
- height: 8px;
- background: #333;
- border-radius: 50%;
- top: 50%;
- margin-top: -4px;
- right: 50%;
- margin-right: -4px;
- }
- }
- .bn-prefix
- {
- color: #d65d7a;
- margin-left: 15px;
- padding-right: 10px;
- }
- .bn-positive{
- color: #0b8457;
- font-weight: bold;
- }
- .bn-negative{
- color: #dc2f2f;
- font-weight: bold;
- }
- .bn-controls
- {
- width: auto;
- left: 0;
- top: 0;
- bottom: 0;
- height: 100%;
- position: absolute;
- -webkit-touch-callout: none;
- -webkit-user-select: none;
- -khtml-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- & button
- {
- width: 30px;
- float: right;
- height: 100%;
- cursor: pointer;
- border:none;
- border-right: solid 1px @xf-borderColorHeavy;
- text-align: center;
- background-color: @xf-contentAltBg;
- background: linear-gradient(0deg, @xf-majorHeadingBg, mix(@xf-majorHeadingBg, @xf-contentBg, 50%));
- outline: none;
- text-align: center;
- &:hover
- {
- background: @xf-contentBg;
- text-decoration: none;
- }
- }
- }
- .bn-arrow
- {
- margin: 0;
- display: inline-block;
- height: 8px;
- position: relative;
- width: 8px;
- top: -2px;
- &:after
- {
- border-bottom-style: solid;
- border-bottom-width: 2px;
- border-left-style: solid;
- border-left-width: 2px;
- content: '';
- display: inline-block;
- height: 8px;
- right: 0;
- position: absolute;
- top: 0;
- width: 8px;
- border-color: @xf-buttonBg;
- }
- &:before
- {
- background-color: @xf-buttonBg;
- }
- &.bn-next
- {
- -moz-transform: rotate(315deg);
- -ms-transform: rotate(315deg);
- -webkit-transform: rotate(315deg);
- transform: rotate(315deg);
- right:-3px;
- }
- &.bn-prev
- {
- -moz-transform: rotate(135deg);
- -ms-transform: rotate(135deg);
- -webkit-transform: rotate(135deg);
- transform: rotate(135deg);
- right: 3px;
- }
- }
- .bn-play
- {
- position: relative;
- background: @xf-buttonBg;
- width: 0;
- height: 12px;
- display: inline-block;
- margin-right: -5px;
- &:after
- {
- right: 100%;
- top: 50%;
- border: solid transparent;
- content: " ";
- height: 0;
- width: 0;
- position: absolute;
- pointer-events: none;
- border-right-color: @xf-buttonBg;
- border-width: 8px;
- margin-top: -8px;
- }
- }
- .bn-pause
- {
- position: relative;
- width: 0;
- height: 14px;
- display: inline-block;
- top: 1px;
- right:-1px;
- &:before
- {
- position: absolute;
- content: "";
- width: 2px;
- height: 100%;
- right: 3px;
- background-color: @xf-buttonBg;
- }
- &:after
- {
- position: absolute;
- content: "";
- width: 2px;
- height: 100%;
- right: -3px;
- background-color: @xf-buttonBg;
- }
- }
- .bn-direction-rtl
- {
- direction: rtl;
- .bn-label
- {
- right: auto;
- left: 0;
- }
- .bn-controls
- {
- left: auto;
- right: 0;
- text-align: center;
- }
- .bn-seperator
- {
- margin-right: 15px;
- margin-left: 0;
- float: left;
- }
- .bn-prefix
- {
- margin-right: 15px;
- margin-left: 0;
- padding-right: 0;
- padding-left: 10px;
- }
- .bn-controls button
- {
- border-right: none;
- border-left: solid 1px @xf-borderColorLight;
- }
- }
- .bn-effect-scroll .bn-news ul
- {
- display: block;
- width: 100%;
- position: relative;
- > li
- {
- display: list-item;
- float: right;
- position: relative;
- width: auto;
- }
- }
- .bn-effect-scroll.bn-direction-rtl .bn-news ul li
- {
- float: left;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement