2019-08-04 21:57:43 +02:00
|
|
|
.widget-choices {
|
2023-03-17 22:10:10 +01:00
|
|
|
& ul {
|
2019-08-04 21:57:43 +02:00
|
|
|
padding: 3px;
|
|
|
|
}
|
2018-02-23 15:37:19 +01:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& li {
|
2019-08-04 21:57:43 +02:00
|
|
|
padding: 2px;
|
|
|
|
list-style: none;
|
|
|
|
}
|
2018-02-23 15:37:19 +01:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& button {
|
2019-08-04 21:57:43 +02:00
|
|
|
font-weight: 700;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(240deg 100% 50%);
|
2019-08-04 21:57:43 +02:00
|
|
|
}
|
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
|
|
|
|
2023-03-17 22:10:10 +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;
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& input[type="checkbox"] {
|
2023-01-08 17:09:14 +01:00
|
|
|
~ span {
|
|
|
|
height: 12px;
|
|
|
|
width: 12px;
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 2px solid hsl(156deg 28% 70%);
|
2023-01-08 17:09:14 +01:00
|
|
|
|
|
|
|
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;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(156deg 41% 40%);
|
|
|
|
border: 2px solid hsl(156deg 41% 40%);
|
2023-01-08 17:09:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled ~ span {
|
|
|
|
opacity: 0.5;
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover ~ span {
|
2023-03-20 22:08:47 +01:00
|
|
|
border-color: hsl(156deg 30% 50%);
|
2023-01-08 17:09:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus ~ span {
|
2023-03-20 22:08:47 +01:00
|
|
|
outline-color: hsl(0deg 0% 100% / 0%);
|
2023-01-08 17:09:14 +01:00
|
|
|
}
|
|
|
|
}
|
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 {
|
2023-03-17 22:10:10 +01:00
|
|
|
& h4 {
|
2019-08-04 22:11:14 +02:00
|
|
|
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
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& li {
|
2019-08-04 22:11:14 +02:00
|
|
|
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
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& ul {
|
2021-11-05 03:33:16 +01:00
|
|
|
margin: 0 0 5px;
|
2019-08-04 22:11:14 +02:00
|
|
|
padding: 0;
|
|
|
|
}
|
2023-03-27 11:24:07 +02:00
|
|
|
|
|
|
|
& input {
|
|
|
|
&.poll-question,
|
|
|
|
&.poll-option,
|
|
|
|
&.add-task,
|
|
|
|
&.add-desc {
|
|
|
|
width: 206px;
|
|
|
|
}
|
|
|
|
}
|
2023-06-20 11:44:03 +02:00
|
|
|
|
|
|
|
& input[type="text"] {
|
|
|
|
border: 1px solid hsl(0deg 0% 80%);
|
|
|
|
box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
|
2023-07-21 23:08:07 +02:00
|
|
|
transition:
|
|
|
|
border linear 0.2s,
|
|
|
|
box-shadow linear 0.2s;
|
2023-06-20 11:44:03 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
color: hsl(0deg 0% 33%);
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border-color: hsl(206deg 80% 62% / 80%);
|
|
|
|
outline: 0;
|
2023-08-16 06:17:17 +02:00
|
|
|
box-shadow: none;
|
|
|
|
background-color: var(--color-background-widget-input);
|
2023-06-20 11:44:03 +02:00
|
|
|
}
|
|
|
|
}
|
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 */
|
2023-03-17 22:10:10 +01:00
|
|
|
& input.poll-option {
|
2023-01-08 17:09:14 +01:00
|
|
|
margin-right: 4px;
|
2021-07-24 09:54:42 +02:00
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +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 {
|
2023-02-28 09:52:55 +01:00
|
|
|
/* This is to ensure that even when the list of poll-names overflows,
|
|
|
|
the voting button remains clickable and on top of all other containers. */
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(156deg 41% 40%);
|
|
|
|
border-color: hsl(156deg 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;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 100%);
|
2018-06-26 13:30:59 +02:00
|
|
|
|
2019-08-04 23:01:03 +02:00
|
|
|
&:hover {
|
2023-03-20 22:08:47 +01:00
|
|
|
border-color: hsl(156deg 30% 50%);
|
2019-08-04 23:01:03 +02:00
|
|
|
}
|
2021-10-27 03:09:23 +02:00
|
|
|
|
2021-09-29 13:23:02 +02:00
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(156deg 41% 90%);
|
2021-09-29 13:23:02 +02:00
|
|
|
}
|
|
|
|
}
|
2021-10-27 03:09:23 +02:00
|
|
|
|
2021-09-29 13:23:02 +02:00
|
|
|
.poll-names {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 45%);
|
2021-09-29 13:23:02 +02:00
|
|
|
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;
|
2023-03-20 22:08:47 +01:00
|
|
|
border-color: hsl(156deg 28% 70%);
|
2019-08-05 01:44:37 +02:00
|
|
|
margin-right: 4px;
|
|
|
|
border-radius: 3px;
|
2018-07-02 19:57:01 +02:00
|
|
|
|
2019-08-05 01:44:37 +02:00
|
|
|
&:hover {
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(194deg 60% 40%);
|
2019-08-05 01:44:37 +02:00
|
|
|
}
|
|
|
|
}
|
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 {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(156deg 41% 40%);
|
|
|
|
border: 1px solid hsl(156deg 28% 70%);
|
2023-01-08 17:09:14 +01:00
|
|
|
width: 100px;
|
2020-08-06 02:34:58 +02:00
|
|
|
border-radius: 3px;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 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;
|
2023-03-20 22:08:47 +01:00
|
|
|
border-color: hsl(156deg 30% 50%);
|
2023-01-08 17:09:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2023-03-20 22:08:47 +01:00
|
|
|
border-color: hsl(156deg 30% 40%);
|
|
|
|
color: hsl(156deg 44% 43%);
|
|
|
|
background-color: hsl(154deg 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,
|
2022-07-29 04:25:31 +02:00
|
|
|
&.poll-question,
|
|
|
|
&.todo-task-list-title {
|
2019-08-05 01:42:06 +02:00
|
|
|
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 {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(1deg 45% 50%);
|
2018-07-02 19:57:01 +02:00
|
|
|
font-size: 12px;
|
|
|
|
}
|
2018-12-22 05:02:36 +01:00
|
|
|
|
|
|
|
.poll-question-check,
|
2022-07-29 04:25:31 +02:00
|
|
|
.poll-question-remove,
|
|
|
|
.todo-task-list-title-check,
|
|
|
|
.todo-task-list-title-remove {
|
2018-12-22 05:02:36 +01:00
|
|
|
width: 28px !important;
|
|
|
|
height: 28px;
|
|
|
|
border-radius: 3px;
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 80%);
|
|
|
|
background-color: hsl(0deg 0% 100%);
|
2018-12-22 05:02:36 +01:00
|
|
|
|
2019-08-05 01:48:08 +02:00
|
|
|
&:hover {
|
2023-03-20 22:08:47 +01:00
|
|
|
border-color: hsl(0deg 0% 60%);
|
2019-08-05 01:48:08 +02:00
|
|
|
}
|
2018-12-22 05:02:36 +01:00
|
|
|
}
|
|
|
|
|
2022-07-29 04:25:31 +02:00
|
|
|
.poll-edit-question,
|
|
|
|
.todo-edit-task-list-title {
|
2018-12-22 05:02:36 +01:00
|
|
|
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
|
|
|
}
|
|
|
|
|
2022-07-29 04:25:31 +02:00
|
|
|
.poll-question-header,
|
|
|
|
.todo-task-list-title-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 {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(156deg 10% 90% / 90%);
|
2019-02-27 07:20:12 +01:00
|
|
|
}
|