2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-12 21:10:47 +08:00

Removing unneeded and duplicate styles

This commit is contained in:
Kris 2018-02-23 21:41:40 -05:00
parent 82e68670bf
commit b731d5d9b5
18 changed files with 89 additions and 191 deletions

View file

@ -1,36 +1,18 @@
.user-controls {
padding: 1em;
}

.total-rows {
padding: 0.25em 0.5em;
}

.directory .user {
border-top: 1px solid $primary-low;
padding: 1em;


&.me {
background-color: dark-light-choose($highlight-low, $highlight-medium);

.username a, .name, .title, .number, .time-read, .user-stat .label {
color: scale-color($highlight, $lightness: -50%);
}
}
.user-stat {
margin-left: 55px;

.value {
font-weight: bold;
}
.label {
margin-left: 0.2em;
color: blend-primary-secondary(50%);
color: $primary-medium;
}
.d-icon-heart {
color: $love;
}
}
margin-bottom: 1em;
}

View file

@ -1,6 +1,4 @@
.emoji-picker {
box-shadow: none;
height: 250px;
border-radius: 0;
border: none;
}

View file

@ -4,7 +4,6 @@

.body-page {
margin-top: 20px;
margin-left: 15px;
width: 90%;
width: 100%;
padding-left: 0;
}

View file

@ -8,11 +8,6 @@
#revision-numbers {
line-height: $line-height-large;
}
#revision-details {
background-color: $primary-low;
padding: 5px;
margin-top: 10px;
}
img {
max-width: 95%;
height: auto;

View file

@ -15,9 +15,7 @@
}

#login-form {
a {
color: dark-light-choose($primary-high, $secondary-low);
}
label { float: left; display: block; }
textarea, input, select {
font-size: $font-up-1;
@ -31,12 +29,6 @@ a#new-account-link { white-space:nowrap; }

// Create account

#new-account-link {
cursor: pointer;
}

a#forgot-password-link {clear: left; float: left; }

.login-modal, .create-account {
.btn-primary {
margin-bottom: 10px;

View file

@ -1,7 +0,0 @@
.menu-panel {
span.badge-category {
max-width: 85px;
overflow: hidden;
text-overflow: ellipsis;
}
}

View file

@ -22,8 +22,6 @@
top: 50%;
}
.modal-body {
overflow-y: auto;
max-height: 400px;
padding: 10px;
}

@ -70,27 +68,12 @@
}
}

.flag-modal {
max-height: 450px;
}

@media only screen and (max-device-width: 568px) {
.modal .flag-modal .flag-message {
height: 1.2em;
height: 3em;
}
}

.custom-message-length {
margin: -4px 0 10px 20px;
color: dark-light-choose($primary-high, $secondary-low);
font-size: $font-down-1;
}

.flag-message {
margin-left: 20px;
width: 95% !important;
}

.edit-category-modal {
.modal-body {
box-sizing: border-box;
@ -100,19 +83,6 @@
&.small .modal-body {
height: 310px;
}
.secure-category-options {
margin: 10px 0 0 16px;
.badge-list {
margin: 10px 0;
li {
margin: 0 4px 8px 0;
a {
color: #888;
cursor: pointer;
}
}
}
}

.disable_info_wrap .cannot_delete_reason {
top: -114px;
@ -121,18 +91,6 @@
}
}

.tabbed-modal {
.modal-body {
position: relative;
height: 350px;
}
}


.modal-tab {
position: absolute;
}

/* fixes for the new account confirm dialog on mobile */

.modal-inner-container {