HEX
Server: Apache
System: Linux b5.s-host.com.ua 4.18.0-305.10.2.el7.x86_64 #1 SMP Fri Jul 23 21:00:55 UTC 2021 x86_64
User: unelbhzm (1470)
PHP: 8.0.18
Disabled: NONE
Upload Files
File: /sites/nuofama.com/wp-content/themes/blocksy/static/sass/backend/options/buttons-group.scss
.ct-buttons-group {
	display: flex;
	margin: 0;

	li {
		flex: 1 1 auto;
		display: flex;
		align-items: center;
		justify-content: center;
		position: relative;
		font-size: 13px;
		// z-index: 1;
		cursor: pointer;
		height: 30px;
		min-width: 40px;
		margin: 0;
		background: rgba(255, 255, 255, 0.6);
		// background: #fff;
		box-shadow: inset 0px 0px 0px 1px #ddd;
		transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);

		&:hover {
			color: #444;
			background: rgba(255, 255, 255, 1);
		}

		&.active {
			z-index: 1;
			color: #fff;
			background: var(--accentColor);
			box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.1);

			// &:hover {
			// 	opacity: 0.9;
			// }
		}

		&:not(:first-child) {
			margin-left: -1px;
		}

		// border radius
		&:first-child {
			border-radius: 3px 0 0 3px;
		}

		&:last-child {
			border-radius: 0 3px 3px 0;
		}
	}

	// compact type
	&[data-type="compact"] li {
		height: 26px;
	}

	// ratio buttons
	&[data-buttons="ratio"] {
		font-size: 11px;
		font-weight: 500;
		letter-spacing: 0.05em;
	}

	// meta divider
	&[data-type="meta-divider"] li {
		flex: 1 0 0;

		&:nth-child(2):before {
			content: '';
			width: 1px;
			height: 10px;
			border-radius: 2px;
			background: currentColor;
			transform: rotate(25deg);
		}

		&:nth-child(3):before {
			content: '';
			width: 10px;
			height: 1px;
			border-radius: 2px;
			background: currentColor;
		}

		&:nth-child(4):before {
			content: '●';
			font-size: 5px;
		}
	}

	// content spacing
	&[data-type="content-spacing"] li {
		height: 42px;

		&:hover {
			.ct-tooltip-top {
				opacity: 1;
				visibility: visible;
				transform: translate3d(0px, -42px, 0px);
			}
		}
		
		span {
			position: relative;
			width: 18px;
			opacity: 0.9;
			background: currentColor;
			

			&:before, &:after {
				position: absolute;
				content: '';
				left: 0;
				width: calc(100%);
				height: 6px;
				box-sizing: border-box;
				border: 1px solid currentColor;
			}

			&:before {
				top: 1px;
				transform: translateY(-100%);
			}

			&:after {
				bottom: 1px;
				transform: translateY(100%);
			}
		}

		&:nth-child(1) span {
			height: 8px;
		}

		&:nth-child(2) span {
			top: 3px;
			height: 13px;

			&:after {
				background: currentColor;
				display: none;
			}
		}

		&:nth-child(3) span {
			bottom: 2px;
			height: 13px;

			&:before {
				display: none;
			}
		}

		&:nth-child(4) span {
			height: 18px;

			&:before, &:after {
				display: none;
			}
		}
	}
}