%PDF- %PDF-
Direktori : /home/bitrix/www/bitrix/components/bitrix/voting.uf/templates/.default/ |
Current File : //home/bitrix/www/bitrix/components/bitrix/voting.uf/templates/.default/style.css |
.bx-vote-container[data-bx-vote-form="hidden"] .bx-vote-block-input-wrap-inner, .bx-vote-container[data-bx-vote-form="hidden"] button[data-bx-vote-button="actVoting"], .bx-vote-container[data-bx-vote-lamp="red"] button[data-bx-vote-button="actVoting"], .bx-vote-container[data-bx-vote-lamp="green"] button[data-bx-vote-button="exportXls"], .bx-vote-container button[data-bx-vote-button="showVoteForm"] { display: none; } .bx-vote-container[data-bx-vote-form="hidden"] button[data-bx-vote-button="actVoting"], .bx-vote-container[data-bx-vote-lamp="red"] button[data-bx-vote-button="actVoting"] { display: none!important; } .bx-vote-container[data-bx-vote-form="hidden"][data-bx-vote-lamp="green"] button[data-bx-vote-button="showVoteForm"] { display: inline-block; } .bx-vote-container[data-bx-vote-result="shown"] button[data-bx-vote-button="showResults"] { display : none; } span[data-bx-vote-button="stopOrResume"] { margin: 0 12px 0 12px; } span[data-bx-vote-button="stopOrResume"] button:first-child, span[data-bx-vote-button="stopOrResume"] button:last-child { display : none; } .bx-vote-container[data-bx-vote-lamp="green"] span[data-bx-vote-button="stopOrResume"] button:first-child, .bx-vote-container[data-bx-vote-lamp="red"] span[data-bx-vote-button="stopOrResume"] button:last-child, .bx-vote-container[data-bx-vote-lamp="red"] button[data-bx-vote-button="exportXls"] { display: inline-block; } .bx-vote-container[data-bx-vote-form="hidden"] input[type='text'], .bx-vote-container[data-bx-vote-form="hidden"] textarea { display: none; } .bx-vote-container { border-radius: 1px; color: #535c69; padding: 0 0 13px; } ol.bx-vote-question-list, ol.bx-vote-question-list li { list-style-type: none; padding: 0; margin: 0; } ol.bx-vote-question-list { border-bottom: 1px solid #e6eaec; } .bx-vote-question-list li { margin-top: 19px; } .bx-vote-question-list li:first-child { margin-top: 0; } .bx-vote-question-title { border-bottom: 1px solid #e6eaec; color: #000; font-size: 14px; font-weight: bold; padding: 9px 0 9px 17px; } .bx-vote-container[data-bx-vote-result="shown"] .bx-vote-question-title { border-color: #f4f7f8; } .bx-vote-answer-list { border: none; border-spacing: 0; margin: 10px 0 5px; font-size: 14px; width: 100%; } .bx-vote-answer-item td { vertical-align: middle; } .bx-vote-answer-item td:first-child { text-align: left; padding: 0 0 0 17px; width: auto; } .bx-vote-answer-item td:nth-child(2) { padding-top: 3px; width: 30px; } .bx-vote-answer-item td:last-child { text-align: right; padding: 2px 18px 0 6px; white-space: nowrap; width: 30px; } .bx-vote-bar { min-height: 27px; margin: 3px 0 4px 0; position: relative; } .bx-vote-text-field { background-color: #fff; border: 1px solid #c6cdd3; border-radius: 2px; height: 25px; padding: 0 0 0 5px; width: 330px; color: #616161; font-size: 14px; margin-left: -5px; } .bx-vote-block-input-wrap label { color: #616161; display: block; line-height: 16px; overflow: hidden; padding: 5px 0 0; } .bx-vote-voted-users-wrap { display: inline-block; min-width: 25px; margin-right: 6px; text-align: right; vertical-align: top; opacity: 0; white-space: nowrap; } .bx-vote-voted-users, a.bx-vote-voted-users, .bx-vote-voted-users:hover, a.bx-vote-voted-users:hover { border-bottom: 1px dashed #707172; color: #707172; display: inline-block; font-size: 14px; text-decoration: none; } .bx-vote-data-percent { display: inline-block; font-size: 14px; color: #b2b4b5; text-align: right; opacity: 0; white-space: nowrap; } .bx-vote-block-link { color: #3767b0; border-bottom: 1px solid transparent; display: inline-block; font-size: 13px; font-weight: bold; line-height: normal; margin-right: 14px; text-decoration: none; } .bx-vote-block-link:hover { border-bottom: 1px solid; color: #3767b0; text-decoration: none; } .bx-vote-container[data-bx-vote-result="shown"] .bx-vote-block-input-wrap label { position: relative; z-index: 2; } .bx-vote-container[data-bx-vote-result="shown"] .bx-vote-bar { background-color: #fff; border-color: #e5e9eb; } .bx-vote-result-bar { background-color: #daf2fc; border-radius: 2px; top: 0; left: 0; height: 100%; overflow: hidden; position: absolute; width: 0; -webkit-transition: width 0.4s cubic-bezier(.22,.68,.12,1); transition: width 0.4s cubic-bezier(.22,.68,.12,1); opacity: 0; z-index:1; } .bx-vote-container[data-bx-vote-result="shown"] .bx-vote-voted-users-wrap, .bx-vote-container[data-bx-vote-result="shown"] .bx-vote-data-percent, .bx-vote-container[data-bx-vote-result="shown"] .bx-vote-result-bar { opacity: 1; } .bx-vote-loading { position: relative; margin-right: 24px; } .bx-vote-loading:after { content: ''; background: url("images/waiter-blue.gif") right top no-repeat; width: 24px; height: 24px; position: absolute; right: -20px; } .bx-vote-block .errortext { color: red !important; } .bx-vote-block-input-wrap { display: block; margin-left: 0; min-height: 16px; overflow: hidden; position: relative; -webkit-transition: margin-left 0.3s linear; transition: margin-left 0.3s linear; z-index:2; } .bx-vote-container[data-bx-vote-result="shown"] .bx-vote-block-input-wrap { margin-left: 8px; } label.bx-vote-block-input-wrap-inner { display: block; float: left; margin: 5px 12px 0 0; line-height: normal; overflow: visible; padding: 0; position: relative; width: 15px; } .bx-vote-block-input-disable { opacity: 0.4; } .bx-vote-block-inp-substitute { background-color: #fcfdfd; border: 1px solid #b7bdc5; display: block; height: 13px; position: relative; width: 13px; } .bx-vote-block-checbox-wrap .bx-vote-block-inp-substitute { border-radius: 1px; } .bx-vote-block-radio-wrap .bx-vote-block-inp-substitute { border-radius: 50%; } .bx-vote-block-inp-substitute:before { content: ''; display: block; position: absolute; -webkit-transition: none; transition: none; } .bx-vote-block-checbox-wrap .bx-vote-block-inp-substitute:before { background: url(images/voting-tick.png) no-repeat 0 0; height: 12px; left: 1px; top: -2px; width: 0; } .bx-vote-block-radio-wrap .bx-vote-block-inp-substitute:before { background-color: #000; border-radius: 50%; height: 0; left: 7px; top: 7px; width: 0; } .bx-vote-block-input-wrap-inner input[type='checkbox']:checked + .bx-vote-block-inp-substitute:before { width: 15px; -webkit-transition: width 0.2s linear; transition: width 0.2s linear; } .bx-vote-block-input-wrap-inner input[type='checkbox']:checked + .bx-vote-block-inp-substitute, .bx-vote-block-input-wrap-inner input[type='radio']:checked + .bx-vote-block-inp-substitute { background-color: #fff; border-color: #259ec6; } .bx-vote-block-input-wrap-inner input[type='radio']:checked + .bx-vote-block-inp-substitute:before { border-width: 0; height: 7px; left: 3px; top: 3px; width: 7px; -webkit-transition: all 0.15s linear; transition: all 0.15s linear; } .bx-vote-block-input-wrap-inner input { position: absolute; left: -80px; top: -20px; } @-webkit-keyframes clock { 0% { -webkit-transform: rotate(0deg) } 100% { -webkit-transform: rotate(360deg) } 0% { transform: rotate(0deg) } 100% { transform: rotate(360deg) } } @keyframes clock { 0% { transform: rotate(0deg) } 100% { transform: rotate(360deg) } } .bx-vote-popup-error-block { color: red; width: 186px; max-height: 132px; } .bx-vote-answer-result { display: none; } /* web */ .bx-vote-container-web { background-color: #f4f7f8; } .bx-vote-container-web .bx-vote-buttons { padding: 13px 0 0 17px; vertical-align: middle; } .bx-vote-container-web .bx-vote-buttons .feed-add-button, .bx-vote-container-web .bx-vote-buttons .feed-add-button:link, .bx-vote-container-web .bx-vote-buttons .feed-add-button:visited { background-color: #2fc7f7; border-radius: 2px; border-width: 0; color: #fff; cursor: pointer; display: inline-block; font-size: 12px; font-weight: bold; height: 47px; line-height: 47px; margin: 0 14px 0 0; min-width: 103px; padding: 0 12px; text-transform: uppercase; text-align: center; text-decoration: none; vertical-align: middle; -webkit-transition: background-color 0.3s linear !important; transition: background-color 0.3s linear !important; } .bx-vote-container-web .bx-vote-buttons .feed-add-button-load, .bx-vote-container-web .bx-vote-buttons .feed-add-button-load:hover { background: #13b1e3; color: transparent; cursor: pointer; position: relative; } .bx-vote-container-web .bx-vote-buttons .feed-add-button-load:before { border: 1px solid #fff; border-radius: 50%; color: #fff; content: '_'; font-size: 10px; font-family: "OpenSans-Regular", "Helvetica Neue", Helvetica, Arial, sans-serif; line-height: 9px; height: 19px; top: 10px; left: 50%; margin-left: -10px; padding-right: 5px; position: absolute; text-align: right; width: 14px; } .bx-vote-container-web .bx-vote-buttons .feed-add-button-load:after { background-color: #fff; content: ''; height: 7px; position: absolute; top: 19px; left: 50%; width: 1px; -webkit-transform-origin: 0 100%; transform-origin: 0 100%; -webkit-animation: clock 1s infinite linear; animation: clock 1s infinite linear; } /* mobile */ .bx-vote-container-mobile .bx-vote-block{ background: #e7f2f5; padding-bottom: 9px; } .bx-vote-container-mobile .bx-vote-answer-item td:nth-child(2) { display: none; } .bx-vote-container-mobile .bx-vote-answer-item .bx-vote-data-percent { color: #555a5c; } .bx-vote-container-mobile .bx-vote-answer-result { display: block; } .bx-vote-container-mobile .bx-vote-question-list { border-bottom: none; } .bx-vote-container-mobile .bx-vote-answer-list-wrap { padding-right: 19px; color: #839ba4; clear: both; font-size: 11px; } .bx-vote-container-mobile .bx-vote-answer-list-wrap div:first-child { text-align: left; width: 52px; float: right; } .bx-vote-container-mobile .bx-vote-answer-list-wrap div:last-child { padding-right: 56px; text-align: right; } .bx-vote-container-mobile .bx-vote-buttons { padding: 13px 0 0 0; vertical-align: middle; } .bx-vote-container-mobile .bx-vote-buttons .feed-add-button { color: #fff; display: inline-block; font-size: 13px; font-weight: bold; height: 30px; border-radius: 1px; line-height: 30px; text-decoration: none; text-align: center; -webkit-tap-highlight-color: transparent; outline: none; padding: 0 19px 2px; background: #75c601; margin-right: 14px; } .bx-vote-container-mobile .bx-vote-buttons .feed-add-button-load, .bx-vote-container-mobile .bx-vote-buttons .feed-add-button-load:hover { color: transparent; cursor: pointer; position: relative; } .bx-vote-container-mobile .bx-vote-buttons .feed-add-button-load:before { border: 1px solid #fff; border-radius: 50%; color: #fff; content: '_'; font-size: 10px; font-family: "OpenSans-Regular", "Helvetica Neue", Helvetica, Arial, sans-serif; line-height: 9px; height: 19px; top: 6px; left: 50%; margin-left: -10px; padding-right: 5px; position: absolute; text-align: right; width: 14px; } .bx-vote-container-mobile .bx-vote-buttons .feed-add-button-load:after { background-color: #fff; content: ''; height: 7px; position: absolute; top: 10px; left: 50%; width: 1px; -webkit-transform-origin: 0 100%; transform-origin: 0 100%; -webkit-animation: clock 1s infinite linear; animation: clock 1s infinite linear; } .bx-vote-container-mobile.bx-vote-container[data-bx-vote-lamp="red"] button[data-bx-vote-button="exportXls"] { display: none; } /* Group of data */ .bx-vote-body { max-height: 288px; overflow-y: hidden; position: relative; } input.bx-vote-checkbox[type=checkbox] { position: absolute; left: -999px; } input.bx-vote-checkbox[type=checkbox]:checked ~ .bx-vote-body { -webkit-animation: expand-vote 0.5s; animation: expand-vote 0.5s; max-height: none; } @-webkit-keyframes expand-vote { 0% { max-height: 288px; } 99% { max-height: 700px; } 100% { max-height: none; } } @keyframes expand-vote { 0% { max-height: 288px; } 99% { max-height: 700px; } 100% { max-height: none; } } .bx-vote-body > label > * { pointer-events: none; } .bx-vote-body label.bx-vote-switcher { background-image: -webkit-linear-gradient(top, rgba(245, 247, 248, 0.3), rgba(245, 247, 248, 1) 23px); background-image: linear-gradient(to bottom, rgba(245, 247, 248, 0.3), rgba(245, 247, 248, 1) 23px); cursor: pointer; height: 38px; left: 0; position: absolute; top: 264px; width: 100%; z-index: 3; } input.bx-vote-checkbox[type=checkbox]:checked ~ .bx-vote-body > label.bx-vote-switcher { display: none; } .bx-vote-body label.bx-vote-switcher:before { background: none; display: block; border-bottom: 1px solid #d7dce0; content: ''; height: 23px; left: 0; right: 0; margin: 0; position: absolute; -webkit-transition: border-color 0.2s linear; transition: border-color 0.2s linear; } .bx-vote-switcher-arrow { border: 1px solid #d7dce0; border-bottom: none; bottom: 14px; height: 21px; left: 50%; margin-left: -32px; position: absolute; width: 63px; -webkit-transition: border-color 0.2s linear; transition: border-color 0.2s linear; background-color: #f5f7f8; z-index: 3; } .bx-vote-switcher-arrow:before { content: ''; position: absolute; top: 11px; left: 26px; height: 3px; width: 5px; background: #555555; -webkit-transform: skew(0deg, 45deg); -moz-transform: skew(0deg, 45deg); -ms-transform: skew(0deg, 45deg); -o-transform: skew(0deg, 45deg); transform: skew(0deg, 45deg); } .bx-vote-switcher-arrow:after { content: ''; position: absolute; top: 11px; left: 31px; height: 3px; width: 6px; background: #555555; -webkit-transform: skew(0deg, -45deg); -moz-transform: skew(0deg, -45deg); -ms-transform: skew(0deg, -45deg); -o-transform: skew(0deg, -45deg); transform: skew(0deg, -45deg); } /* /Group of data */