Projet

Général

Profil

0001-scss-add-style-for-field-live-hint-42396.patch

pour publik-base-theme - Frédéric Péters, 02 juin 2020 09:51

Télécharger (1,26 ko)

Voir les différences:

Subject: [PATCH] scss: add style for field live hint (#42396)

 static/includes/_misc.scss | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
static/includes/_misc.scss
727 727
		list-style: none;
728 728
	}
729 729
}
730

  
731
.field-live-hint {
732
	position: absolute;
733
	background: #ffffee;
734
	color: #333;
735
	z-index: 1000000;
736
	padding: 1em 1em;
737
	box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.16);
738
	span::before {
739
		font-family: FontAwesome;
740
		content: "\f071";  // exclamation triangle
741
		padding-right: 0.5em;
742
	}
743
	button.action,
744
	button.close {
745
		margin: 0 1em;
746
		padding: 0;
747
		color: blue !important;
748
		border: none !important;
749
		text-decoration: underline !important;
750
		background: transparent !important;
751
		box-shadow: none !important;
752
	}
753
	button.close {
754
		color: #333 !important;
755
		margin: 0;
756
		text-decoration: none !important;
757
		&::after {
758
			content: "×";
759
		}
760
	}
761
}
730
-