2022-10-25 18:55:39 +00:00
|
|
|
/*
|
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for Extension:AJAXPoll
|
|
|
|
* Module: ext.ajaxpoll
|
|
|
|
* Version: REL1_39 (8429d8d)
|
|
|
|
*
|
|
|
|
* Date: 2022-10-25
|
|
|
|
*/
|
|
|
|
|
|
|
|
.ajaxpoll {
|
|
|
|
/* Responsive to container */
|
|
|
|
width: auto;
|
2022-11-01 00:34:00 +00:00
|
|
|
padding: var( --space-xl );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: transparent;
|
2022-10-25 18:55:39 +00:00
|
|
|
border-color: transparent;
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-medium );
|
2022-10-25 18:55:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ajaxpoll .ajaxpoll-question {
|
2024-10-23 21:34:41 +00:00
|
|
|
font-weight: var( --font-weight-semi-bold );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2022-10-25 18:55:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ajaxpoll .ajaxpoll-answer-name,
|
|
|
|
.ajaxpoll-answer-name-revoke {
|
2022-11-01 00:34:00 +00:00
|
|
|
margin-top: var( --space-xs );
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small );
|
2022-10-25 18:55:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ajaxpoll .ajaxpoll-hover-vote {
|
2024-06-10 23:47:49 +00:00
|
|
|
color: var( --color-inverted-fixed );
|
2023-07-28 01:19:27 +00:00
|
|
|
background: var( --color-destructive );
|
2022-10-25 18:55:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ajaxpoll .ajaxpoll-hover-revoke {
|
|
|
|
background-color: var( --color-surface-2--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
.ajaxpoll .ajaxpoll-answer-vote {
|
|
|
|
position: relative;
|
|
|
|
display: grid;
|
2023-07-28 01:19:27 +00:00
|
|
|
place-content: center;
|
2022-10-25 18:55:39 +00:00
|
|
|
height: 2rem;
|
2023-07-28 01:19:27 +00:00
|
|
|
overflow: hidden;
|
2024-02-26 22:14:19 +00:00
|
|
|
font-size: var( --font-size-x-small );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-3 );
|
2022-10-25 18:55:39 +00:00
|
|
|
border: 0;
|
2024-07-15 06:07:25 +00:00
|
|
|
border-top: var( --border-width-base ) solid var( --border-color-base );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-bottom-right-radius: var( --border-radius-medium );
|
|
|
|
border-bottom-left-radius: var( --border-radius-medium );
|
2022-10-25 18:55:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ajaxpoll .ajaxpoll-answer-vote div {
|
|
|
|
bottom: 0;
|
|
|
|
box-sizing: border-box;
|
2023-07-28 01:19:27 +00:00
|
|
|
height: auto;
|
|
|
|
background: var( --color-surface-2 );
|
2022-10-25 18:55:39 +00:00
|
|
|
border-right: 0;
|
2024-07-15 06:07:25 +00:00
|
|
|
border-right: var( --border-width-thick ) solid var( --border-color-base );
|
2022-10-25 18:55:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ajaxpoll .ajaxpoll-our-vote div {
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-progressive-subtle );
|
2022-10-25 18:55:39 +00:00
|
|
|
border: 0;
|
2024-07-15 06:07:25 +00:00
|
|
|
border-right: var( --border-width-thick ) solid var( --color-progressive );
|
2022-10-25 18:55:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ajaxpoll .ajaxpoll-answer-vote span {
|
|
|
|
position: initial;
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-10-25 18:55:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ajaxpoll label {
|
|
|
|
display: block;
|
2022-11-01 00:34:00 +00:00
|
|
|
padding: var( --space-xs );
|
2023-07-28 01:19:27 +00:00
|
|
|
font-weight: var( --font-weight-medium );
|
|
|
|
cursor: pointer;
|
2022-10-25 18:55:39 +00:00
|
|
|
background-color: var( --color-surface-2 );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-top-left-radius: var( --border-radius-medium );
|
|
|
|
border-top-right-radius: var( --border-radius-medium );
|
2022-10-25 18:55:39 +00:00
|
|
|
|
|
|
|
// Added active state
|
|
|
|
&:active {
|
|
|
|
background-color: var( --color-surface-2--active );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ajaxpoll input {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ajaxpoll .ajaxpoll-checkevent {
|
2024-06-10 23:47:49 +00:00
|
|
|
color: var( --color-inverted-fixed );
|
2023-07-28 01:19:27 +00:00
|
|
|
background: var( --color-success );
|
2022-10-25 18:55:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ajaxpoll .ajaxpoll-misc {
|
|
|
|
margin-bottom: 10px;
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-10-25 18:55:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ajaxpoll .ajaxpoll-ajax {
|
2022-11-01 00:34:00 +00:00
|
|
|
padding: var( --space-xs ) var( --space-md );
|
2022-10-25 18:55:39 +00:00
|
|
|
margin-bottom: var( --space-md );
|
2024-02-26 22:14:19 +00:00
|
|
|
font-size: var( --font-size-x-small );
|
2023-07-28 01:19:27 +00:00
|
|
|
background: var( --color-surface-2 );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2022-10-25 18:55:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ajaxpoll .ajaxpoll-info {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-top: var( --space-md );
|
2024-02-26 22:14:19 +00:00
|
|
|
font-size: var( --font-size-x-small );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-10-25 18:55:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ajaxpoll .ajaxpoll-id-info {
|
|
|
|
float: none;
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-10-25 18:55:39 +00:00
|
|
|
}
|