gitlab-org--gitlab-foss/app/assets/stylesheets/page_bundles/todos.scss

95 lines
1.7 KiB
SCSS
Raw Normal View History

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