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

81 lines
1.4 KiB
Plaintext
Raw Normal View History

2019-12-29 18:45:17 +00:00
/*
* Citizen - Cookie Warning Styles
* https://starcitizen.tools
*/
@import '../../../resources/variables.less';
@import '../../../resources/mixins.less';
.mw-cookiewarning-container {
top: unset;
right: 0;
bottom: 0;
2019-12-29 18:45:17 +00:00
margin: 0 auto;
padding: 0;
max-width: @screen2;
border-radius: @border-radius-large @border-radius-large 0 0;
overflow: hidden;
2019-12-29 18:45:17 +00:00
opacity: 1;
background: @dark-bg-60;
font-size: @content-monospace-size;
2019-12-29 18:45:17 +00:00
font-weight: normal;
.boxshadow(5);
.mw-cookiewarning-text {
display: flex;
line-height: 1.4;
> span {
2019-12-29 18:45:17 +00:00
margin: 0;
padding: @margin-side;
2019-12-29 18:45:17 +00:00
display: block;
flex-grow: 1;
}
> form {
display: block;
2019-12-29 18:45:17 +00:00
}
> a {
margin: 0;
padding: @margin-side / 2 @margin-side;
height: auto;
display: flex;
justify-content: center;
align-items: center;
2019-12-29 18:45:17 +00:00
}
.mw-cookiewarning-dismiss {
margin: 0;
padding: @margin-side / 2 @margin-side;
height: 100%;
2019-12-29 18:45:17 +00:00
border-radius: 0;
line-height: 1.4;
background: @accent-50;
2019-12-29 18:45:17 +00:00
transition: @transition-background-quick;
2019-12-29 22:13:14 +00:00
&:hover {
background: @accent-10;
}
2019-12-29 22:13:14 +00:00
}
2019-12-29 18:45:17 +00:00
}
}
@media only screen and ( max-width: 480px ) {
.mw-cookiewarning-container .mw-cookiewarning-text {
2020-03-15 04:26:03 +00:00
/* Hack to hide nbsp */
font-size: 0;
2019-12-29 18:45:17 +00:00
flex-wrap: wrap;
> span {
2020-03-15 04:26:03 +00:00
font-size: @content-small-text-size;
}
> form,
> a,
2020-03-15 04:11:16 +00:00
.mw-cookiewarning-dismiss {
width: 100%;
2019-12-29 18:45:17 +00:00
}
}
}