Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Use your custom theme:
- Select "Custom" theme in the dashboard
- On your https://poll.ma.pe/overlay/<id>/ URL add ?customCss=https://example.com/style.css
- Please keep the link to https://poll.ma.pe visible for a short period of time.
- */
- @import url(https://fonts.googleapis.com/css?family=Roboto);
- /*
- * "custom" refers to the theme assigned to the poll element
- */
- .custom {
- background: none;
- width: 1920px;
- transition: opacity 1s;
- padding: 10px;
- font-family: Roboto;
- // Hide when not active
- opacity: 0;
- }
- .custom.finished,
- .custom.active {
- opacity: 1;
- }
- .custom .metaInfo {
- display: none;
- }
- .custom .total, .custom .duration {
- display: none;
- }
- .custom .total strong,
- .custom .duration strong {
- display: none;
- }
- .custom.finished .options li,
- .custom.removing .options li {
- opacity: 0.3;
- transition: all 1s;
- }
- .custom.finished .options li.highest,
- .custom.removing .options li.highest {
- color: #ffa;
- opacity: 1;
- }
- .custom.finished .options li.help,
- .custom.removing .options li.help {
- height: 0;
- }
- .custom.finished .metaInfo,
- .custom.removing .metaInfo {
- opacity: 0.3;
- }
- .custom.active .options li.help {
- height: 35px;
- }
- .custom .options li {
- position: relative;
- border: 1px;
- padding: 10px;
- color: #a9131a;
- text-overflow: ellipsis;
- background: none;
- padding-right: 55px;
- padding-left: 55px;
- font-size: 15px;
- }
- .custom .options li.question {
- display: none;
- }
- .custom .options li.help {
- display: none;
- }
- .custom .options li.help span {
- display: block;
- padding: 10px;
- display: none;
- }
- .custom .options li .procent {
- position: absolute;
- top: 10px;
- right: 15px;
- }
- .custom .options li .number {
- }
- .custom .options li .bar {
- background: #4a4a4a;
- height: 15px;
- margin-top: 5px;
- }
- .custom .options li .bar .bar-inner {
- background: #a9131a;
- height: 100%;
- width: 0;
- transition: width 1s;
- position: relative;
- }
- .custom .options li .text {
- line-height: 1.3;
- }
- /*
- * Optional outer border
- */
- .custom .border {
- border: none;
- }
- .custom .credits {
- opacity: 0;
- height: 0;
- }
- .custom .credits {
- text-align: center;
- opacity: 1;
- transition: all 1s;
- height: 25px;
- clear: both;
- overflow: hidden;
- }
- .custom.active .credits, .custom.removing .credits {
- height: 0;
- opacity: 0;
- }
- /*
- * Positioning
- */
- .custom.topLeft {
- top: 20px;
- left: 20px;
- }
- .custom.topCenter {
- top: 20px;
- left: 50%;
- transform: translate(-50%, 0);
- }
- .custom.topRight {
- top: 20px;
- right: 20px;
- }
- .custom.middleLeft {
- top: 50%;
- transform: translate(0, -50%);
- left: 20px;
- }
- .custom.middleCenter {
- top: 50%;
- transform: translate(-50%, -50%);
- left: 50%;
- }
- .custom.middleRight {
- top: 50%;
- transform: translate(0, -50%);
- right: 20px;
- }
- .custom.bottomLeft {
- bottom: 20px;
- left: 20px;
- }
- .custom.bottomCenter {
- bottom: 20px;
- left: 50%;
- transform: translate(-50%, 0);
- }
- .custom.bottomRight {
- bottom: 20px;
- right: 20px;
- }
Add Comment
Please, Sign In to add comment