mediawiki-skins-Citizen/skinStyles/ext.CookieWarning.styles.less

85 lines
1.3 KiB
Plaintext
Raw Normal View History

2019-08-21 23:44:08 +00:00
/*
* Citizen - Cookie Warning Styles
* https://starcitizen.tools
*/
@import '../resources/variables.less';
@import '../resources/mixins.less';
.mw-cookiewarning-container {
2019-12-26 10:21:50 +00:00
top: unset;
right: 0;
bottom: @margin-side;
margin: 0 auto;
padding: 0;
max-width: @page-width;
opacity: 1;
background: @base-20;
font-size: @content-small-text-size;
font-weight: normal;
.boxshadow(5);
2019-12-09 19:44:33 +00:00
2019-12-26 10:21:50 +00:00
.mw-cookiewarning-text {
display: flex;
line-height: 1.4;
2019-12-09 19:44:33 +00:00
2019-12-26 10:21:50 +00:00
> * {
display: flex;
align-items: center;
}
2019-12-09 20:31:36 +00:00
2019-12-26 10:21:50 +00:00
span {
margin: 0;
padding: @margin-side * 0.75 @margin-side;
display: block;
flex-grow: 1;
}
2019-12-09 19:44:33 +00:00
2019-12-26 10:21:50 +00:00
.mw-cookiewarning-dismiss {
background: @accent-50;
2019-12-09 19:44:33 +00:00
2019-12-26 10:21:50 +00:00
&:hover {
background: @accent-10;
}
}
2019-12-09 19:44:33 +00:00
2019-12-26 10:21:50 +00:00
> a {
background: @base-10;
2019-12-09 19:44:33 +00:00
2019-12-26 10:21:50 +00:00
&:hover {
background: @base-0;
}
}
2019-12-09 19:44:33 +00:00
2019-12-26 10:21:50 +00:00
a,
.mw-cookiewarning-dismiss {
margin: 0;
padding: @margin-side * 0.75 @margin-side;
height: auto;
border-radius: 0;
font-weight: normal;
line-height: 1.4;
transition: @transition-background-quick;
}
}
2019-08-21 23:44:08 +00:00
}
2019-12-26 10:21:50 +00:00
@media only screen and ( max-width: @screen1 ) {
.mw-cookiewarning-container {
max-width: none;
bottom: 0;
}
2019-12-09 20:31:36 +00:00
}
2019-12-26 10:21:50 +00:00
@media only screen and ( max-width: 480px ) {
.mw-cookiewarning-container .mw-cookiewarning-text {
flex-wrap: wrap;
2019-12-09 20:31:36 +00:00
2019-12-26 10:21:50 +00:00
span,
a,
.mw-cookiewarning-dismiss {
padding: @margin-side / 2 @margin-side;
}
}
}