gitlab-org--gitlab-foss/app/assets/stylesheets/pages/issuable.scss

381 lines
5.6 KiB
SCSS
Raw Normal View History

.issuable-details {
section {
.issuable-discussion {
margin-right: 1px;
}
}
}
.issuable-filter-count {
span {
display: block;
margin-bottom: -16px;
padding: 13px 0;
}
}
2015-12-03 14:01:35 -05:00
.issuable-show-labels {
a {
margin-right: 5px;
margin-bottom: 5px;
display: inline-block;
.color-label {
padding: 6px 10px;
}
}
&.has-labels {
margin-bottom: -5px;
}
2015-12-03 14:01:35 -05:00
}
.right-sidebar {
2016-03-21 05:07:53 -04:00
a {
color: inherit;
}
.block {
@include clearfix;
padding: $gl-padding 0;
border-bottom: 1px solid $border-gray-light;
// This prevents the mess when resizing the sidebar
// of elements repositioning themselves..
2016-02-03 16:04:48 -05:00
width: $gutter_inner_width;
// --
&.issuable-sidebar-header {
padding-top: 0;
padding-bottom: 10px;
2016-01-27 22:50:18 -05:00
}
&:last-child {
border: none;
}
2016-01-27 22:50:18 -05:00
2016-02-05 18:29:17 -05:00
span {
2016-01-27 22:50:18 -05:00
display: inline-block;
}
2016-02-05 18:29:17 -05:00
.select2-container span {
margin-top: 0;
}
2016-01-27 22:50:18 -05:00
.issuable-count {
margin-top: 7px;
2016-01-27 22:50:18 -05:00
}
.gutter-toggle {
2016-02-03 16:04:48 -05:00
margin-left: 20px;
2016-01-27 22:50:18 -05:00
padding-left: 10px;
2016-02-05 18:25:26 -05:00
&:hover {
color: $gray-darkest;
}
2016-01-27 22:50:18 -05:00
}
}
.block-first {
padding-top: 0;
}
.title {
color: $gl-text-color;
margin-bottom: 10px;
line-height: 1;
2015-11-11 08:12:51 -05:00
.avatar {
margin-left: 0;
2015-11-11 08:12:51 -05:00
}
.edit-link {
color: $gl-gray;
&:hover {
color: $md-link-color;
}
}
2015-11-11 08:12:51 -05:00
}
.cross-project-reference {
2016-03-21 05:07:53 -04:00
color: inherit;
span {
white-space: nowrap;
2016-01-07 15:25:38 -05:00
width: 85%;
overflow: hidden;
position: relative;
display: inline-block;
text-overflow: ellipsis;
}
2015-11-17 06:16:16 -05:00
cite {
font-style: normal;
}
button {
float: right;
2016-01-13 22:07:15 -05:00
padding: 3px 5px;
2015-11-17 06:16:16 -05:00
}
}
.selectbox {
display: none
}
.btn-clipboard {
color: $gl-gray;
2015-11-11 08:12:51 -05:00
}
}
2016-01-27 17:38:19 -05:00
.right-sidebar {
position: fixed;
top: $header-height;
bottom: 0;
2016-01-27 17:38:19 -05:00
right: 0;
z-index: 10;
transition: width .3s;
2016-01-27 17:38:19 -05:00
background: $gray-light;
padding: 10px 20px;
2016-01-27 22:50:18 -05:00
&.right-sidebar-expanded {
width: $gutter_width;
2016-01-28 20:36:48 -05:00
.value {
line-height: 1;
.assign-yourself {
margin-top: 10px;
font-weight: normal;
display: block;
}
}
.bold {
font-weight: 600;
2016-01-28 20:36:48 -05:00
}
.light {
font-weight: normal;
}
.sidebar-collapsed-icon {
display: none;
}
.gutter-toggle {
margin-top: 7px;
border-left: 1px solid $border-gray-light;
}
2016-03-04 12:39:48 -05:00
.assignee .avatar {
float: left;
margin-right: 10px;
margin-bottom: 0;
margin-left: 0;
}
.username {
display: block;
margin-top: 4px;
font-size: 13px;
font-weight: normal;
}
}
&.right-sidebar-collapsed {
/* Extra small devices (phones, less than 768px) */
display: none;
/* Small devices (tablets, 768px and up) */
2016-03-02 12:17:26 -05:00
@media (min-width: $screen-sm-min) {
display: block
}
width: $sidebar_collapsed_width;
2016-01-28 20:36:48 -05:00
padding-top: 0;
.block {
width: $sidebar_collapsed_width - 1px;
margin-left: -19px;
padding: 15px 0 0;
border-bottom: none;
overflow: hidden;
2016-01-28 20:36:48 -05:00
}
2016-02-05 18:21:50 -05:00
.participants {
border-bottom: 1px solid $border-gray-light;
}
.hide-collapsed {
display: none;
}
.gutter-toggle {
width: 100%;
margin-left: 0;
padding-left: 25px;
}
.sidebar-collapsed-icon {
display: block;
width: 100%;
2016-01-28 19:27:42 -05:00
text-align: center;
2016-01-28 20:36:48 -05:00
padding-bottom: 10px;
color: #999;
2016-01-28 20:36:48 -05:00
span {
display: block;
margin-top: 0;
}
.author {
display: none;
}
.btn-clipboard {
border: none;
&:hover {
background: transparent;
}
i {
color: #999;
}
}
}
.sidebar-collapsed-user {
padding-bottom: 0;
margin-bottom: 10px;
}
}
2016-04-08 08:04:20 -04:00
.issuable-pager {
background: $gray-normal;
border: 1px solid $border-gray-normal;
&:hover {
background: $gray-dark;
border: 1px solid $border-gray-dark;
}
&.btn-primary {
@extend .btn-primary
}
}
2016-04-08 08:04:20 -04:00
a:not(.issuable-pager) {
&:hover {
color: $md-link-color;
text-decoration: none;
}
}
2016-03-21 05:07:53 -04:00
2016-04-07 10:56:59 -04:00
.dropdown-content {
a:hover {
color: inherit;
}
}
.dropdown-menu-toggle {
width: 100%;
padding-top: 6px;
}
.open .dropdown-menu {
width: 100%;
}
}
.detail-page-description {
small {
color: $gray-darkest;
}
}
.edited-text {
color: $gray-darkest;
.author_link {
color: $gray-darkest;
}
}
.participants-list {
margin: -5px;
}
.participants-author {
display: inline-block;
padding: 5px;
.author_link {
display: block;
}
.avatar.avatar-inline {
margin: 0;
}
}
.participants-more {
margin-top: 5px;
margin-left: 5px;
a {
color: #8c8c8c;
}
}
.issuable-form-padding-top {
@media (min-width: $screen-sm-min) {
padding-top: 7px;
}
}
.issuable-status-box {
float: none;
display: inline-block;
margin-top: 0;
@media (max-width: $screen-xs-max) {
position: absolute;
top: 0;
left: 0;
}
}
.issuable-header {
position: relative;
padding-left: 45px;
padding-right: 45px;
line-height: 35px;
@media (min-width: $screen-sm-min) {
float: left;
padding-left: 0;
padding-right: 0;
}
}
.issuable-actions {
padding-top: 10px;
@media (min-width: $screen-sm-min) {
float: right;
padding-top: 0;
}
}
.issuable-gutter-toggle {
@media (max-width: $screen-sm-max) {
position: absolute;
top: 0;
right: 0;
}
}
.issuable-meta {
display: inline-block;
line-height: 18px;
}