Newer
Older
anicusi / scss / components / torrents.scss
@Eugene Eugene on 11 Apr 932 bytes init
.component.torrents {
	display: flex;
	width: 100%;
	flex-direction: column;
	background-color: $color-addition;
	border-radius: $border-rad-lg;

	.torrent {
		display: grid;
		grid-template-columns: max-content 160px max-content max-content;
		grid-gap: $std-mg-md;
		justify-content: space-between;
		align-items: center;
		padding: $std-pd-sm $std-pd-md;

		@include media("max", "lg") {
			grid-template-columns: max-content 160px max-content;
			grid-gap: $std-mg-sm;
		}

		@include media("max", "sm") {
			font-size: 0.75em;
			grid-template-columns: max-content max-content max-content;
		}

		.seed {
			.mdi {
				color: $color-success;
			}
		}

		.leech {
			.mdi {
				color: $color-danger;
			}
		}
		
		@include media("max", "lg") {
	  	.seed-leech {
	  		display: none;
	  	}

	  	.download .btn-label {
	  		display: none;
	  	}

	  	.download .btn-tsize {
	  		visibility: visible;
	  		opacity: 1;
	  	}
		}
	}

}