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

112 lines
1.7 KiB
SCSS
Raw Normal View History

2016-04-02 18:10:28 +05:30
/**
* Dashboard Todos
*
*/
.navbar-nav {
li {
.badge.todos-pending-count {
margin-top: -5px;
2016-06-02 11:05:42 +05:30
font-weight: normal;
background: $todo-alert-blue;
margin-left: -17px;
font-size: 11px;
color: white;
padding: 3px;
padding-top: 1px;
padding-bottom: 1px;
border-radius: 3px;
2016-04-02 18:10:28 +05:30
}
}
}
2016-06-02 11:05:42 +05:30
.todo {
&:hover {
cursor: pointer;
2016-04-02 18:10:28 +05:30
}
}
.todo-item {
.todo-title {
@include str-truncated(calc(100% - 174px));
overflow: visible;
}
.status-box {
margin: 0;
float: none;
display: inline-block;
font-weight: normal;
padding: 0 5px;
line-height: inherit;
font-size: 14px;
2016-04-02 18:10:28 +05:30
}
.todo-body {
margin-right: 174px;
.todo-note {
word-wrap: break-word;
.md {
color: #7f8fa4;
font-size: $gl-font-size;
2016-06-02 11:05:42 +05:30
.label {
color: $gl-text-color;
font-size: inherit;
}
2016-04-02 18:10:28 +05:30
p {
color: #5c5d5e;
}
}
2016-08-24 12:49:21 +05:30
code {
white-space: pre-wrap;
}
2016-04-02 18:10:28 +05:30
pre {
border: none;
background: #f9f9f9;
border-radius: 0;
color: #777;
margin: 0 20px;
overflow: hidden;
}
.note-image-attach {
margin-top: 4px;
2016-06-02 11:05:42 +05:30
margin-left: 0;
2016-04-02 18:10:28 +05:30
max-width: 200px;
float: none;
}
p:last-child {
margin-bottom: 0;
}
}
}
}
@media (max-width: $screen-xs-max) {
.todo-item {
.todo-title {
white-space: normal;
overflow: visible;
max-width: 100%;
margin-bottom: 10px;
2016-04-02 18:10:28 +05:30
}
.avatar {
display: none;
}
.todo-body {
margin: 0;
2016-06-02 11:05:42 +05:30
border-left: 2px solid #ddd;
2016-04-02 18:10:28 +05:30
padding-left: 10px;
}
}
}