2014-09-02 18:07:02 +05:30
|
|
|
/**
|
|
|
|
* Well styled list
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
.well-list {
|
2016-06-02 11:05:42 +05:30
|
|
|
position: relative;
|
2014-09-02 18:07:02 +05:30
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
|
2015-12-23 02:04:40 +05:30
|
|
|
> li {
|
2014-09-02 18:07:02 +05:30
|
|
|
padding: 10px 15px;
|
|
|
|
min-height: 20px;
|
2017-08-17 22:00:37 +05:30
|
|
|
border-bottom: 1px solid $list-border-light;
|
|
|
|
border-bottom: 1px solid $list-border;
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
&::after {
|
2014-09-02 18:07:02 +05:30
|
|
|
content: " ";
|
|
|
|
display: table;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
2017-08-17 22:00:37 +05:30
|
|
|
color: $list-text-disabled-color;
|
2014-09-02 18:07:02 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
&.unstyled {
|
|
|
|
&:hover {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.warning-row {
|
2017-08-17 22:00:37 +05:30
|
|
|
background-color: $list-warning-row-bg;
|
|
|
|
border-color: $list-warning-row-border;
|
|
|
|
color: $list-warning-row-color;
|
2014-09-02 18:07:02 +05:30
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
&.smoke { background-color: $gray-light; }
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
&:not(.ui-sort-disabled):hover {
|
2016-04-02 18:10:28 +05:30
|
|
|
background: $row-hover;
|
2014-09-02 18:07:02 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: none;
|
|
|
|
|
|
|
|
&.bottom {
|
2017-08-17 22:00:37 +05:30
|
|
|
background: $gray-light;
|
2014-09-02 18:07:02 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-item-name {
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
|
|
|
top: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
padding-top: 1px;
|
|
|
|
margin: 0;
|
2017-08-17 22:00:37 +05:30
|
|
|
color: $white-normal;
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2014-09-02 18:07:02 +05:30
|
|
|
img {
|
|
|
|
position: relative;
|
|
|
|
top: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.well-title {
|
2015-04-26 12:48:37 +05:30
|
|
|
font-size: $list-font-size;
|
2014-09-02 18:07:02 +05:30
|
|
|
line-height: 18px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/** light list with border-bottom between li **/
|
2017-08-17 22:00:37 +05:30
|
|
|
ul.bordered-list,
|
|
|
|
ul.unstyled-list {
|
2015-09-25 12:07:36 +05:30
|
|
|
@include basic-list;
|
2014-09-02 18:07:02 +05:30
|
|
|
|
|
|
|
&.top-list {
|
|
|
|
li:first-child {
|
|
|
|
padding-top: 0;
|
2015-09-25 12:07:36 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
h4,
|
|
|
|
h5 {
|
2014-09-02 18:07:02 +05:30
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2016-01-14 18:37:52 +05:30
|
|
|
ul.unstyled-list > li {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
// Generic content list
|
2015-09-25 12:07:36 +05:30
|
|
|
ul.content-list {
|
|
|
|
@include basic-list;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
li {
|
|
|
|
border-color: $white-normal;
|
2016-06-02 11:05:42 +05:30
|
|
|
font-size: $list-font-size;
|
|
|
|
color: $list-text-color;
|
|
|
|
|
2016-09-13 17:45:13 +05:30
|
|
|
&.no-description {
|
|
|
|
.title {
|
|
|
|
line-height: $list-text-height;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
.title {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2017-08-17 22:00:37 +05:30
|
|
|
color: $gl-text-color;
|
2016-06-02 11:05:42 +05:30
|
|
|
}
|
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
.member-group-link {
|
2017-08-17 22:00:37 +05:30
|
|
|
color: $blue-600;
|
2016-11-03 12:29:30 +05:30
|
|
|
}
|
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
.description {
|
|
|
|
p {
|
|
|
|
@include str-truncated;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2015-09-25 12:07:36 +05:30
|
|
|
|
|
|
|
.controls {
|
|
|
|
float: right;
|
2015-10-24 18:46:33 +05:30
|
|
|
|
2016-08-24 12:49:21 +05:30
|
|
|
> .control-text {
|
|
|
|
margin-right: $gl-padding-top;
|
2016-09-13 17:45:13 +05:30
|
|
|
line-height: $list-text-height;
|
2016-08-24 12:49:21 +05:30
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-16 23:09:34 +05:30
|
|
|
> .btn,
|
2017-08-17 22:00:37 +05:30
|
|
|
> .btn-group,
|
|
|
|
> .dropdown.inline {
|
2016-06-16 23:09:34 +05:30
|
|
|
margin-right: $gl-padding-top;
|
|
|
|
display: inline-block;
|
2016-09-13 17:45:13 +05:30
|
|
|
margin-top: 3px;
|
2016-06-16 23:09:34 +05:30
|
|
|
margin-bottom: 4px;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
@media(max-width: $screen-xs-max) {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2016-06-16 23:09:34 +05:30
|
|
|
}
|
2015-10-24 18:46:33 +05:30
|
|
|
}
|
2016-09-29 09:46:39 +05:30
|
|
|
|
|
|
|
.no-comments {
|
2016-11-03 12:29:30 +05:30
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.member-controls {
|
|
|
|
float: none;
|
|
|
|
|
|
|
|
@media (min-width: $screen-sm-min) {
|
|
|
|
float: right;
|
2016-09-29 09:46:39 +05:30
|
|
|
}
|
2015-09-25 12:07:36 +05:30
|
|
|
}
|
2016-06-16 23:09:34 +05:30
|
|
|
|
|
|
|
// When dragging a list item
|
|
|
|
&.ui-sortable-helper {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.list-placeholder {
|
|
|
|
background-color: $gray-light;
|
2017-08-17 22:00:37 +05:30
|
|
|
border: dotted 1px $white-normal;
|
2016-06-16 23:09:34 +05:30
|
|
|
margin: 1px 0;
|
2016-06-22 15:30:34 +05:30
|
|
|
min-height: 52px;
|
2016-06-16 23:09:34 +05:30
|
|
|
}
|
2015-09-25 12:07:36 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
// Content list using flexbox
|
|
|
|
.flex-list {
|
|
|
|
.flex-row {
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row-main-content {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
overflow: hidden;
|
|
|
|
padding-right: 8px;
|
|
|
|
}
|
2016-08-24 12:49:21 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.row-fixed-content {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row-title {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row-second-line {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown {
|
|
|
|
.btn-block {
|
|
|
|
margin-bottom: 0;
|
|
|
|
line-height: inherit;
|
2016-08-24 12:49:21 +05:30
|
|
|
}
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
.label-default {
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel > .content-list > li {
|
|
|
|
padding: $gl-padding-top $gl-padding;
|
2015-12-23 02:04:40 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
ul.controls {
|
|
|
|
float: right;
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
padding: 10px 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> li {
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
2016-01-19 16:12:03 +05:30
|
|
|
|
2015-12-23 02:04:40 +05:30
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.author_link {
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
.avatar-inline {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
2017-08-17 22:00:37 +05:30
|
|
|
margin-bottom: 0;
|
2015-12-23 02:04:40 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
ul.indent-list {
|
|
|
|
padding: 10px 0 0 30px;
|
|
|
|
}
|