MediaWiki:Gadget-VfhVote.css

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search

Note: After saving, you have to bypass your browser's cache to see the changes.

  • Internet Explorer: hold down the Ctrl key and click the Refresh or Reload button, or press Ctrl+F5.
  • Firefox: hold down the Shift key while clicking Reload; alternatively press Ctrl+F5 or Ctrl-Shift-R.
  • Opera, Konqueror and Safari users can just click the Reload button.
  • Chrome: press Ctrl+F5 or Shift+F5
.div-vfhbox {
	display: block;
	right: 24px;
	bottom: 0;
	min-width: 250px;
	min-height: 100px;
	width: auto;
	height: auto;
	border: 1px solid #a2a9b1;
	border-bottom: 0;
	background: #f8f9fa;
	padding: 10px;
	transition: 0.5s ease-in, opacity 100ms ease-in;
	opacity: 0.85;
}

.div-vfhbox:hover,
.div-vfhbox:active {
    opacity: 1;
}

#bodyContent .div-vfhbox {
	position: fixed;
}

#isvfhvotepage .div-vfhbox {
	position: relative;
	opacity: 1;
    right: 0;
    border-bottom: 1px solid #a2a9b1;
    max-width: fit-content;
    min-width: 360px;
}

.vfh-vote-submitted {
    min-height: 0;
}

.vfh-vote-submitted .span-vfhclose {
	display: none;
}

.div-vfhcomponents {
	display: grid;
	grid-auto-rows: auto;
	grid-auto-rows: auto;
	grid-column-gap: 15px;
	grid-row-gap: 5px;
}

.vfhcontrols {
	grid-area: 1 / 2 / 2 / 3;
	justify-self: right;
}

.select-vfhtype {
	grid-area: 1 / 1 / 2 / 2;
	width: min-content;
}

.vfhcomment { 
	grid-area: 2 / 1 / 3 / 3;
	min-height: 65px;
	padding: 5px;
}

.vfh-checkbox-container {
	grid-area: 3 / 1 / 4 / 2;
}

.vfh-checkbox-container label {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 3px;
}

.vfh-sig {
    font-family: monospace;
    background: #fff;
    border: 1px solid #c8ccd1;
    margin: 0 0 2px 0;
    padding: 2px;
    color: #888;
    line-height: 1;
    user-select: none;
    width: min-content;
    cursor: help;
}

.submit-vfh { 
	grid-area: 3 / 2 / 4 / 3;
	background: #f8f9fa;
    color: #202122;
    border: 1px solid #a2a9b1;
	border-radius: 2px;
	justify-self: right;
	width: 100px;
	height: 28px;
	cursor: pointer;
	transition: 50ms ease-in;
}

.submit-vfh:hover {
	color: #fff !important;
	border: 1px solid #91989f;
    background-color: #a2a9b1;
}

.div-vfhbox.Comment {
	background-color: #ddddff;
}

.div-vfhbox.For {
    background-color: #b4ecb4;
}

.div-vfhbox.Against {
    background-color: #ffdddd;
}

.form-vfh {
    margin: 0;
    padding: 0;
}

.vfhcontrols {
	display: flex;
	flex-flow: row nowrap;
	column-gap: 3px;
}
.vfhcontrols .link {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8f9fa;
  color: #202122;
  border: 1px solid #a2a9b1;
  border-radius: 2px;
  width: 1.25rem;
  height: 1.25rem;
  user-select: none;
  cursor: pointer;
  transition: 50ms ease-in;
}

.vfhcontrols .link:hover {
  color: #fff;
  border-color: #91989f;
  background: #a2a9b1;
}

.vfhcontrols .link.span-vfhclose:hover {
  color: #fff;
  background: #C62828;
}

/* minimized behavior */
.div-vfhbox.vfh-minimized {
	min-height: min-content;
}

.vfh-minimized .vfh-checkbox-container {
    display: none;
}

.vfh-minimized .div-vfhcomponents {
    display: flex;
    align-items: center;
}

.vfh-minimized .submit-vfh {
    height: 25px;
}

.vfh-minimized .div-vfhcomponents {
    display: flex;
    align-items: center;
    column-gap: 4px;
}

.vfh-minimized .vfhcomment {
    height: 25px;
    min-height: 25px;
    scrollbar-width: none;
}

.vfh-minimized .link {
    height: max-content;
}

.vfh-minimized .select-vfhtype {
    height: 25px;
}