HEX
Server: Apache/2.4.59 (Debian)
System: Linux skycube.cz 4.19.0-25-amd64 #1 SMP Debian 4.19.289-2 (2023-08-08) x86_64
User: ilya (534)
PHP: 7.3.31-1~deb10u7
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/ilya/data/www/real-irknet.ru/wp-content/plugins/jetpack/scss/organisms/_banners.scss
#message.jp-identity-crisis {
	display: table;
	padding: 0;
	background: #d94f4f;
	border: none;
	color: #fff;

	.service-mark {
		display: table-cell;
		vertical-align: middle;
		padding: 0 20px;
		&:before {
			font-family: "jetpack" !important;
			content: "\f102";
			font-size: 40px;
			line-height: 1;
			color: #fff;
	    }
	}
	.jp-id-banner__content {
		display: table;
		padding: 10px 10px 10px 0;

		.success-notice {
			color: #fff;
		}

		.banner-content {
			display: table-row;

			p {
				margin: 0;
				font-size: 13px;
				color: #fff;
				opacity: 1.0;

				strong {
					text-decoration: none;
					font-weight: 600;
					color: #fff;
					opacity: 1.0;
				}
			}

			a {
				display: inline-block;
				color: rgba(255, 255, 255, 0.80);
				border-bottom: 1px solid rgba(255, 255, 255, 0.5);
				text-decoration: none;
				-webkit-transform: all 1s ease;
			}
		}
		.jp-btn-group {
			display: table-row;

			a {
				display: inline-block;
				margin: 10px 0 0 0;
				padding: 0 0 1px 0;
				color: rgba(255, 255, 255, 0.80);
				border-bottom: 1px solid rgba(255, 255, 255, 0.5);
				text-decoration: none;
				-webkit-transform: all 1s ease;

				&:hover {
					color: rgba(255, 255, 255, 1.0);
					border-bottom: 1px solid rgba(255, 255, 255, 0.80);
				}
			}

			.idc-separator {
				margin: 0 6px;
			}
		}
	}
}

#message.jp-banner {
	position: relative;
	margin-bottom: 26px;
	padding: 17px 44px 17px 0;
	border: none;
	background: #81a844;
	color: #fff;
	overflow: hidden;
	box-sizing: border-box;

	&:after {
		content: '';
		position: absolute;
		bottom: 0;
		right: -100px;
		width: 100%;
		height: 50px;
		background: url('../images/the-footcloud.svg') right bottom no-repeat;
		pointer-events: none;
		z-index: 1;

		@media ( max-width: 830px ) {
			display: none;
		}
	}
	a {
		color: #fff;
	}
	h2 {
		display: block;
		margin: 0;
		padding: 0;
		color: #fff;
		font-size: 20px;
		line-height: 1.3;
		font-weight: normal;

		+ p {
			margin-top: 10px;
		}
	}
}

.jp-banner a {
	padding: 0;
}

#message .jp-banner__content {
	color: #dfffcc;
	padding: 0 0 0 20px;
	box-sizing: border-box;
	width: 50%;

	@media ( max-width: 768px ) {
		width: 100%;

		&.is-connection {
			width: 100%;
		}
	}

	a {
		text-decoration: underline;
		/* Medium.com text underline hack - doesn't work well on small mobile devices... reverting to traditional underline
		background-image: linear-gradient(to bottom, rgba(0,0,0,0) 75%, #fff 50%);
		background-repeat: repeat-x;
		background-size: 2px 2px;
		background-position: 0 95%;
		display: inline-block;

		@media not all, only screen and (min-resolution: 2dppx), only screen and (-webkit-min-device-pixel-ratio: 2) {
			background-image: linear-gradient(to bottom, rgba(0,0,0,0) 75%, #fff 75%);
			background-repeat: repeat-x;
		}
		*/
	}
	p {
		margin: 0;
		padding: 0;
		line-height: 1.5;
	}
}

