2018-12-13 04:10:27 +08:00
|
|
|
@import "/imports/ui/stylesheets/mixins/focus";
|
2020-09-02 02:46:13 +08:00
|
|
|
@import "/imports/ui/stylesheets/variables/placeholders";
|
2020-09-02 05:20:16 +08:00
|
|
|
@import "/imports/ui/stylesheets/variables/breakpoints";
|
2018-12-13 04:10:27 +08:00
|
|
|
|
|
|
|
.note {
|
2019-01-10 02:03:46 +08:00
|
|
|
background-color: var(--color-white);
|
2020-08-14 22:32:52 +08:00
|
|
|
padding:
|
|
|
|
var(--md-padding-x)
|
|
|
|
var(--md-padding-y)
|
|
|
|
var(--md-padding-x)
|
|
|
|
var(--md-padding-x);
|
|
|
|
|
2018-12-13 04:10:27 +08:00
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-around;
|
|
|
|
overflow: hidden;
|
2021-05-29 01:31:20 +08:00
|
|
|
height: 100%;
|
2020-08-14 22:32:52 +08:00
|
|
|
|
|
|
|
:global(.browser-chrome) & {
|
|
|
|
transform: translateZ(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
@include mq($small-only) {
|
|
|
|
transform: none !important;
|
|
|
|
}
|
2018-12-13 04:10:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
2020-08-14 22:32:52 +08:00
|
|
|
position: relative;
|
|
|
|
top: var(--poll-header-offset);
|
2018-12-13 04:10:27 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2020-08-14 22:32:52 +08:00
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
2018-12-13 04:10:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
@extend %text-elipsis;
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
& > button, button:hover {
|
2020-08-14 22:32:52 +08:00
|
|
|
max-width: var(--toast-content-width);
|
2018-12-13 04:10:27 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.hideBtn {
|
|
|
|
position: relative;
|
2019-01-10 02:03:46 +08:00
|
|
|
background-color: var(--color-white);
|
2018-12-13 04:10:27 +08:00
|
|
|
display: block;
|
2020-08-14 22:32:52 +08:00
|
|
|
margin: var(--border-size-large);
|
|
|
|
margin-bottom: var(--border-size);
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: inherit;
|
2019-05-14 21:15:54 +08:00
|
|
|
|
|
|
|
[dir="rtl"] & {
|
2020-08-14 22:32:52 +08:00
|
|
|
padding-left: inherit;
|
|
|
|
padding-right: 0;
|
2019-05-14 21:15:54 +08:00
|
|
|
}
|
2018-12-13 04:10:27 +08:00
|
|
|
|
|
|
|
> i {
|
2020-08-14 22:32:52 +08:00
|
|
|
color: var(--color-gray-dark);
|
|
|
|
font-size: smaller;
|
|
|
|
|
|
|
|
[dir="rtl"] & {
|
|
|
|
-webkit-transform: scale(-1, 1);
|
|
|
|
-moz-transform: scale(-1, 1);
|
|
|
|
-ms-transform: scale(-1, 1);
|
|
|
|
-o-transform: scale(-1, 1);
|
|
|
|
transform: scale(-1, 1);
|
|
|
|
}
|
2018-12-13 04:10:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2019-01-10 02:03:46 +08:00
|
|
|
background-color: var(--color-white);
|
2018-12-13 04:10:27 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-24 06:38:58 +08:00
|
|
|
.hint {
|
|
|
|
visibility: hidden;
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
@media (pointer: none) {
|
|
|
|
visibility: visible;
|
|
|
|
position: relative;
|
|
|
|
color: var(--color-gray);
|
|
|
|
font-size: var(--font-size-small);
|
|
|
|
font-style: italic;
|
2019-05-14 21:15:54 +08:00
|
|
|
padding: var(--sm-padding-x) 0 0 var(--sm-padding-x);
|
2019-02-24 06:38:58 +08:00
|
|
|
text-align: left;
|
2019-05-14 21:15:54 +08:00
|
|
|
|
|
|
|
[dir="rtl"] & {
|
|
|
|
padding-right: var(--lg-padding-y) var(--lg-padding-y) 0 0;
|
|
|
|
text-align: right;
|
|
|
|
}
|
2019-02-24 06:38:58 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-13 04:10:27 +08:00
|
|
|
iframe {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
position: relative;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
border-style: none;
|
2019-02-24 06:38:58 +08:00
|
|
|
border-bottom: 1px solid var(--color-gray-lightest);
|
2018-12-13 04:10:27 +08:00
|
|
|
}
|