MediaWiki:Common.css: mudanças entre as edições

sem sumário de edição
Sem resumo de edição
Sem resumo de edição
 
(28 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 1: Linha 1:
/**/
.changelog__link,
.select-box {
.changelog__link:visited {
   position: relative;
    color: #680cab;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 500;
    font-size: .85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
 
    padding: .5rem .95rem;
    border-bottom: 1px solid rgb(120, 120, 120);
 
    transition: background .25s ease;
}
 
.changelog__link:last-child {
    border-bottom: 0;
}
 
.changelog__link:hover {
    text-decoration: none;
    background: #f3eaff;
}
 
/*.changelog__link::after {*/
/*    content: ">";*/
/*font-weight:lighter;*/
/*}*/
 
.px-0 {
padding-inline: 0!important;
}
 
.pt-0 {
padding-top: 0!important;
}
 
.pb-0 {
padding-bottom: 0!important;
}
 
.changelog {
margin-inline: auto;
max-width: 256px!important;
padding-bottom: 0!important;
margin-top: 1rem;
}
 
/*Select search*/
.selectwithSearch__container {
  width: 100%;
  box-sizing:border-box;
   padding: 0 2rem;
}
 
.selectwithSearch__selectBtn {
   display: flex;
   display: flex;
   width: 400px;
   align-items: center;
   flex-direction: column;
   cursor: pointer;
}
}


.select-box .options-container {
.selectwithSearch__selectBtn {
   background: #2f3640;
   height: 2.8rem;
   color: #f5f6fa;
   padding: 0 1rem;
   max-height: 0;
   font-size: 1rem;
   width: 100%;
   background: #fff;
  opacity: 0;
  transition: all 0.4s;
   border-radius: 8px;
   border-radius: 8px;
   overflow: hidden;
   justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
 
.selectwithSearch__selectBtn svg {
  font-size: 2rem;
  transition: transform .3s linear;
}


   order: 1;
.selectwithSearch__container.active .selectwithSearch__selectBtn svg {
   transform: rotate(-180deg);
}
}


.selected {
.selectwithSearch__content {
   background: #2f3640;
  display: none;
  padding: 1.2rem;
  margin-top: .45rem;
   background: #fff;
   border-radius: 8px;
   border-radius: 8px;
   margin-bottom: 8px;
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
   color: #f5f6fa;
}
   position: relative;
 
.selectwithSearch__container.active .selectwithSearch__content {
   display: block;
   position: absolute;
  width: calc(100% - 4rem);
  box-sizing: border-box;
  z-index: 999;
}


   order: 0;
.selectwithSearch__container.active .selectwithSearch__content.small {
   width: auto !important;
}
}


.selected::after {
.selectwithSearch__content .selectwithSearch__search {
   content: "";
   position: relative;
  background: url("img/arrow-down.svg");
}
  background-size: contain;
  background-repeat: no-repeat;


.selectwithSearch__search svg {
  top: 50%;
  left: 1rem;
  color: #999;
  font-size: 1.2rem;
  pointer-events: none;
  transform: translateY(-50%);
   position: absolute;
   position: absolute;
  height: 100%;
}
  width: 32px;
  right: 10px;
  top: 5px;


   transition: all 0.4s;
.selectwithSearch__search input{
   box-sizing: border-box;
  height: 3.25rem;
  width: 100%;
  outline: none;
  font-size: 1rem;
  border-radius: 8px;
  padding: 0 1.2rem 0 4rem;
  border: 1px solid #B3B3B3;
}
}


.select-box .options-container.active {
.selectwithSearch__search input:focus {
   max-height: 240px;
   padding-left: 4rem;
   opacity: 1;
   border: 2px solid #4285f4;
  overflow-y: scroll;
  margin-top: 54px;
}
}


.select-box .options-container.active + .selected::after {
.selectwithSearch__search input::placeholder {
   transform: rotateX(180deg);
   color: #bfbfbf;
  top: -6px;
}
}


.select-box .options-container::-webkit-scrollbar {
.selectwithSearch__options {
  width: 8px;
margin-left: 0!important;
  background: #0d141f;
margin-right: 0!important;
  border-radius: 0 8px 8px 0;
}
}


.select-box .options-container::-webkit-scrollbar-thumb {
.selectwithSearch__content .selectwithSearch__options {
   background: #525861;
  margin-top: .5rem;
   border-radius: 0 8px 8px 0;
  padding-right: .5rem;
   max-height: 250px;
   overflow-y: auto;
}
}


.select-box .option,
.selectwithSearch__options::-webkit-scrollbar {
.selected {
   width: 8px;
   padding: 12px 24px;
  cursor: pointer;
}
}


.select-box .option:hover {
.selectwithSearch__options::-webkit-scrollbar-track {
   background: #414b57;
   background: #f1f1f1;
  border-radius: 25px;
}
}


.select-box label {
.selectwithSearch__options::-webkit-scrollbar-thumb {
   cursor: pointer;
   background: #ccc;
  border-radius: 25px;
}
}


.select-box .option .radio {
.selectwithSearch__options::-webkit-scrollbar-thumb:hover {
   display: none;
   background: #b3b3b3;
}
}


/* Searchbox */
.selectwithSearch__options li {
  display: flex;
  align-items: center;
  padding: .25rem .75rem;
  font-size: 1.075rem;


.search-box input {
   cursor: pointer;
  width: 100%;
}
  padding: 12px 16px;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  position: absolute;
  border-radius: 8px 8px 0 0;
   z-index: 100;
  border: 8px solid #2f3640;


   opacity: 0;
li.groupTitle {
   pointer-events: none;
  height: 2.25rem;
   transition: all 0.4s;
  font-size: 1.125rem;
  background-color: rgb(179 163 255 / 21%);
   cursor: default;
  margin-bottom: .25rem;
  margin-top: .35rem;
   border-bottom: 1px solid #d1d1d1;
   border-radius: 12px 12px 0 0 !important;
}
}


.search-box input:focus {
li.groupTitle:hover {
   outline: none;
  border-radius: 12px 12px 0 0 !important;
   background-color: rgb(179 163 255 / 21%) !important;
}
}


.select-box .options-container.active ~ .search-box input {
.selectwithSearch__options li:hover,
   opacity: 1;
li.selected {
   pointer-events: auto;
   border-radius: 8px;
   background: #f2f2f2;
}
}
/**/
/*Select search*/


/** o código CSS colocado aqui será aplicado a todos os temas */
/** o código CSS colocado aqui será aplicado a todos os temas */
Linha 292: Linha 376:
.d-none {
.d-none {
display: none!important;
display: none!important;
}
.d-block {
display: block!important;
}
}


Linha 318: Linha 406:


.space-around { justify-content: space-around; }
.space-around { justify-content: space-around; }
.align-start { align-items: flex-start !important; } 


.flex-center {
.flex-center {
Linha 826: Linha 916:
         }
         }
/*Formulario de boost*/
/*Formulario de boost*/
.input-default {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: .45rem .8rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: .9rem;
    transition: all .25s ease;
}
.input-default:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
    outline: 0;
}


@media screen and (max-width: 1450px) {
@media screen and (max-width: 1450px) {