Difference between revisions of "MediaWiki:Tweeki.css"
From Security Vision
Line 2: | Line 2: | ||
− | root | + | :root{ |
--text-color-btn: black; | --text-color-btn: black; | ||
--darkergrey: #404040; | --darkergrey: #404040; | ||
Line 15: | Line 15: | ||
.container{ | .container{ | ||
− | margin: | + | margin:0; |
padding: 8px; | padding: 8px; | ||
width:100%; | width:100%; | ||
Line 58: | Line 58: | ||
.btn:focus{ | .btn:focus{ | ||
background-color:black; | background-color:black; | ||
− | color:white | + | color:white; |
box-shadow:none; | box-shadow:none; | ||
} | } | ||
Line 65: | Line 65: | ||
.dropdown-item.active:active{ | .dropdown-item.active:active{ | ||
background-color:black; | background-color:black; | ||
− | color:white | + | color:white ; |
box-shadow:none; | box-shadow:none; | ||
} | } | ||
Line 74: | Line 74: | ||
/* ----- SIDEBAR ------*/ | /* ----- SIDEBAR ------*/ | ||
− | #sidebar-left{ | + | #sidebar-left { |
padding:0; | padding:0; | ||
} | } | ||
#sidebar-left .btn-block{ | #sidebar-left .btn-block{ | ||
− | border-radius: | + | border-radius: 0; |
border: transparent; | border: transparent; | ||
text-align: left; | text-align: left; | ||
− | padding: | + | padding: 0; |
border-top: solid 1px; | border-top: solid 1px; | ||
margin:0; | margin:0; | ||
} | } | ||
#sidebar-left .btn{ | #sidebar-left .btn{ | ||
− | border: | + | border:0 !important; |
padding: 8px !important; | padding: 8px !important; | ||
} | } | ||
Line 106: | Line 106: | ||
#sidebar-left .btn-group.btn-block.dropdown.show{ | #sidebar-left .btn-group.btn-block.dropdown.show{ | ||
− | flex-direction:column | + | flex-direction:column ; |
} | } | ||
#sidebar-left .dropdown-menu.show{ | #sidebar-left .dropdown-menu.show{ | ||
− | position:relative | + | position:relative ; |
− | transform:unset | + | transform:unset ; |
border:none; | border:none; | ||
} | } |
Revision as of 23:49, 19 March 2024
/* CSS placed here will affect users of the Tweeki skin */
:root{
--text-color-btn: black;
--darkergrey: #404040;
}
.row{
margin: 0;
}
.container{
margin:0;
padding: 8px;
width:100%;
}
/* ------- buttons ------- */
.btn{
background:white;
border-color: darkgrey;
text-shadow: none;
box-shadow: none;
padding: 4px 12px;
}
a.btn{
color: var(--text-color-btn);
}
.btn:hover{
background: darkgrey;
border-color:darkgrey;
}
.btn:focus,
.btn:active,
.dropdown:active,
.dropdown:focus{
background-color:black !important;
color:white !important;
box-shadow:none !important;
border: none !important;
}
.btn-primary.active:active,
.dropdown-toggle.btn-primary.show,
.dropdown-toggle.show,
.btn-block.active,
.btn-primary:focus,
.btn:focus{
background-color:black;
color:white;
box-shadow:none;
}
.dropdown-item.active,
.dropdown-item:focus,
.dropdown-item.active:active{
background-color:black;
color:white ;
box-shadow:none;
}
.show .btn-primary.dropdown-toggle {
background-color: black;
border-color: none;
/* ----- SIDEBAR ------*/
#sidebar-left {
padding:0;
}
#sidebar-left .btn-block{
border-radius: 0;
border: transparent;
text-align: left;
padding: 0;
border-top: solid 1px;
margin:0;
}
#sidebar-left .btn{
border:0 !important;
padding: 8px !important;
}
#sidebar-left .show .dropdown-toggle{
background-color: black;
box-shadow:none;
}
#sidebar-left .show .dropdown-toggle:focus{
background-color: black;
box-shadow:none;
}
#sidebar-left .dropdown-toggle:focus{
background-color: black;
color: white;
box-shadow:none;
}
#sidebar-left .btn-group.btn-block.dropdown.show{
flex-direction:column ;
}
#sidebar-left .dropdown-menu.show{
position:relative ;
transform:unset ;
border:none;
}