Χρήστης:Fotis A./vector.css

Από τη Βικιπαίδεια, την ελεύθερη εγκυκλοπαίδεια

Μετά την αποθήκευση πρέπει να καθαρίσετε την κρυφή μνήμη (cache) του browser σας για να δείτε τις αλλαγές: Σε Chrome, Firefox, Safari, Internet Explorer και Edge: Κρατήστε πατημένο το Shift και κάντε κλικ στο κουμπί Ανανέωση στην μπάρα εργαλείων.

#button {
  display: inline-block;
  background-color: #FF9800;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#button::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
#button:hover {
  cursor: pointer;
  background-color: #333;
}
#button:active {
  background-color: #555;
}
#button.show {
  opacity: 1;
  visibility: visible;
}

/* v3.5.3 */

/* Stylings for missing description and links to wikidata */
.sdh-missing-description {
	color: DarkRed; /* Using DarkRed rather than previous Red to meet WCAG AA */
}

.sdh-wikidata-description a {
	color: MediumVioletRed; /* Using MediumVioletRed rather than previous HotPink to meet WCAG AA */
}

.sdh-ve-hidden {
	display: none;
}

/**
 * Interestingly, Vector's stylesheet makes <a> elements without href have a pointer automatically
 * This is for other skins.
*/
.sdh-clicky a {
	cursor: pointer;
}

.sdh-clicky-disabled a {
	pointer-events: none;
}

/* Brackets and seperators for clickies */
.sdh-clicky + .sdh-clicky::before {
	content: ' · ';
}

.sdh-clickies::before {
	content: ' (';
}

.sdh-clickies::after {
	content: ')';
}

/* Used to hide display of description when switching to editing box */
.sdh-showdescrip-hidden {
	display: none;
}

/* Styling for editing bar */
#sdh-editbox {
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
}

/* Make things flex to allow description input box size to be set exactly, and everything else to look good. */
#sdh .oo-ui-fieldLayout-field {
	display: flex;
	align-items: center;
}

#sdh-descriptionbox {
	margin-right: 0;
}

/* Styling for processing animation */
@keyframes wave {
	0% { transform: translateY( 0 ); }
	20% { transform: translateY( -0.25em ); }
	40% { transform: translateY( 0 ); }
	100% { transform: translateY( 0 ); }
}

.sdh-processing {
	display: inline-block;
	margin-left: 0.5em;
}

.sdh-processing-dot {
	display: inline-block;
	animation: wave 1s ease-out infinite;
}

.sdh-processing-dot-1 {
	animation-delay: 200ms;
}

.sdh-processing-dot-2 {
	animation-delay: 400ms;
}

.sdh-processing-dot-3 {
	animation-delay: 600ms;
}

/* Styling for character counter based on length */
.sdh-too-long {
	color: #d43900;
}

.sdh-very-long {
	color: #e00000;
	font-weight: bold;
}