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;
|
2020-06-25 21:04:36 +00:00
|
|
|
bottom: 0;
|
2021-01-19 17:14:01 +00:00
|
|
|
display: flex;
|
2020-06-25 21:04:36 +00:00
|
|
|
overflow: hidden;
|
2021-01-11 16:45:52 +00:00
|
|
|
max-width: @screen2;
|
2021-01-19 17:14:01 +00:00
|
|
|
justify-content: space-between;
|
2021-01-11 16:45:52 +00:00
|
|
|
padding: 0;
|
|
|
|
margin: 0 auto;
|
2020-06-25 21:04:36 +00:00
|
|
|
background: @dark-bg-60;
|
2021-01-11 16:45:52 +00:00
|
|
|
border-radius: @border-radius-large @border-radius-large 0 0;
|
2020-06-25 21:04:36 +00:00
|
|
|
font-size: @content-monospace-size;
|
2019-12-29 18:45:17 +00:00
|
|
|
font-weight: normal;
|
2021-01-11 16:45:52 +00:00
|
|
|
opacity: 1;
|
2019-12-29 18:45:17 +00:00
|
|
|
.boxshadow(5);
|
|
|
|
|
|
|
|
.mw-cookiewarning-text {
|
|
|
|
display: flex;
|
2021-01-19 17:14:01 +00:00
|
|
|
align-items: center;
|
2019-12-29 18:45:17 +00:00
|
|
|
line-height: 1.4;
|
|
|
|
|
2020-06-25 21:04:36 +00:00
|
|
|
> span {
|
2019-12-29 18:45:17 +00:00
|
|
|
display: block;
|
|
|
|
flex-grow: 1;
|
2021-01-19 17:14:01 +00:00
|
|
|
padding: var( --padding-page );
|
2021-01-11 16:45:52 +00:00
|
|
|
margin: 0;
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|
|
|
|
|
2020-06-25 21:04:36 +00:00
|
|
|
> form {
|
|
|
|
display: block;
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
> a {
|
2021-01-11 16:45:52 +00:00
|
|
|
height: auto;
|
2021-01-19 17:14:01 +00:00
|
|
|
background: transparent;
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-cookiewarning-dismiss {
|
2020-06-25 21:04:36 +00:00
|
|
|
height: 100%;
|
2021-01-19 17:14:01 +00:00
|
|
|
padding: 10px var( --padding-page );
|
2021-01-11 16:45:52 +00:00
|
|
|
margin: 0;
|
2021-01-19 17:14:01 +00:00
|
|
|
background: var( --color-primary );
|
2019-12-29 18:45:17 +00:00
|
|
|
border-radius: 0;
|
|
|
|
line-height: 1.4;
|
|
|
|
transition: @transition-background-quick;
|
2019-12-29 22:13:14 +00:00
|
|
|
|
2020-06-25 21:04:36 +00:00
|
|
|
&:hover {
|
2021-01-19 17:14:01 +00:00
|
|
|
background: var( --color-primary--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background: var( --color-primary--active );
|
2020-06-25 21:04:36 +00:00
|
|
|
}
|
2019-12-29 22:13:14 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-19 17:14:01 +00:00
|
|
|
@media only screen and ( max-width: @width-breakpoint-tablet ) {
|
|
|
|
.mw-cookiewarning-container {
|
2021-01-11 16:45:52 +00:00
|
|
|
flex-wrap: wrap;
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2021-01-19 17:14:01 +00:00
|
|
|
.mw-cookiewarning-text {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
/* Hack to hide nbsp */
|
|
|
|
font-size: 0;
|
|
|
|
|
|
|
|
> span {
|
|
|
|
font-size: @content-small-text-size;
|
|
|
|
}
|
|
|
|
|
|
|
|
> a {
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2020-03-15 04:26:03 +00:00
|
|
|
}
|
|
|
|
|
2020-06-25 21:04:36 +00:00
|
|
|
> form,
|
2020-03-15 04:11:16 +00:00
|
|
|
.mw-cookiewarning-dismiss {
|
2020-06-25 21:04:36 +00:00
|
|
|
width: 100%;
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|