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

424 lines
6.3 KiB
SCSS
Raw Normal View History

2015-09-11 14:41:01 +05:30
.issuable-details {
2015-12-23 02:04:40 +05:30
section {
.issuable-discussion {
margin-right: 1px;
2015-09-25 12:07:36 +05:30
}
2015-09-11 14:41:01 +05:30
}
2016-06-22 15:30:34 +05:30
// Border around images in issue and MR descriptions.
.description img:not(.emoji) {
border: 1px solid $table-border-gray;
padding: 5px;
margin: 5px;
2016-08-24 12:49:21 +05:30
max-height: calc(100vh - 100px);
2016-06-22 15:30:34 +05:30
}
2015-09-11 14:41:01 +05:30
}
2015-11-26 14:37:03 +05:30
.issuable-filter-count {
span {
display: block;
margin-bottom: -16px;
padding: 13px 0;
}
}
2015-12-23 02:04:40 +05:30
.issuable-show-labels {
a {
margin-right: 5px;
margin-bottom: 5px;
display: inline-block;
2016-11-03 12:29:30 +05:30
2015-12-23 02:04:40 +05:30
.color-label {
padding: 6px 10px;
}
2015-11-26 14:37:03 +05:30
}
2016-06-02 11:05:42 +05:30
&.has-labels {
margin-bottom: -5px;
}
2015-11-26 14:37:03 +05:30
}
.right-sidebar {
2016-06-02 11:05:42 +05:30
a {
color: inherit;
}
.issuable-header-text {
margin-top: 7px;
}
2015-12-23 02:04:40 +05:30
.block {
@include clearfix;
2016-06-02 11:05:42 +05:30
padding: $gl-padding 0;
2016-04-02 18:10:28 +05:30
border-bottom: 1px solid $border-gray-light;
// This prevents the mess when resizing the sidebar
// of elements repositioning themselves..
width: $gutter_inner_width;
// --
2016-06-02 11:05:42 +05:30
&.issuable-sidebar-header {
padding-top: 0;
padding-bottom: 10px;
2016-04-02 18:10:28 +05:30
}
2015-11-26 14:37:03 +05:30
2015-12-23 02:04:40 +05:30
&:last-child {
border: none;
}
2016-04-02 18:10:28 +05:30
span {
display: inline-block;
}
.select2-container span {
margin-top: 0;
}
.gutter-toggle {
margin-left: 20px;
padding-left: 10px;
&:hover {
color: $gray-darkest;
}
}
2015-12-23 02:04:40 +05:30
}
2015-11-26 14:37:03 +05:30
.block-first {
padding-top: 0;
}
2015-12-23 02:04:40 +05:30
.title {
color: $gl-text-color;
2016-06-02 11:05:42 +05:30
margin-bottom: 10px;
line-height: 1;
2015-11-26 14:37:03 +05:30
2015-12-23 02:04:40 +05:30
.avatar {
margin-left: 0;
2015-11-26 14:37:03 +05:30
}
2015-12-23 02:04:40 +05:30
.edit-link {
color: $gl-gray;
2016-06-02 11:05:42 +05:30
&:hover {
color: $md-link-color;
}
2015-11-26 14:37:03 +05:30
}
}
2015-12-23 02:04:40 +05:30
.cross-project-reference {
2016-06-02 11:05:42 +05:30
color: inherit;
span {
white-space: nowrap;
width: 85%;
overflow: hidden;
position: relative;
display: inline-block;
text-overflow: ellipsis;
}
2015-11-26 14:37:03 +05:30
cite {
font-style: normal;
}
2015-12-23 02:04:40 +05:30
button {
float: right;
2016-08-24 12:49:21 +05:30
padding: 1px 5px;
background-color: $gray-light;
2015-11-26 14:37:03 +05:30
}
2015-12-23 02:04:40 +05:30
}
2015-11-26 14:37:03 +05:30
2015-12-23 02:04:40 +05:30
.selectbox {
2016-11-03 12:29:30 +05:30
display: none;
2015-12-23 02:04:40 +05:30
}
2015-11-26 14:37:03 +05:30
2015-12-23 02:04:40 +05:30
.btn-clipboard {
color: $gl-gray;
2015-11-26 14:37:03 +05:30
}
}
2016-04-02 18:10:28 +05:30
.right-sidebar {
position: fixed;
2016-06-02 11:05:42 +05:30
top: $header-height;
2016-04-02 18:10:28 +05:30
bottom: 0;
right: 0;
2016-06-02 11:05:42 +05:30
z-index: 10;
2016-04-02 18:10:28 +05:30
transition: width .3s;
background: $gray-light;
padding: 10px 20px;
&.right-sidebar-expanded {
width: $gutter_width;
2016-06-02 11:05:42 +05:30
.value {
line-height: 1;
.assign-yourself {
margin-top: 10px;
display: block;
}
}
.bold {
font-weight: 600;
}
.light {
font-weight: normal;
2016-04-02 18:10:28 +05:30
}
2016-06-22 15:30:34 +05:30
.no-value {
color: $gl-placeholder-color;
}
2016-04-02 18:10:28 +05:30
.sidebar-collapsed-icon {
display: none;
}
.gutter-toggle {
2016-06-02 11:05:42 +05:30
margin-top: 7px;
2016-04-02 18:10:28 +05:30
border-left: 1px solid $border-gray-light;
}
2016-06-02 11:05:42 +05:30
.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;
2016-04-02 18:10:28 +05:30
}
}
&.right-sidebar-collapsed {
2016-06-02 11:05:42 +05:30
/* Extra small devices (phones, less than 768px) */
display: none;
/* Small devices (tablets, 768px and up) */
@media (min-width: $screen-sm-min) {
2016-11-03 12:29:30 +05:30
display: block;
2016-06-02 11:05:42 +05:30
}
2016-04-02 18:10:28 +05:30
width: $sidebar_collapsed_width;
padding-top: 0;
.block {
2016-09-29 09:46:39 +05:30
width: $sidebar_collapsed_width - 2px;
2016-04-02 18:10:28 +05:30
margin-left: -19px;
2016-06-02 11:05:42 +05:30
padding: 15px 0 0;
2016-04-02 18:10:28 +05:30
border-bottom: none;
overflow: hidden;
}
2016-06-02 11:05:42 +05:30
.participants {
border-bottom: 1px solid $border-gray-light;
}
2016-04-02 18:10:28 +05:30
.hide-collapsed {
display: none;
}
.gutter-toggle {
2016-06-02 11:05:42 +05:30
width: 100%;
margin-left: 0;
padding-left: 25px;
2016-04-02 18:10:28 +05:30
}
.sidebar-collapsed-icon {
display: block;
width: 100%;
text-align: center;
padding-bottom: 10px;
2016-06-02 11:05:42 +05:30
color: #999;
2016-04-02 18:10:28 +05:30
span {
display: block;
margin-top: 0;
}
2016-06-02 11:05:42 +05:30
.author {
display: none;
}
2016-04-02 18:10:28 +05:30
.btn-clipboard {
border: none;
&:hover {
background: transparent;
}
i {
2016-06-02 11:05:42 +05:30
color: #999;
2016-04-02 18:10:28 +05:30
}
}
}
2016-06-02 11:05:42 +05:30
.sidebar-collapsed-user {
padding-bottom: 0;
margin-bottom: 10px;
}
2016-06-22 15:30:34 +05:30
.issuable-header-btn {
display: none;
}
2016-04-02 18:10:28 +05:30
}
.issuable-header-btn {
2016-04-02 18:10:28 +05:30
background: $gray-normal;
border: 1px solid $border-gray-normal;
2016-08-24 12:49:21 +05:30
2016-04-02 18:10:28 +05:30
&:hover {
background: $gray-dark;
border: 1px solid $border-gray-dark;
}
2016-06-02 11:05:42 +05:30
&.btn-primary {
2016-11-03 12:29:30 +05:30
@extend .btn-primary;
2016-06-02 11:05:42 +05:30
}
}
a {
2016-06-02 11:05:42 +05:30
&:hover {
color: $md-link-color;
text-decoration: none;
}
}
.dropdown-content {
a:hover {
color: inherit;
}
}
.dropdown-menu-toggle {
width: 100%;
padding-top: 6px;
}
.open .dropdown-menu {
width: 100%;
2016-04-02 18:10:28 +05:30
}
}
.detail-page-description {
small {
color: $gray-darkest;
}
}
2016-06-02 11:05:42 +05:30
.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 {
2016-06-22 15:30:34 +05:30
color: $gl-placeholder-color;
2016-06-02 11:05:42 +05:30
}
}
.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;
}
2016-09-13 17:45:13 +05:30
.js-issuable-selector-wrap {
.js-issuable-selector {
width: 100%;
}
2016-11-03 12:29:30 +05:30
2016-09-13 17:45:13 +05:30
@media (max-width: $screen-sm-max) {
margin-bottom: $gl-padding;
}
}
2016-09-29 09:46:39 +05:30
.issuable-list {
li {
.issue-check {
float: left;
padding-right: $gl-padding;
margin-bottom: 10px;
min-width: 15px;
.selected_issue {
vertical-align: text-top;
}
}
}
}