status-revisions.scss 1.28 KB
Newer Older
2458773093's avatar
2458773093 committed
1 2 3 4 5 6
.status-revisions-root {
	@media screen and (max-width: 960px) {
		width: 100%;
	}
}

2458773093's avatar
2458773093 committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
.status-revisions {
	padding: 8px 0 0;
	overflow: hidden;
	background-color: $classic-base-color;
	border-radius: 6px;

	@media screen and (max-width: 960px) {
		height: 90vh;
	}

	&__header {
		display: block;
		position: relative;
		border-bottom: 1px solid lighten($classic-base-color, 8%);
		border-radius: 6px 6px 0 0;
		padding-top: 12px;
		padding-bottom: 12px;

		&__title {
			display: block;
			width: 80%;
			margin: 0 auto;
			font-size: 18px;
			font-weight: bold;
			line-height: 24px;
			color: $primary-text-color;
			text-align: center;
		}
	}

	&__close {
		position: absolute;
		right: 10px;
		top: 10px;
	}

	&__content {
		display: flex;
		flex-direction: row;
		width: 500px;
		flex-direction: column;
		overflow: hidden;
		overflow-y: scroll;
		height: calc(100% - 80px);
		-webkit-overflow-scrolling: touch;
		widows: 90%;
	}

2458773093's avatar
2458773093 committed
55 56 57 58
	@media screen and (max-width: 960px) {
		width: 100%;
	}

2458773093's avatar
2458773093 committed
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
	&-list {
		width: 100%;

		&__error {
			padding: 15px;
			text-align: center;
			font-weight: bold;
		}

		&__item {
			padding: 15px;
			border-bottom: 1px solid lighten($classic-base-color, 8%);

			&__timestamp {
				opacity: 0.5;
				font-size: 13px;
			}

			&__text {
				font-size: 15px;
			}
		}
	}
}