debian-mirror-gitlab/app/assets/stylesheets/page_bundles/todos.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

95 lines
1.7 KiB
SCSS
Raw Normal View History

2020-11-24 15:15:51 +05:30
@import 'mixins_and_variables_and_functions';
2016-04-02 18:10:28 +05:30
/**
* Dashboard Todos
*
*/
2016-09-29 09:46:39 +05:30
.todos-list > .todo {
2019-10-12 21:52:04 +05:30
// workaround because we cannot use border-collapse
2016-09-29 09:46:39 +05:30
border-top: 1px solid transparent;
2016-06-02 11:05:42 +05:30
&:hover {
2020-11-24 15:15:51 +05:30
background-color: var(--blue-50, $blue-50);
border-color: var(--blue-200, $blue-200);
2016-06-02 11:05:42 +05:30
cursor: pointer;
2016-04-02 18:10:28 +05:30
}
2016-09-29 09:46:39 +05:30
// overwrite border style of .content-list
&:last-child {
border-bottom: 1px solid transparent;
&:hover {
2020-11-24 15:15:51 +05:30
border-color: var(--blue-200, $blue-200);
2016-09-29 09:46:39 +05:30
}
}
2017-08-17 22:00:37 +05:30
&.todo-pending.done-reversible {
&:hover {
2020-11-24 15:15:51 +05:30
border-color: var(--border-color, $border-color);
background-color: var(--gray-50, $gray-50);
2017-08-17 22:00:37 +05:30
border-top: 1px solid transparent;
.todo-avatar,
.todo-item {
2019-07-07 11:18:12 +05:30
opacity: 0.6;
2017-08-17 22:00:37 +05:30
}
}
.todo-avatar,
.todo-item {
2019-07-07 11:18:12 +05:30
opacity: 0.2;
2017-08-17 22:00:37 +05:30
}
.btn {
2020-11-24 15:15:51 +05:30
background-color: var(--gray-50, $gray-50);
2017-08-17 22:00:37 +05:30
}
2016-09-29 09:46:39 +05:30
}
2016-04-02 18:10:28 +05:30
}
.todo-item {
2017-08-17 22:00:37 +05:30
@include transition(opacity);
.status-box {
line-height: inherit;
2016-04-02 18:10:28 +05:30
}
2019-12-04 20:38:33 +05:30
.todo-label,
.todo-project {
a {
2020-11-24 15:15:51 +05:30
color: var(--blue-600, $blue-600);
2019-12-04 20:38:33 +05:30
}
2017-08-17 22:00:37 +05:30
}
2016-04-02 18:10:28 +05:30
.todo-body {
2019-07-31 22:56:46 +05:30
p {
2020-11-24 15:15:51 +05:30
color: var(--gl-text-color, $gl-text-color);
2019-07-31 22:56:46 +05:30
}
2016-06-02 11:05:42 +05:30
2019-07-31 22:56:46 +05:30
pre {
border: 0;
2020-11-24 15:15:51 +05:30
background: var(--gray-50, $gray-50);
2019-07-31 22:56:46 +05:30
border-radius: 0;
2020-11-24 15:15:51 +05:30
color: var(--gray-500, $gray-500);
2019-07-31 22:56:46 +05:30
margin: 0 20px;
overflow: hidden;
}
2016-04-02 18:10:28 +05:30
2019-07-31 22:56:46 +05:30
.note-image-attach {
margin-top: 4px;
margin-left: 0;
max-width: 200px;
float: none;
}
2016-04-02 18:10:28 +05:30
2021-06-08 01:23:25 +05:30
.gl-label-scoped {
--label-inset-border: inset 0 0 0 1px currentColor;
2018-11-18 11:00:15 +05:30
}
2021-06-08 01:23:25 +05:30
@include media-breakpoint-down(sm) {
2020-11-24 15:15:51 +05:30
border-left: 2px solid var(--border-color, $border-color);
2016-04-02 18:10:28 +05:30
padding-left: 10px;
}
}
2017-08-17 22:00:37 +05:30
}