mdhub/app/application/resources/site/scss/repository.scss

156 lines
3.2 KiB
SCSS

.content-repositories {
padding-top: 10px;
.h1 {
.button__create {
display: block;
margin-bottom: 0;
}
}
}
.content-repositories__list__item {
border: 1px solid #ddd;
margin-bottom: 20px;
padding: 10px;
display: block;
text-decoration: none;
color: #000;
}
.content-repositories__list__item__head {
display: flex;
flex-direction: row;
-moz-box-pack: justify;
justify-content: space-between;
-moz-box-align: center;
align-items: center;
}
.content-repositories__list__item__line {
display: block;
padding-top: 10px;
}
.content-repositories__list__item__updated {
color: #777;
}
.content-repositories__menu {
list-style: none;
margin: 0 0 20px;
padding: 0;
border-bottom: 1px solid #ddd;
font-size: 0;
li {
margin: 0;
padding: 0;
display: inline-block;
vertical-align: top;
margin-right: 10px;
padding-bottom: 10px;
a {
color: #000;
text-decoration: none;
font-size: 18px;
transition: opacity 0.2s ease-out;
padding-left: 7px;
padding-right: 7px;
}
a:hover {
opacity: 0.65;
}
}
li.active {
padding-bottom: 8px;
border-bottom: 2px solid #006400;
a {
font-weight: bold;
}
}
}
.content-repositories__overview__command {
background: #eee;
margin-bottom: 20px;
}
.content-repositories__overview__command__head {
font-weight: bold;
font-size: 18px;
margin-bottom: 15px;
}
.content-repositories__overview__content {
margin-bottom: 20px;
}
.content-repositories__overview__border {
border: 1px solid #ddd;
padding: 15px 10px;
}
.content-repositories__tag__content {
margin-bottom: 20px;
}
.content-repositories__tag__info {
p {
margin-top: 0;
padding-bottom: 10px;
}
}
.content-repositories__tag {
border: 1px solid #ddd;
padding: 15px 10px;
margin-bottom: 20px;
}
@media (min-width: 550px) {
.content-repositories {
.h1 {
display: flex;
flex-direction: row;
-moz-box-pack: justify;
justify-content: space-between;
-moz-box-align: center;
align-items: center;
}
}
.content-repositories__buttons {
display: flex;
flex-direction: row;
-moz-box-pack: justify;
justify-content: space-between;
-moz-box-align: center;
align-items: center;
}
}
@media (min-width: 1000px) {
.content-repositories__overview {
display: flex;
flex-direction: row;
-moz-box-pack: justify;
justify-content: space-between;
}
.content-repositories__overview__content {
order: 1;
width: 100%;
}
.content-repositories__overview__command {
order: 2;
width: 350px;
margin-left: 20px;
}
.content-repositories__tag__content {
display: flex;
flex-direction: row;
-moz-box-pack: justify;
justify-content: space-between;
margin-bottom: 10px;
}
.content-repositories__tag__command {
padding-top: 20px;
}
}