2019-08-04 21:57:43 +02:00
|
|
|
.widget-choices {
|
|
|
|
ul {
|
|
|
|
padding: 3px;
|
|
|
|
}
|
2018-02-23 15:37:19 +01:00
|
|
|
|
2019-08-04 21:57:43 +02:00
|
|
|
li {
|
|
|
|
padding: 2px;
|
|
|
|
list-style: none;
|
|
|
|
}
|
2018-02-23 15:37:19 +01:00
|
|
|
|
2019-08-04 21:57:43 +02:00
|
|
|
button {
|
|
|
|
font-weight: 700;
|
|
|
|
color: hsl(240, 100%, 50%);
|
|
|
|
}
|
2018-02-23 15:37:19 +01:00
|
|
|
|
2019-08-04 22:02:02 +02:00
|
|
|
.widget-choices-heading {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2018-02-23 15:37:19 +01:00
|
|
|
}
|
2018-05-31 02:00:40 +02:00
|
|
|
|
2021-07-24 09:54:42 +02:00
|
|
|
.todo-widget {
|
|
|
|
/* For the box-shadow to be visible on the left */
|
2023-01-08 17:09:14 +01:00
|
|
|
.add-task,
|
|
|
|
.add-desc {
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 400;
|
|
|
|
margin-right: 4px;
|
2021-07-24 09:54:42 +02:00
|
|
|
}
|
2022-02-23 20:25:45 +01:00
|
|
|
|
|
|
|
label.checkbox {
|
2023-01-08 17:09:14 +01:00
|
|
|
display: flex; /* Arrange that a multi-line description line wraps properly. */
|
|
|
|
position: relative;
|
|
|
|
vertical-align: top;
|
|
|
|
|
|
|
|
input[type="checkbox"] {
|
|
|
|
~ span {
|
|
|
|
height: 12px;
|
|
|
|
width: 12px;
|
|
|
|
border: 2px solid hsl(156, 28%, 70%);
|
|
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
filter: brightness(1);
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:checked ~ span {
|
|
|
|
background-image: url("../images/checkbox-white.svg");
|
|
|
|
background-size: 75%;
|
|
|
|
background-position: 50% 50%;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-color: hsl(156, 41%, 40%);
|
|
|
|
border: 2px solid hsl(156, 41%, 40%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled ~ span {
|
|
|
|
opacity: 0.5;
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover ~ span {
|
|
|
|
border-color: hsl(156, 30%, 50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus ~ span {
|
|
|
|
outline-color: hsla(0, 0%, 100%, 0);
|
|
|
|
}
|
|
|
|
}
|
2022-02-23 20:25:45 +01:00
|
|
|
}
|
2021-07-24 09:54:42 +02:00
|
|
|
}
|
|
|
|
|
2019-08-04 22:11:14 +02:00
|
|
|
.todo-widget,
|
|
|
|
.poll-widget {
|
|
|
|
h4 {
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 600;
|
2022-07-07 12:08:06 +02:00
|
|
|
|
|
|
|
/* for example in help `?` widget */
|
|
|
|
&.reduced-font-size {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2019-08-04 22:11:14 +02:00
|
|
|
}
|
2018-05-31 02:00:40 +02:00
|
|
|
|
2019-08-04 22:11:14 +02:00
|
|
|
li {
|
|
|
|
list-style: none;
|
2021-09-29 13:23:02 +02:00
|
|
|
margin: 2px 2px 6px 0;
|
2019-08-04 22:11:14 +02:00
|
|
|
}
|
2018-06-26 13:30:59 +02:00
|
|
|
|
2019-08-04 22:11:14 +02:00
|
|
|
ul {
|
2021-11-05 03:33:16 +01:00
|
|
|
margin: 0 0 5px;
|
2019-08-04 22:11:14 +02:00
|
|
|
padding: 0;
|
|
|
|
}
|
2018-05-31 02:00:40 +02:00
|
|
|
}
|
|
|
|
|
2019-08-04 22:11:14 +02:00
|
|
|
.poll-widget {
|
2023-01-08 17:09:14 +01:00
|
|
|
.poll-option {
|
|
|
|
font-weight: 400;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2021-07-24 09:54:42 +02:00
|
|
|
/* For the box-shadow to be visible on the left */
|
|
|
|
input.poll-option {
|
2023-01-08 17:09:14 +01:00
|
|
|
margin-right: 4px;
|
2021-07-24 09:54:42 +02:00
|
|
|
}
|
|
|
|
|
2023-01-08 17:09:14 +01:00
|
|
|
span.poll-option {
|
2019-08-04 22:11:14 +02:00
|
|
|
font-weight: 600;
|
2023-01-08 17:09:14 +01:00
|
|
|
padding-top: 28px;
|
2019-08-04 22:11:14 +02:00
|
|
|
}
|
2018-06-26 13:30:59 +02:00
|
|
|
|
2019-08-04 23:01:03 +02:00
|
|
|
.poll-vote {
|
|
|
|
color: hsl(156, 41%, 40%);
|
|
|
|
border-color: hsl(156, 28%, 70%);
|
2021-09-29 13:23:02 +02:00
|
|
|
border-style: solid;
|
2023-01-08 17:09:14 +01:00
|
|
|
font-weight: 600;
|
2021-09-29 13:23:02 +02:00
|
|
|
border-radius: 3px;
|
2019-08-04 23:01:03 +02:00
|
|
|
margin-right: 4px;
|
2021-09-29 13:23:02 +02:00
|
|
|
padding-left: 2px; /* padding for Chromium browsers */
|
|
|
|
padding-right: 2px;
|
2023-01-08 17:09:14 +01:00
|
|
|
min-width: 25px;
|
|
|
|
height: 25px;
|
|
|
|
font-size: 13px;
|
2019-08-04 23:01:03 +02:00
|
|
|
background-color: hsl(0, 0%, 100%);
|
2018-06-26 13:30:59 +02:00
|
|
|
|
2019-08-04 23:01:03 +02:00
|
|
|
&:hover {
|
|
|
|
border-color: hsl(156, 30%, 50%);
|
|
|
|
}
|
2021-10-27 03:09:23 +02:00
|
|
|
|
2021-09-29 13:23:02 +02:00
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
background-color: hsl(156, 41%, 90%);
|
|
|
|
}
|
|
|
|
}
|
2021-10-27 03:09:23 +02:00
|
|
|
|
2021-09-29 13:23:02 +02:00
|
|
|
.poll-names {
|
|
|
|
color: hsl(0, 0%, 45%);
|
|
|
|
padding-left: 4px;
|
2023-01-08 17:09:14 +01:00
|
|
|
padding-top: 28px;
|
2022-12-15 20:08:30 +01:00
|
|
|
font-size: 14px;
|
2019-08-04 22:53:25 +02:00
|
|
|
}
|
2019-08-04 22:51:55 +02:00
|
|
|
}
|
|
|
|
|
2019-08-05 01:44:37 +02:00
|
|
|
button {
|
|
|
|
&.task {
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
background-color: transparent;
|
|
|
|
border-color: hsl(156, 28%, 70%);
|
|
|
|
margin-right: 4px;
|
|
|
|
border-radius: 3px;
|
2018-07-02 19:57:01 +02:00
|
|
|
|
2019-08-05 01:44:37 +02:00
|
|
|
&:hover {
|
|
|
|
border: 1px solid hsl(194, 60%, 40%);
|
|
|
|
}
|
|
|
|
}
|
2018-07-02 19:57:01 +02:00
|
|
|
|
2020-08-06 02:34:58 +02:00
|
|
|
&.add-task,
|
2023-01-08 17:09:14 +01:00
|
|
|
&.poll-option {
|
|
|
|
color: hsl(156, 41%, 40%);
|
|
|
|
border: 1px solid hsl(156, 28%, 70%);
|
|
|
|
width: 100px;
|
2020-08-06 02:34:58 +02:00
|
|
|
border-radius: 3px;
|
|
|
|
background-color: hsl(0, 0%, 100%);
|
2023-01-08 17:09:14 +01:00
|
|
|
padding: 4px;
|
|
|
|
padding-left: 14px;
|
|
|
|
padding-right: 14px;
|
|
|
|
transition: all 0.2s ease;
|
2020-08-06 02:34:58 +02:00
|
|
|
|
2023-01-08 17:09:14 +01:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
border-color: hsl(156, 30%, 50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
border-color: hsl(156, 30%, 40%);
|
|
|
|
color: hsl(156, 44%, 43%);
|
|
|
|
background-color: hsl(154, 33%, 96%);
|
2020-08-06 02:34:58 +02:00
|
|
|
}
|
|
|
|
}
|
2018-07-02 19:57:01 +02:00
|
|
|
}
|
|
|
|
|
2019-08-05 01:42:06 +02:00
|
|
|
input,
|
|
|
|
button {
|
|
|
|
&.add-task,
|
2020-02-22 11:50:24 +01:00
|
|
|
&.add-desc,
|
2019-08-05 01:42:06 +02:00
|
|
|
&.poll-option,
|
|
|
|
&.poll-question {
|
|
|
|
padding: 4px 6px;
|
2021-11-05 03:33:16 +01:00
|
|
|
margin: 2px 0;
|
2019-08-05 01:42:06 +02:00
|
|
|
}
|
2018-06-26 13:30:59 +02:00
|
|
|
}
|
|
|
|
|
2018-07-02 19:57:01 +02:00
|
|
|
.widget-error {
|
2018-10-06 18:49:20 +02:00
|
|
|
color: hsl(1, 45%, 50%);
|
2018-07-02 19:57:01 +02:00
|
|
|
font-size: 12px;
|
|
|
|
}
|
2018-12-22 05:02:36 +01:00
|
|
|
|
|
|
|
.poll-question-check,
|
|
|
|
.poll-question-remove {
|
|
|
|
width: 28px !important;
|
|
|
|
height: 28px;
|
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid hsl(0, 0%, 80%);
|
|
|
|
background-color: hsl(0, 0%, 100%);
|
|
|
|
|
2019-08-05 01:48:08 +02:00
|
|
|
&:hover {
|
|
|
|
border-color: hsl(0, 0%, 60%);
|
|
|
|
}
|
2018-12-22 05:02:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.poll-edit-question {
|
|
|
|
opacity: 0.4;
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 5px;
|
|
|
|
|
2019-08-05 01:49:23 +02:00
|
|
|
&:hover {
|
2020-08-04 23:58:56 +02:00
|
|
|
opacity: 1;
|
2019-08-05 01:49:23 +02:00
|
|
|
}
|
2018-12-22 05:02:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.poll-question-header {
|
2022-01-12 04:16:20 +01:00
|
|
|
display: inline;
|
2018-12-22 05:02:36 +01:00
|
|
|
}
|
2019-02-27 07:20:12 +01:00
|
|
|
|
|
|
|
.current-user-vote {
|
2020-08-04 23:58:56 +02:00
|
|
|
background-color: hsla(156, 10%, 90%, 0.9);
|
2019-02-27 07:20:12 +01:00
|
|
|
}
|