mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Mobile SCSS cleanup and removing unused styles
This commit is contained in:
parent
48c9234545
commit
7d92fa3a5e
@ -22,7 +22,6 @@
|
|||||||
@import "mobile/emoji";
|
@import "mobile/emoji";
|
||||||
@import "mobile/ring";
|
@import "mobile/ring";
|
||||||
@import "mobile/group";
|
@import "mobile/group";
|
||||||
@import "mobile/groups";
|
|
||||||
@import "mobile/dashboard_next";
|
@import "mobile/dashboard_next";
|
||||||
@import "mobile/admin_customize";
|
@import "mobile/admin_customize";
|
||||||
@import "mobile/admin_reports";
|
@import "mobile/admin_reports";
|
||||||
|
@ -1,12 +1,5 @@
|
|||||||
.alert {
|
|
||||||
margin: 15px 0 5px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
// there are (n) new or updated topics, click to show
|
// there are (n) new or updated topics, click to show
|
||||||
.alert.alert-info {
|
.alert.alert-info {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
margin-bottom: -3px;
|
padding: 1em;
|
||||||
margin-top: -5px;
|
|
||||||
padding: 15px;
|
|
||||||
font-size: $font-0;
|
|
||||||
}
|
}
|
||||||
|
@ -6,12 +6,8 @@
|
|||||||
// go full width on mobile, by extending into the 10px wrap
|
// go full width on mobile, by extending into the 10px wrap
|
||||||
// borders on left and right
|
// borders on left and right
|
||||||
margin: 0 -10px;
|
margin: 0 -10px;
|
||||||
|
max-height: 180px;
|
||||||
@media all and (max-height: 499px) {
|
@media all and (max-height: 499px) {
|
||||||
max-height: 100px;
|
max-height: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (min-height: 500px) {
|
|
||||||
max-height: 180px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
h3 .top-title-buttons button {
|
h3 .top-title-buttons button {
|
||||||
margin-right: 10px;
|
margin-top: 0.5em;
|
||||||
clear: both;
|
|
||||||
margin-top: 5px;
|
|
||||||
}
|
}
|
||||||
|
@ -2,4 +2,7 @@
|
|||||||
.activity-metrics .counters-list {
|
.activity-metrics .counters-list {
|
||||||
font-size: $font-down-1;
|
font-size: $font-down-1;
|
||||||
}
|
}
|
||||||
|
.navigation a.navigation-link {
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,18 +1,38 @@
|
|||||||
.directory .user {
|
.directory {
|
||||||
border-top: 1px solid $primary-low;
|
.select-kit.dropdown-select-box.period-chooser
|
||||||
padding: 1em;
|
.period-chooser-header
|
||||||
|
h2.selected-name {
|
||||||
|
font-size: $font-up-1;
|
||||||
|
margin-bottom: 0.25em;
|
||||||
|
}
|
||||||
|
|
||||||
.user-stat {
|
.filter-name {
|
||||||
margin-left: 55px;
|
float: left;
|
||||||
.value {
|
}
|
||||||
font-weight: bold;
|
|
||||||
|
.user {
|
||||||
|
border-top: 1px solid $primary-low;
|
||||||
|
padding: 1em;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
|
||||||
|
.user-info {
|
||||||
|
width: 100%;
|
||||||
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
.label {
|
|
||||||
margin-left: 0.2em;
|
.user-stat {
|
||||||
color: $primary-medium;
|
flex: 1 1 50%;
|
||||||
}
|
.value {
|
||||||
.d-icon-heart {
|
font-weight: bold;
|
||||||
color: $love;
|
}
|
||||||
|
.label {
|
||||||
|
margin-left: 0.2em;
|
||||||
|
color: $primary-medium;
|
||||||
|
}
|
||||||
|
.d-icon-heart {
|
||||||
|
color: $love;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,10 +2,6 @@
|
|||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.group-header {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.group-name {
|
.group-name {
|
||||||
margin: 5px 0 0 0;
|
margin: 5px 0 0 0;
|
||||||
}
|
}
|
||||||
@ -14,48 +10,11 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.group-details-container {
|
|
||||||
margin-bottom: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.group-nav.mobile-nav {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.group-activity,
|
.group-activity,
|
||||||
.group-manage {
|
.group-manage {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.group-navigation {
|
|
||||||
&.mobile-nav {
|
|
||||||
position: absolute;
|
|
||||||
right: 0;
|
|
||||||
top: -51px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.group-activity-outlet,
|
|
||||||
.group-messages-outlet {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-horizontal {
|
|
||||||
.control-group {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.group-flair-inputs {
|
|
||||||
.group-flair-right {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
table.group-manage-logs {
|
|
||||||
width: 130%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.group-members {
|
.group-members {
|
||||||
.group-member {
|
.group-member {
|
||||||
border-top: 1px solid $primary-low;
|
border-top: 1px solid $primary-low;
|
||||||
@ -71,7 +30,7 @@ table.group-manage-logs {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.group-member-info {
|
.group-member-info {
|
||||||
color: dark-light-choose($primary-medium, $secondary-medium);
|
color: $primary-medium;
|
||||||
|
|
||||||
label {
|
label {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
@ -81,27 +40,3 @@ table.group-manage-logs {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.group-outlet {
|
|
||||||
.group-username-filter {
|
|
||||||
position: absolute;
|
|
||||||
right: 0px;
|
|
||||||
top: -42px;
|
|
||||||
height: 27px;
|
|
||||||
margin-bottom: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.group-members-manage {
|
|
||||||
width: 100%;
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.group-members-dropdown,
|
|
||||||
.group-members-add {
|
|
||||||
margin: 5px 0px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.group-add-members-btn {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
.groups-page {
|
|
||||||
h1 {
|
|
||||||
margin-top: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.groups-header-filters {
|
|
||||||
display: block;
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.groups-header-filters-name,
|
|
||||||
.groups-header-filters-type,
|
|
||||||
.groups-header-new {
|
|
||||||
margin-top: 10px;
|
|
||||||
}
|
|
||||||
@include breakpoint(mobile-small) {
|
|
||||||
.groups-header-filters-name {
|
|
||||||
width: 50%;
|
|
||||||
}
|
|
||||||
.groups-header-filters-type {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -111,32 +111,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#search-help {
|
|
||||||
max-width: 98%;
|
|
||||||
}
|
|
||||||
|
|
||||||
// this makes the table behave like a flat list
|
|
||||||
#search-help td {
|
|
||||||
display: block;
|
|
||||||
padding-left: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#search-help h3 {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#search-help p {
|
|
||||||
margin: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#search-help .btn-primary {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#google-search form {
|
|
||||||
padding-left: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.change-timestamp-footer .btn-primary {
|
.change-timestamp-footer .btn-primary {
|
||||||
float: right;
|
float: right;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
|
@ -400,7 +400,7 @@ blockquote {
|
|||||||
}
|
}
|
||||||
|
|
||||||
span.highlighted {
|
span.highlighted {
|
||||||
background-color: dark-light-choose($highlight-low, $highlight);
|
background-color: $highlight-low;
|
||||||
}
|
}
|
||||||
|
|
||||||
.topic-avatar {
|
.topic-avatar {
|
||||||
@ -446,11 +446,11 @@ span.highlighted {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.username.new-user a {
|
.username.new-user a {
|
||||||
color: dark-light-choose($primary-low-mid, $secondary-high);
|
color: $primary-low-mid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-title {
|
.user-title {
|
||||||
color: #aaa;
|
color: $primary-medium;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-right: 50px;
|
margin-right: 50px;
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
.post-info a {
|
.post-info a {
|
||||||
color: #aaa;
|
color: $primary-medium;
|
||||||
}
|
}
|
||||||
|
|
||||||
.topic-meta-data-inside {
|
.topic-meta-data-inside {
|
||||||
@ -13,7 +13,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#topic-title {
|
#topic-title {
|
||||||
//margin-bottom: 20px;
|
|
||||||
margin: 0 60px 10px 0;
|
margin: 0 60px 10px 0;
|
||||||
h1 {
|
h1 {
|
||||||
font-size: $font-up-3;
|
font-size: $font-up-3;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
line-height: $line-height-medium;
|
line-height: $line-height-medium;
|
||||||
}
|
}
|
||||||
.description {
|
.description {
|
||||||
color: dark-light-choose($primary-medium, $secondary-medium);
|
color: $primary-medium;
|
||||||
}
|
}
|
||||||
.radios {
|
.radios {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
Loading…
Reference in New Issue
Block a user