mirror of
https://github.com/flarum/core.git
synced 2025-07-17 06:41:21 +02:00
* refactor: Avatar classes refactor * refactor: Badge classes refactor * chore: Remove commented dead code * chore: Remove SignUpModal dead CSS code Flarum seem to have had some kind of user display in the sign up modal on successful sign up, which no longer exists. https://github.com/flarum/core/blob/v0.1.0-beta/js/forum/src/components/SignUpModal.js#L111 * chore: Deprecate unneeded vendor mixins * chore: Normalize property values format Co-authored-by: David Wheatley <hi@davwheat.dev> * chore: Remove @-webkit-keyframes * chore: Combine animation properties * chore: Avoid `all` for transition * chore: translate3d is no longer necessary for hardware acceleration * fix: Lost cursor pointer to normalize update * chore: Use CSS variables for more things * chore: Remove unecessary overspecification Co-authored-by: David Wheatley <hi@davwheat.dev>
55 lines
1.0 KiB
Plaintext
55 lines
1.0 KiB
Plaintext
.Slidable-underneath {
|
|
display: none;
|
|
}
|
|
@media @phone {
|
|
.Slidable {
|
|
position: relative;
|
|
|
|
.DiscussionListItem-controls {
|
|
display: block;
|
|
position: static;
|
|
}
|
|
.Slidable-underneath {
|
|
display: none;
|
|
background: @secondary-color !important;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: auto;
|
|
z-index: 0;
|
|
color: #fff !important;
|
|
border: 0;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
padding: 20px 0;
|
|
text-align: right;
|
|
|
|
.icon {
|
|
width: 50px;
|
|
text-align: center;
|
|
font-size: 20px;
|
|
}
|
|
}
|
|
.Slidable-underneath--left {
|
|
text-align: left;
|
|
}
|
|
.Slidable-underneath--right {
|
|
left: unset;
|
|
}
|
|
.Slidable-content {
|
|
transition: box-shadow 0.2s, border-radius 0.2s;
|
|
|
|
.sliding& {
|
|
position: relative;
|
|
background: @control-bg;
|
|
z-index: 2;
|
|
border-radius: 2px;
|
|
box-shadow: 0 2px 6px @shadow-color;
|
|
}
|
|
}
|
|
}
|
|
}
|