receptor/scss/main.scss

106 lines
1.6 KiB
SCSS
Raw Normal View History

2017-08-22 21:49:48 +02:00
@import "base";
.table {
tbody td {
border: none;
}
}
.torrent {
&.paused {
color: $gray-dark;
background-color: $gray-lighter;
2017-08-22 21:49:48 +02:00
}
&.idle {
color: $gray-dark;
}
&.error {
background-color: $brand-danger;
color: $white;
a {
color: $white;
text-decoration: underline;
}
}
&.paused {
background-image: linear-gradient(to right, darken($gray-lighter, 20), darken($gray-lighter, 40));
2017-08-23 14:52:08 +02:00
}
&.pending, &.idle {
2017-08-22 21:49:48 +02:00
background-image: linear-gradient(to right, lighten($brand-info, 20), $brand-info);
}
&.seeding {
background-image: linear-gradient(to right, lighten($brand-primary, 20), $brand-primary);
}
2017-08-22 21:49:48 +02:00
&.leeching {
background-image: linear-gradient(to right, lighten($brand-success, 20), $brand-success);
}
2017-08-25 02:01:15 +02:00
&.selected {
background-color: lighten($brand-warning, 20);
}
2017-08-22 21:49:48 +02:00
background-repeat: no-repeat;
2017-08-23 14:52:08 +02:00
background-position: left bottom;
2017-08-22 21:49:48 +02:00
}
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;
}
}