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

177 lines
2.4 KiB
SCSS
Raw Normal View History

2015-02-17 19:14:49 -05:00
@media (max-width: $screen-sm-max) {
.issuable-affix {
margin-top: 20px;
}
}
@media (max-width: $screen-md-max) {
.issuable-affix {
position: static;
}
}
@media (min-width: $screen-md-max) {
.issuable-affix {
&.affix-top {
position: static;
}
&.affix {
position: fixed;
top: 70px;
2015-04-28 18:06:48 -04:00
margin-right: 35px;
&.no-affix {
position: relative;
top: 0;
}
2015-02-17 19:14:49 -05:00
}
}
}
.project-issuable-filter {
.controls {
float: right;
margin-top: 11px;
}
.nav-links {
text-align: left;
}
}
.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;
}
}
}
.issuable-sidebar {
.block {
@include clearfix;
padding: $gl-padding 0;
border-bottom: 1px solid #F0F0F0;
2016-01-27 22:50:18 -05:00
&:first-child {
padding-top: 5px;
}
&:last-child {
border: none;
}
2016-01-27 22:50:18 -05:00
span {
margin-top: 7px;
display: inline-block;
}
.issuable-count {
}
.gutter-toggle {
2016-01-27 22:50:18 -05:00
margin-left: 10px;
border-left: 1px solid #F0F0F0;
padding-left: 10px;
}
}
.title {
color: $gl-text-color;
margin-bottom: 8px;
2015-11-11 08:12:51 -05:00
.avatar {
margin-left: 0;
2015-11-11 08:12:51 -05:00
}
label {
font-weight: normal;
margin-right: 4px;
2015-11-11 08:12:51 -05:00
}
.edit-link {
color: $gl-gray;
}
2015-11-11 08:12:51 -05:00
}
.cross-project-reference {
color: $gl-link-color;
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
}
.participants .avatar {
margin-top: 6px;
margin-right: 2px;
}
}
2016-01-27 17:38:19 -05:00
.right-sidebar {
position: fixed;
top: 58px;
right: 0;
height: 100%;
transition-duration: .3s;
background: $gray-light;
overflow: scroll;
padding: 10px 20px;
2016-01-27 22:50:18 -05:00
&.right-sidebar-expanded {
width: $gutter_width;
}
&.right-sidebar-collapsed {
width: $sidebar_collapsed_width;
}
2016-01-27 22:50:18 -05:00
.btn {
background: $gray-normal;
border: 1px solid $gray-darkest;
}
2016-01-27 17:38:19 -05:00
}