mirror of
https://github.com/flarum/core.git
synced 2025-08-15 04:44:08 +02:00
Compare commits
3 Commits
dw/sidenav
...
dw/remove-
Author | SHA1 | Date | |
---|---|---|---|
|
7de9afdcb9 | ||
|
140a6e4477 | ||
|
ec0c233d15 |
@@ -50,7 +50,6 @@
|
||||
color: var(--muted-color);
|
||||
}
|
||||
thead th {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
padding-bottom: 10px;
|
||||
@@ -74,7 +73,6 @@
|
||||
}
|
||||
tbody {
|
||||
th {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
left: 0;
|
||||
padding-right: 50px;
|
||||
|
@@ -2,8 +2,8 @@
|
||||
position: relative !important;
|
||||
padding-top: var(--header-height);
|
||||
padding-bottom: 50px;
|
||||
overflow-x: hidden;
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
|
||||
@media @phone {
|
||||
padding-top: var(--header-height-phone);
|
||||
@@ -27,16 +27,13 @@
|
||||
box-shadow: 0 2px 6px var(--shadow-color);
|
||||
}
|
||||
}
|
||||
.App-primaryControl,
|
||||
.App-titleControl,
|
||||
.App-backControl {
|
||||
.App-primaryControl, .App-titleControl, .App-backControl {
|
||||
position: absolute !important;
|
||||
z-index: calc(~"var(--zindex-header) + 1");
|
||||
top: 0 !important;
|
||||
margin: 0;
|
||||
|
||||
.App.affix &,
|
||||
.Composer & {
|
||||
.App.affix &, .Composer & {
|
||||
position: fixed !important;
|
||||
}
|
||||
|
||||
@@ -62,18 +59,15 @@
|
||||
right: 0;
|
||||
|
||||
&.Dropdown {
|
||||
.Button,
|
||||
.Button-caret {
|
||||
.Button, .Button-caret {
|
||||
display: none !important;
|
||||
}
|
||||
.Dropdown-toggle,
|
||||
.Button-icon {
|
||||
.Dropdown-toggle, .Button-icon {
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.App-primaryControl,
|
||||
.App-backControl {
|
||||
.App-primaryControl, .App-backControl {
|
||||
margin: 0 !important;
|
||||
|
||||
> .Button {
|
||||
@@ -96,8 +90,7 @@
|
||||
text-align: center;
|
||||
color: var(--header-color) !important;
|
||||
|
||||
&,
|
||||
> .Button {
|
||||
&, > .Button {
|
||||
font-size: 16px;
|
||||
}
|
||||
> .Button {
|
||||
@@ -149,7 +142,6 @@
|
||||
z-index: var(--zindex-modal);
|
||||
|
||||
.drawerOpen & {
|
||||
-webkit-transform: none !important;
|
||||
transform: none !important;
|
||||
}
|
||||
}
|
||||
@@ -207,15 +199,12 @@
|
||||
> li {
|
||||
padding: 0 10px 0;
|
||||
}
|
||||
.FormControl,
|
||||
.ButtonGroup,
|
||||
.Button {
|
||||
.FormControl, .ButtonGroup, .Button {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
}
|
||||
.Dropdown-menu {
|
||||
.ButtonGroup,
|
||||
.Button {
|
||||
.ButtonGroup, .Button {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
@@ -231,7 +220,7 @@
|
||||
@media @phone {
|
||||
.App-drawer {
|
||||
& when (@config-colored-header = true) {
|
||||
.light-contents(@name: "header-colored");
|
||||
.light-contents(@name: 'header-colored');
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -255,7 +244,7 @@
|
||||
}
|
||||
|
||||
& when (@config-colored-header = true) {
|
||||
.light-contents(@name: "header-colored");
|
||||
.light-contents(@name: 'header-colored');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -264,8 +253,7 @@
|
||||
margin-right: 25px;
|
||||
}
|
||||
.Header-controls {
|
||||
&,
|
||||
> li {
|
||||
&, > li {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
@@ -177,7 +177,6 @@
|
||||
box-shadow: 0 2px 6px var(--shadow-color);
|
||||
visibility: hidden;
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
transform: translate(0, 70vh);
|
||||
transition: transform 0.3s, visibility 0s 0.3s;
|
||||
|
||||
@@ -208,8 +207,7 @@
|
||||
}
|
||||
}
|
||||
.open& {
|
||||
-webkit-transform: none;
|
||||
transform: none;
|
||||
transform: none;
|
||||
visibility: visible;
|
||||
transition-delay: 0s;
|
||||
}
|
||||
|
@@ -33,7 +33,6 @@
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: var(--zindex-modal);
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
||||
// When fading in the modal, animate it to slide down
|
||||
.Modal {
|
||||
@@ -143,8 +142,7 @@
|
||||
transform: translate(0, 100vh);
|
||||
|
||||
&.in {
|
||||
-webkit-transform: none !important;
|
||||
transform: none !important;
|
||||
transform: none !important;
|
||||
}
|
||||
&:before {
|
||||
content: " ";
|
||||
@@ -155,8 +153,7 @@
|
||||
.Modal {
|
||||
max-width: 100%;
|
||||
margin: 0;
|
||||
-webkit-transform: none !important;
|
||||
transform: none !important;
|
||||
transform: none !important;
|
||||
}
|
||||
.Modal-content {
|
||||
border-radius: 0;
|
||||
@@ -183,7 +180,6 @@
|
||||
z-index: 1;
|
||||
}
|
||||
.Modal-content {
|
||||
|
||||
border: 0;
|
||||
border-radius: var(--border-radius);
|
||||
box-shadow: 0 7px 15px var(--shadow-color);
|
||||
|
@@ -6,7 +6,6 @@
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
padding-right: 30px;
|
||||
cursor: pointer;
|
||||
line-height: 1;
|
||||
|
@@ -65,11 +65,7 @@
|
||||
// CSS3 Content Columns
|
||||
/** @deprecated */
|
||||
.content-columns(@column-count; @column-gap: @grid-gutter-width) {
|
||||
// Safari
|
||||
-webkit-column-count: @column-count;
|
||||
column-count: @column-count;
|
||||
// Safari
|
||||
-webkit-column-gap: @column-gap;
|
||||
column-gap: @column-gap;
|
||||
}
|
||||
|
||||
@@ -85,7 +81,6 @@
|
||||
// Placeholder text
|
||||
.placeholder(@color) {
|
||||
// Safari
|
||||
&::-webkit-input-placeholder,
|
||||
&::placeholder {
|
||||
color: @color;
|
||||
}
|
||||
@@ -176,7 +171,7 @@
|
||||
// User select
|
||||
// For selecting text on the page
|
||||
.user-select(@select) {
|
||||
// Safari + MS Edge
|
||||
// Safari
|
||||
-webkit-user-select: @select;
|
||||
user-select: @select;
|
||||
}
|
||||
|
@@ -13,7 +13,6 @@ body {
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
overflow-y: scroll;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
@@ -66,8 +65,6 @@ p {
|
||||
@media @desktop-hd {
|
||||
width: @screen-desktop-hd;
|
||||
}
|
||||
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.containerNarrow {
|
||||
|
@@ -80,7 +80,6 @@
|
||||
padding: 15px 0;
|
||||
white-space: nowrap;
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
||||
&:after {
|
||||
content: " ";
|
||||
|
@@ -15,8 +15,7 @@
|
||||
margin: 15px;
|
||||
display: inline-block;
|
||||
|
||||
&.item-controls,
|
||||
&.item-scrubber {
|
||||
&.item-controls, &.item-scrubber {
|
||||
margin: 0;
|
||||
display: block;
|
||||
}
|
||||
@@ -24,27 +23,22 @@
|
||||
}
|
||||
}
|
||||
@media @tablet-up {
|
||||
.DiscussionPage-discussion > .container {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
|
||||
.DiscussionPage-nav {
|
||||
min-width: 150px;
|
||||
float: right;
|
||||
|
||||
&, > ul {
|
||||
width: 150px;
|
||||
}
|
||||
> ul {
|
||||
margin-top: 24px;
|
||||
position: sticky;
|
||||
top: ~"calc(24px + var(--header-height))";
|
||||
position: fixed;
|
||||
margin-top: 30px;
|
||||
z-index: 1;
|
||||
width: 100%;
|
||||
|
||||
> li {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
.ButtonGroup,
|
||||
.Button {
|
||||
.ButtonGroup, .Button {
|
||||
width: 100%;
|
||||
}
|
||||
.ButtonGroup:not(.itemCount1) {
|
||||
@@ -60,7 +54,7 @@
|
||||
|
||||
@media @tablet-up {
|
||||
.DiscussionPage-stream {
|
||||
margin-right: 75px;
|
||||
margin-right: 225px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -138,8 +132,7 @@
|
||||
}
|
||||
}
|
||||
// When the pane is pinned, move the other page content inwards
|
||||
.App-content,
|
||||
.App-footer {
|
||||
.App-content, .App-footer {
|
||||
.hasPane.panePinned & {
|
||||
margin-left: var(--pane-width);
|
||||
|
||||
|
@@ -107,25 +107,15 @@
|
||||
}
|
||||
|
||||
.animated {
|
||||
-webkit-animation-fill-mode: both;
|
||||
animation-fill-mode: both;
|
||||
|
||||
-webkit-animation-duration: 0.5s;
|
||||
animation-duration: 0.5s;
|
||||
|
||||
animation-delay: 1.7s;
|
||||
-webkit-animation-delay: 1.7s;
|
||||
}
|
||||
@-webkit-keyframes fadeIn {
|
||||
0% {opacity: 0}
|
||||
100% {opacity: 1}
|
||||
}
|
||||
@keyframes fadeIn {
|
||||
0% {opacity: 0}
|
||||
100% {opacity: 1}
|
||||
}
|
||||
.fadeIn {
|
||||
-webkit-animation-name: fadeIn;
|
||||
animation-name: fadeIn;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user