MediaWiki:CustomButtons.css

Aus Joachim Camerarius (1500-1574)
Version vom 5. Dezember 2024, 16:05 Uhr von Noeth (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „.btn-float { z-index: 999; position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px; background-color: rgba(0, 107, 153, .7); color: #fff; border-radius: 50px; text-align: center; box-shadow: 2px 2px 3px #999; display: none; -webkit-transition: .3s linear; -moz-transition: .3s; -ms-transition: .3s; -o-transition: .3s; transition: .3s } #cs-comments, .btn-feedback { box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0,…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Strg+F5
.btn-float {
	z-index: 999;
	position: fixed;
	width: 60px;
	height: 60px;
	bottom: 40px;
	right: 40px;
	background-color: rgba(0, 107, 153, .7);
	color: #fff;
	border-radius: 50px;
	text-align: center;
	box-shadow: 2px 2px 3px #999;
	display: none;
	-webkit-transition: .3s linear;
	-moz-transition: .3s;
	-ms-transition: .3s;
	-o-transition: .3s;
	transition: .3s
}

#cs-comments,
.btn-feedback {
	box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24)
}

.btn-float:hover {
	background-color: #006b99;
	cursor: pointer
}

.btn-float:hover .fa-chevron-up {
	transform: translateY(-5px)
}

.my-float {
	font-size: 24px;
	margin-top: 18px
}

a.btn-float+div.label-container {
	visibility: hidden;
	opacity: 0;
	transition: visibility, opacity .5s
}

a.btn-float:hover+div.label-container {
	visibility: visible;
	opacity: 1
}

.btn-feedback {
	background-color: #006b99;
	color: #fff !important;
	padding: 10px 20px;
	border-radius: 4px;
	border-color: #46b8da;
	opacity: .5;
	outline: 0
}

.btn-feedback:hover {
	opacity: 1;
	color: #fff;
	text-decoration: none !important
}

.btn-feedback:active,
.btn-feedback:link,
.btn-feedback:visited {
	text-decoration: none !important;
	color: #fff !important
}

.button-wrapper {
	width: 300px;
	margin: 0 auto;
	display: block
}

.sticky-button {
	position: fixed;
	top: 50%;
	left: 0;
	transform: translateX(-35%) rotate(-90deg)
}