mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 09:10:25 +08:00
removing some old styles
This commit is contained in:
parent
258e9e35ca
commit
a201103127
7 changed files with 4 additions and 174 deletions
|
@ -192,44 +192,6 @@
|
||||||
color: #9b764f !important;
|
color: #9b764f !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.topic-list.categories {
|
|
||||||
.category .badge-notification {
|
|
||||||
background-color: transparent;
|
|
||||||
color: $primary-medium;
|
|
||||||
}
|
|
||||||
|
|
||||||
.subcategories .badge {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
td.category {
|
|
||||||
vertical-align: top;
|
|
||||||
padding-top: 15px;
|
|
||||||
padding-bottom: 15px;
|
|
||||||
border-left: 6px solid;
|
|
||||||
}
|
|
||||||
td.stats {
|
|
||||||
.unit {
|
|
||||||
font-size: $font-down-1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
table.categoryStats {
|
|
||||||
td {
|
|
||||||
padding: 2px;
|
|
||||||
vertical-align: bottom;
|
|
||||||
line-height: $line-height-large;
|
|
||||||
&.value {
|
|
||||||
text-align: right;
|
|
||||||
font-size: $font-up-3;
|
|
||||||
}
|
|
||||||
&.unit {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.loading .topic-list {
|
.loading .topic-list {
|
||||||
border: 0;
|
border: 0;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
|
|
@ -225,7 +225,7 @@
|
||||||
&:active {
|
&:active {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
@media all and (max-width: 320px) {
|
@include mobile-portrait {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,26 +28,6 @@
|
||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@mixin not-mobile-portrait {
|
|
||||||
@media all and (min-width: 321px) {
|
|
||||||
@content;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@mixin mobile-landscape {
|
|
||||||
@media all and (min-width: 321px) and (max-width: 959px) {
|
|
||||||
@content;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@mixin not-tablet-landscape {
|
|
||||||
@media all and (max-width: 959px) {
|
|
||||||
@content;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@mixin tablet-landscape {
|
|
||||||
@media all and (min-width: 960px) {
|
|
||||||
@content;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// CSS3 properties
|
// CSS3 properties
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
z-index: z("timeline");
|
z-index: z("timeline");
|
||||||
margin-left: 757px;
|
margin-left: 757px;
|
||||||
|
|
||||||
@media all and (min-width: 1140px) {
|
@include large-width {
|
||||||
margin-left: 820px;
|
margin-left: 820px;
|
||||||
}
|
}
|
||||||
@media all and (min-width: 1250px) {
|
@media all and (min-width: 1250px) {
|
||||||
|
|
|
@ -160,70 +160,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.topic-list.categories {
|
|
||||||
a.title {
|
|
||||||
color: $tertiary;
|
|
||||||
}
|
|
||||||
|
|
||||||
th.posts {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
th.stats {
|
|
||||||
width: 90px;
|
|
||||||
}
|
|
||||||
td.latest {
|
|
||||||
vertical-align: top;
|
|
||||||
padding: 0 8px 8px;
|
|
||||||
}
|
|
||||||
.last-user-info {
|
|
||||||
font-size: $font-down-1;
|
|
||||||
}
|
|
||||||
.has-description {
|
|
||||||
td.category {
|
|
||||||
padding-top: 15px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.category {
|
|
||||||
h3 {
|
|
||||||
display: inline-block;
|
|
||||||
font-size: $font-up-2;
|
|
||||||
i {
|
|
||||||
margin-right: 5px;
|
|
||||||
}
|
|
||||||
a[href] {
|
|
||||||
color: $primary;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.subcategories {
|
|
||||||
margin-top: 10px;
|
|
||||||
}
|
|
||||||
.category-description {
|
|
||||||
margin-top: 10px;
|
|
||||||
}
|
|
||||||
.clear-badge {
|
|
||||||
color: $primary;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.featured-topic {
|
|
||||||
margin: 10px 0 0;
|
|
||||||
/* topic status glyphs */
|
|
||||||
i {
|
|
||||||
color: dark-light-choose($primary-medium, $secondary-medium) !important;
|
|
||||||
font-size: 0.929em;
|
|
||||||
}
|
|
||||||
a.last-posted-at,
|
|
||||||
a.last-posted-at:visited {
|
|
||||||
color: dark-light-choose($primary-medium, $secondary-medium);
|
|
||||||
font-size: $font-down-1;
|
|
||||||
}
|
|
||||||
.badge {
|
|
||||||
font-size: $font-down-1;
|
|
||||||
top: -1px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.topic-list-bottom {
|
.topic-list-bottom {
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
}
|
}
|
||||||
|
@ -293,7 +229,7 @@ button.dismiss-read {
|
||||||
|
|
||||||
/* Tablet (portrait) ----------- */
|
/* Tablet (portrait) ----------- */
|
||||||
|
|
||||||
@media all and (max-width: 850px) {
|
@include small-width {
|
||||||
// slightly smaller font, tighten spacing on nav pills
|
// slightly smaller font, tighten spacing on nav pills
|
||||||
.nav-pills {
|
.nav-pills {
|
||||||
> li > a {
|
> li > a {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#site-text-logo {
|
#site-text-logo {
|
||||||
font-size: $font-up-3;
|
font-size: $font-up-3;
|
||||||
}
|
}
|
||||||
@media only screen and (max-width: 320px) {
|
@include mobile-portrait {
|
||||||
#site-text-logo {
|
#site-text-logo {
|
||||||
font-size: $font-up-2;
|
font-size: $font-up-2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -256,54 +256,6 @@ tr.category-topic-link {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.topic-list.categories {
|
|
||||||
td.latest {
|
|
||||||
vertical-align: top;
|
|
||||||
padding: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.badge-category {
|
|
||||||
display: inline-block;
|
|
||||||
margin-top: 1px;
|
|
||||||
}
|
|
||||||
.featured-users {
|
|
||||||
@include mobile-portrait {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
padding-top: 8px;
|
|
||||||
clear: left;
|
|
||||||
}
|
|
||||||
@include not-mobile-portrait {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.latest {
|
|
||||||
@include mobile-portrait {
|
|
||||||
width: 150px;
|
|
||||||
}
|
|
||||||
@include mobile-landscape {
|
|
||||||
width: 270px;
|
|
||||||
}
|
|
||||||
@include tablet-landscape {
|
|
||||||
width: 450px;
|
|
||||||
}
|
|
||||||
.featured-topic {
|
|
||||||
margin: 8px 0;
|
|
||||||
a.last-posted-at,
|
|
||||||
a.last-posted-at:visited {
|
|
||||||
color: dark-light-choose($primary-medium, $secondary-medium);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.stats {
|
|
||||||
@include not-tablet-landscape {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
@include tablet-landscape {
|
|
||||||
min-width: 80px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.category-list-item {
|
.category-list-item {
|
||||||
padding: 5px 0 2px;
|
padding: 5px 0 2px;
|
||||||
border-left: 6px solid;
|
border-left: 6px solid;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue