receptor/scss/main.scss

205 lines
2.6 KiB
SCSS
Raw Normal View History

2017-08-22 21:49:48 +02:00
@import "base";
.table {
tbody td {
border: none;
}
}
.torrent {
&.selected {
background-color: lighten($brand-primary, 45);
2017-08-22 21:49:48 +02:00
}
&.error {
background-color: $brand-danger;
color: $white;
a {
color: $white;
text-decoration: underline;
}
}
}
2017-08-23 14:42:00 +02:00
.connection-overlay {
position: fixed;
display: flex;
justify-content: center;
align-items: center;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
.card {
min-width: 20rem;
}
}
2017-09-07 08:19:11 +02:00
input[type="text"], input[type="number"] {
padding: 0.05rem 0.25rem;
border-radius: 0;
border-color: #888;
}
2017-08-23 14:42:00 +02:00
.navbar {
input[type="text"] {
margin-top: 7px;
margin-left: 1rem;
padding: 0 0.5rem;
}
.navbar-brand {
margin-top: -11px;
}
}
2017-08-24 15:50:14 +02:00
.card {
border-radius: 0;
.card-block {
padding: 0.5rem;
}
}
.progress-maxheight {
height: 100%;
.progress-bar {
height: 100%;
}
}
.nav-link {
&.btn-primary {
color: white !important;
&.active {
color: black !important;
background: transparent !important;
border: 1px solid $brand-primary;
}
}
}
2017-08-25 04:32:42 +02:00
.btn-very-sm {
padding: 0 0.75rem;
line-height: 1;
}
.btn-group {
display: flex;
justify-content: space-between;
margin-bottom: 1rem;
.btn-group {
margin-bottom: 0;
}
}
2017-09-07 08:19:11 +02:00
.card {
.card {
border-left: none;
border-right: none;
}
.form-group {
margin-bottom: 0.25rem;
}
}
select.form-control {
height: 1.5rem !important;
padding: 0;
font-size: 0.9rem;
}
fieldset .form-check-input:only-child {
2017-09-07 08:19:11 +02:00
position: absolute;
}
.form-check-inline {
margin-bottom: 0;
}
2017-09-08 09:29:46 +02:00
.torrent-controls {
display: flex;
justify-content: stretch;
align-items: center;
margin-bottom: 0.5rem;
.status {
margin-right: 1rem;
}
.progress {
flex-grow: 1;
height: 1rem;
}
.btn-group {
margin-left: 1rem;
margin-bottom: 0;
& > button {
padding-top: 0;
padding-bottom: 0;
font-size: 0.8rem;
}
}
a {
color: #666;
}
}
.bulk-controls {
float: right;
a {
color: #666;
font-size: 1rem;
margin-right: 1rem;
}
.btn-group {
margin-bottom: 0;
float: right;
& > button {
font-size: 0.8rem;
margin-top: 2px;
}
}
}
.bulk-controls, .torrent-controls {
.dropdown-menu {
padding: 0;
border-radius: 0;
margin-top: 1px;
left: auto;
right: 0;
.dropdown-item {
padding: 0 0.25rem;
}
}
}
.progress {
border-radius: 0;
.progress-bar {
&.bg-info, &.bg-success {
color: #222;
}
&.bg-default {
background: darken($gray-lighter, 10);
color: $black;
}
}
}