MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus e-vendo Wiki
Wechseln zu: Navigation, Suche
Zeile 259: Zeile 259:
 
     font-weight:bold;
 
     font-weight:bold;
 
     text-decoration:none;
 
     text-decoration:none;
 +
}
 +
 +
.active3 {
 +
    width:250px;
 +
    background-color:#009688;
 +
    color:white;
 +
    transition:0.2s;
 
}
 
}
  

Version vom 11. Juni 2018, 13:55 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

/* ==== fonts ==== */

@import url('https://fonts.googleapis.com/css?family=Ubuntu');
@import url('https://fonts.googleapis.com/css?family=Open+Sans');
body {font-family: 'Open Sans', sans-serif; font-size:11px;}
div#content h1, div#content h2, div#content h3, div#content h4, div#content h5 {font-family: 'Ubuntu', sans-serif;}


/* ==== navboxes ==== */

.nb2 div:hover {box-shadow:0px 0px 15px 0px #dddddd;}
.nb2 div {transition: box-shadow 0.3s;}

/*.nb2 div:hover {border:2px solid #009688;}
.nb2 div {transition: border 0.3s;}*/



.nb2-o div:hover {box-shadow:0px 0px 15px 0px rgba(255, 149, 2, 0.53);}
.nb2-o div {transition: box-shadow 0.3s;}

.nb50 > div:hover {box-shadow:0px 0px 15px 0px #dddddd;}
.nb50 > div {transition: box-shadow 0.3s;}


/* ==== wiki-seitenleiste ==== */

.portlet ul {font-size:105%;}
.generated-sidebar, #p-search, #p-tb {box-shadow: -2px 2px 3px #7b7b7b8f;}
#p-SEARCH {display:none;}


/* ==== links ==== */

a, a:active, a:focus, a:visited {color:#038387; text-decoration:none;}

.portlet a:hover, .mw-body a:hover {text-decoration:none; font-weight:bold;}

.nb2 a:hover, .nb2-o a:hover, .nb50 a:hover {font-weight:normal !important;}


/* ==== accordion ==== */

.accordion {
    width:140px;
    color: #009688;
    cursor: pointer;
    padding: 5px 8px 3px 20px;
    text-align: left;
    font-size:16px;
    border: none;
    outline: none;
    transition:0.2s;
    border:2px solid #009688;
    box-shadow:2px 2px 3px #00796b61;
    background-color:#fbfbfb;
    position:fixed;
    right:10px;
    top:50px;
}

.accordion:hover {
    background-color:#009688;
    color:white;
    transition:0.2s;
}

.accordion:hover {
    width:210px;
}

.accordion:hover .text1 {
    height:0;
}

.accordion:hover .text2 {
    height:1.3em;
}

.accordion .text {
    transition:height 0.2s;
    overflow:hidden;
    line-height:1.3em;
}

.accordion .text1 {
    height:1.3em;
}

.accordion .text2 {
    height:0;
}

.active {
    width:210px;
    background-color:#009688;
    color:white;
    transition:0.2s;
}

.active > .sb-icon {
    position:absolute;
    top:30%;
    right:15px;
    transform:rotate(180deg);
    transition:transform 0.2s linear;
    height:14px;
    width:24px;
    background:url('http://wiki.e-vendo.de/images/e/e1/Sb_arrow-down-w.png');
    background-repeat:no-repeat;
}

.active .text1 {
    height:0;
}

.active .text2 {
    height:1.3em;
}

.panel {
    width:198px;
    padding:10px 20px;
    background-color:#f9f9f9;
    display:none;
    overflow: hidden;
    border:2px solid #009688;
    box-shadow:2px 2px 3px #00796b61;
    position:fixed;
    right:10px;
    top:92px;
}

.panel img {
    position:relative;
    top:-1px;
}

.panel hr {
    margin: 10px 0;
}

.panel a:hover {
    font-weight:bold;
    text-decoration:none;
}

.sb-icon {
    position:absolute; top:30%;
    right:15px;
    height:14px;
    width:24px;
    background:url('http://wiki.e-vendo.de/images/5/57/Sb_arrow-down-t.png');
    background-repeat:no-repeat;
    transition:transform 0.2s linear;
}

.accordion:hover > .sb-icon {
    position:absolute;
    top:30%;
    right:15px;
    transform:rotate(180deg);
    transition:transform 0.2s linear;
    height:14px;
    width:24px;
    background:url('http://wiki.e-vendo.de/images/e/e1/Sb_arrow-down-w.png');
    background-repeat:no-repeat;
}

.active > .sb-icon, .active:hover > .sb-icon {
    position:absolute;
    top:30%;
    right:15px;
    transform:rotate(180deg);
    height:14px;
    width:24px;
    background-repeat:no-repeat;
}

.sb-inline {
    display:inline-block;
    width:85%;
}

.sb-inline-m {
    display:inline-block;
    margin-right:7px;
}

.sb-inline-mb {
    margin-bottom:6px;
}

.sb-inline-2z {
    position:relative;
    top:-20px;
}

.sb-inline-tab {
    margin-left:25px;
}

.sb-inline-tabtext {
    width:75%;
}


/* ==== accordion 2. ebene ==== */

.accordion3 {
    width:140px;
    color: #009688;
    cursor: pointer;
    padding: 0;
    text-align: left;
    font-size:1em;
    border: none;
    outline: none;
    transition:0.2s;
    background-color:#fbfbfb;
    margin-left:-3px;
}

.accordion:hover {
    width:250px;
}

.sb-inline3 {
    display:inline-block;
    width:80%;
    margin-left:3px;
}

.sb-inline-m3 {
    display:inline-block;
    margin-left:3px;
}

.panel3 {
    width:198px;
    padding:0 20px;
    background-color:#f9f9f9;
    display:none;
    overflow: hidden;
}

.panel3 img {
    position:relative;
    top:-1px;
}

.panel3 hr {
    margin: 10px 0;
}

.panel3 a:hover {
    font-weight:bold;
    text-decoration:none;
}

.active3 {
    width:250px;
    background-color:#009688;
    color:white;
    transition:0.2s;
}


/*  ==== accordion 3 (oberstes in konfig-sb) ====  */



/* ==== back to top-button ==== */

#btt {
    border:2px solid #009688;
    background-color:#ffffff;
    height:40px;
    width:40px;
    position:fixed;
    bottom:20px;
    right:0px;
    transition:0.3s;
}

#btt:hover, #btt:active {
    width:160px;
    background-color:#009688;
}

.btt-img {
    display:inline-block;
    margin-top:-6px;
    background:url('http://wiki.e-vendo.de/images/0/0e/Btt2_arrow-up-t.png');
}

.btt-img:hover {
    background:url('http://wiki.e-vendo.de/images/f/fe/Btt2_arrow-up-w.png');
}