html, body {
height: 100%;
}
body {
font-family: $body-font;
font-size: 14px;
padding-top: 6rem;
position: relative;
background: #ebeff2;
margin: 0;
overflow-x: hidden;
background: #ebeff2;
color: #797979;
}
html {
position: relative;
min-height: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: $color-dark;
font-family: $heading-font;
margin: 10px 0;
}
h1 {
font-size: 1.3rem;
font-weight: bold;
}
h2 {
font-size: .9rem;
}
h3 {
font-size: 1.05rem;
}
h3 small {
color: #444444;
}
h4 {
font-size: 1rem;
font-weight: bold;
}
h4 small {
color: #444;
}
h5 {
font-size: 1rem;
}
a, a:visited, a:hover, a:focus {
text-decoration: none;
}
.font-600 {
font-weight: 600;
}
.font-bold {
font-weight: 700;
}
.font-normal {
font-weight: normal;
}
.font-light {
font-weight: 300;
}
.font-lg {
font-size: 4rem;
}
.text-sm {
font-size: .8rem;
}
.text-pale {
color: $color-pale;
}
.text-dark,
.text-dark a {
color: $color-dark;
}
.app-body {
position: relative;
padding-bottom: 7rem;
min-height: 100%;
}
.app-footer {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding-top: 1rem;
padding-bottom: 1rem;
border-top: 1px solid #ddd;
}
.page-header {
margin-bottom: 2rem;
}
.sidebar {
font-family: $heading-font;
a, a:visited {
line-height: 1;
}
table {
width: 100%;
}
}
// buttons
.btn-svg {
width: 3rem;
height: 3rem;
transition: background .2s;
margin-bottom: .5rem;
margin-right: .3rem;
text-align: center;
&.selected {
background: #ccc;
}
svg, img {
margin-left: calc(50% - 0.7rem);
width: 24px;
height: 24px;
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
&.btn-sm {
width: 2.2rem;
height: 2.2rem;
svg, img {
max-width: 1.2rem;
max-height: 1.2rem;
}
}
&.remove {
position: relative;
transition: none;
.rm {
position: absolute;
top: -.4rem;
right: -.4rem;
font-size: .6rem;
background: #fff;
border-radius: 50%;
width: 1.2rem;
height: 1.2rem;
line-height: 1.3rem;
text-align: center;
display: none;
&:before {
font-size: 12px;
}
}
&:hover .rm {
display: block;
}
}
}
.project-pkg-true {
.btn-svg:hover {
background: #ddd;
cursor: pointer;
}
.card .btn-svg:hover {
background: #eee;
}
}
.package-files {
text-align: left;
margin-bottom: 1.5rem;
background: #f4f8fb;
padding: 1rem;
border-radius: .3rem;
box-shadow: 0 1px 5px rgba(178, 203, 222, 0.69) inset;
.in {
height: 10rem;
overflow: hidden;
overflow-y: auto;
}
.badge {
font-weight: normal;
margin-right: .2rem;
padding: .2rem .3rem;
}
}
.inline-links {
a, a:visited {
color: $color-pale;
padding: .2rem .5rem;
display: inline-block;
border-radius: .15rem;
}
a:hover {
background: #ddd;
}
a:active {
background: #ccc;
}
a.shared {
color: $brand-default;
}
}
// utils
.m-a-0:after {
margin: 0;
}
.mr-05 {
margin-right: .5rem;
}
.mt-05 {
margin-top: .5rem;
}
.brd-btm {
border-bottom: 1px solid #ddd;
padding-bottom: .8rem;
}
@media(max-width: 768px) {
body {
padding-top: 8rem;
}
}