#message .jp-banner__action-container {
	position: absolute;
	top: 0;
	right: 0;
	padding-left: 20px;
	width: 50%;
	height: 100%;
	box-sizing: border-box;

	@media ( max-width: 768px ) {
		position: static;
		margin: 14px 0 9px;
		width: 100%;
	}
	&.is-full-width {
		position: static;
		margin: 14px 0 9px;
		width: 100%;
		height: auto;
	}
	&.is-connection {

		@media ( max-width: 768px ) {
			width: 100%;
		}
	}
}

// 'activate now' banner displayed on dashboard
#message {
	&.is-opt-in {
		.jp-banner__content {
			width: 60%;
		}
		.jp-banner__action-container {
			width: 40%;
		}

		@media ( max-width: 768px ) {
			.jp-banner__content, .jp-banner__action-container {
				width: 100%;
			}
		}
	}
}

#message .jp-banner__button {
	display: inline-block;
	position: absolute;
		top: 50%;
		right: 125px;
	margin-top: -23px;
	padding: em(12px, 21px) em(18px, 21px) em(8px, 21px) em(12px, 21px);
	border-radius: 6px;
	box-sizing: border-box;
	background: #518d2a;
	box-shadow:
		0 4px 0 #3e6c20,
		0 2px 3px rgba(0,0,0,.2);
	font: 400 1.5em/1 'Open Sans', Helvetica, sans-serif;
	transition: all .1s ease-in-out;

	@media ( max-width: 1175px ){
		font-size: 1.25em;
		right: 110px;
	}

	@media ( max-width: 830px ){
		right: 45px;
	}

	@media ( max-width: 768px ) {
		position: static;
		margin: 0;
	}
	@media ( max-width: 420px ) {
		display: block;
		width: 100%;
		text-align: center;
		font-size: 1.1em;
		right: 0;
	}
	&:hover,
	&:focus {
		box-shadow:
			0 4px 0 #3e6c20,
			0 2px 3px rgba(0,0,0,.2);
	}
	&:active {
		outline: none;
		transform: translateY(2px);
		box-shadow:
			0 0px 0 #3e6c20,
			0 0 0 rgba(0,0,0,.2);

		&:after {
			// fixes buggy clicks
			top: -2px;
		}
	}
	&:before {
		content: '';
		display: inline-block;
		position: relative;
		vertical-align: middle;
		background: url('../images/connect-plug.svg') center center no-repeat;
		background-size: 100%;
		top: -2px;
		margin-right: 13px;
		width: 22px;
		height: 22px;

		@media ( max-width: 420px ) {
			display: none;
		}
	}
}

#message .is-full-width .jp-banner__button {
	position: static;
	margin: 0;
}

// Changes icon for opt-in message
#message .is-opt-in .jp-banner__button:before {
	content: "\f147";
	width: 20px;
	height: 20px;
	background: none;
	font: normal 20px/1 Dashicons;
}

#message .jp-banner__dismiss {
	position: absolute;
		top: 0;
		right: 0;
	width: 44px;
	height: 44px;
	text-align: center;
	z-index: 99;

	&:before {
		color: #a7c979;
		content: '\f158';
		font: normal 20px/44px 'dashicons';
	}
	&:hover {
		opacity: 0.8;
	}
	&:active {
		opacity: 1;
		outline: none;
	}
}

// temporary styles for protect module error. banners to be rebuilt soon. - Jeff Golenski

#message.jp-banner.protect-error {
	background: #fff;
	border-left: 4px #d94f4f solid;

	.jp-banner__content {
		color: #444;
		h2, a {
			color: #d94f4f;
		}
		a:hover {
			color: darken(#d94f4f, 5%);
		}
	}

	.jp-banner__button {
		background: #d94f4f;
		box-shadow: none;
		color: #fff;

		&:hover,
		&:focus,
		&:active {
			box-shadow: none;
		}
		&:hover {
			background: darken(#d94f4f, 5%);
		}
	}

	.jp-banner__dismiss:before {
		color: #a0a5aa;
	}
}