Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
pichalite committed Jun 3, 2019
1 parent a7b55cb commit f3771e7
Show file tree
Hide file tree
Showing 24 changed files with 299 additions and 311 deletions.
10 changes: 5 additions & 5 deletions less/account.less
Expand Up @@ -364,12 +364,12 @@
}

.user-avatar {
.user-avatar(30px);
}
.user-avatar(30px);
}

.user-icon {
.user-icon(30px, 1.6rem);
}
.user-icon {
.user-icon(30px, 1.6rem);
}
}
}
}
14 changes: 7 additions & 7 deletions less/alert.less
Expand Up @@ -37,19 +37,19 @@
&.alert-info::before {
background-color: @material-info;
}

&.alert-warning::before {
background-color: @material-warning;
}

&.alert-success::before {
background-color: @material-success;
}

&.alert-danger::before {
background-color: @material-danger;
}

&::before {
width: ~"calc(100% + 50px)";
}
Expand All @@ -59,10 +59,10 @@
border: 0;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25), 0 2px 10px 0 rgba(0, 0, 0, 0.25);
overflow: hidden;

.close {
color: #fff;

&:hover {
color: #fff;
}
Expand All @@ -75,7 +75,7 @@
p {
padding: 10px 0 0;
}

&.alert-info {
background-color: @material-info;
}
Expand Down
4 changes: 2 additions & 2 deletions less/breadcrumb.less
Expand Up @@ -4,11 +4,11 @@
border-radius: 0;
margin-bottom: 15px;
font-size: 13px;

>.active {
color: @breadcrumb-active-color;
}

li {
max-width: 100%;
overflow: hidden;
Expand Down
6 changes: 3 additions & 3 deletions less/buttons.less
Expand Up @@ -186,10 +186,10 @@
height:50px;
border-radius:50%;
position:absolute;
line-height:40px
line-height:40px;

&:hover {
box-shadow:0 2px 7px rgba(0,0,0,.18)
box-shadow:0 2px 7px rgba(0, 0, 0, .18);
}

i {
Expand All @@ -198,7 +198,7 @@
-o-transition:all;
transition:all;
-webkit-transition-duration:500ms;
transition-duration:500ms
transition-duration:500ms;
}
}

Expand Down
1 change: 0 additions & 1 deletion less/chat.less
Expand Up @@ -248,7 +248,6 @@

.lvh-label {
color: #818181;
display: inline-block;
margin: 0;
font-size: 14px;
font-weight: normal;
Expand Down
14 changes: 7 additions & 7 deletions less/dropdown.less
Expand Up @@ -10,35 +10,35 @@
-moz-backface-visibility: hidden;
backface-visibility: hidden;
margin-top: 1px;

&.dropdown-menu-lg {
width: 300px;
}

&.dropdown-menu-md {
width: 200px;
}

&.dropdown-menu-sm {
width: 150px;
}

&.dropdown-menu-right {
right: 0;
left: auto;
}

&.dm-icon>li>a>.md {
line-height: 100%;
vertical-align: top;
font-size: 18px;
width: 28px;
}

&:not([class*=bgm-])>li>a {
color: @dropdown-color;
}

&:not([class*=bgm-])>li>a:hover {
color: @dropdown-color;
}
Expand Down
14 changes: 7 additions & 7 deletions less/groups.less
Expand Up @@ -21,7 +21,7 @@
li {
display: inline;
}

.user-icon, .user-avatar {
.user-icon(32px, 1.4rem);
}
Expand All @@ -44,15 +44,15 @@
}

&.details {

.table {
margin-bottom: 0;

>tbody {
>tr:not(:first-child)>td {
border-top: 1px solid @border-color;
}

>tr:first-child>td {
border: none;
}
Expand Down Expand Up @@ -97,15 +97,15 @@

.row.groups .col-xs-7 {
padding-left: 5px;
}
}
}

[component="groups/container"] {
.card.user-profile-view {
margin-right: 15px;
margin-left: 15px;
}

[component="groups/cover"] {
background-size: cover;
background-repeat: no-repeat;
Expand Down Expand Up @@ -191,7 +191,7 @@
display: none;
}
}

.card-body.card-padding {
@media (min-width: @screen-md-min) {
padding: 18px;
Expand Down
2 changes: 1 addition & 1 deletion less/header.less
Expand Up @@ -79,7 +79,7 @@
margin-left: 0px;
}
}

.dropdown-menu {
background-color: @dropdown-bg-color;
}
Expand Down
24 changes: 12 additions & 12 deletions less/input.less
Expand Up @@ -137,7 +137,7 @@ html:not(.ie9) .select.fg-line:before {
display: inline-block;
width: 100%;
}

.form-control[readonly] {
background-color: inherit;
}
Expand Down Expand Up @@ -457,7 +457,7 @@ html:not(.ie9) .select.fg-line:before {
background: #fafafa;
box-shadow: 0 2px 8px rgba(0, 0, 0, .28);
border-radius: 50%;
webkit-transition: left .28s cubic-bezier(0.4, 0, .2, 1), background .28s cubic-bezier(0.4, 0, .2, 1), box-shadow .28s cubic-bezier(0.4, 0, .2, 1);
-webkit-transition: left .28s cubic-bezier(0.4, 0, .2, 1), background .28s cubic-bezier(0.4, 0, .2, 1), box-shadow .28s cubic-bezier(0.4, 0, .2, 1);
transition: left .28s cubic-bezier(0.4, 0, .2, 1), background .28s cubic-bezier(0.4, 0, .2, 1), box-shadow .28s cubic-bezier(0.4, 0, .2, 1);
}
}
Expand Down Expand Up @@ -507,12 +507,12 @@ html:not(.ie9) .select.fg-line:before {

//topic-select
[component="category/topic"] {

.checkbox label {
padding-left: 0;
position: relative;
}

.checkbox .select {
top: 0;
left: 0;
Expand All @@ -522,7 +522,7 @@ html:not(.ie9) .select.fg-line:before {
filter: alpha(opacity=0);
margin-top: 0;
}

.checkbox .input-helper:before, .checkbox .input-helper:after {
-webkit-transition: all;
-moz-transition: all;
Expand All @@ -536,30 +536,30 @@ html:not(.ie9) .select.fg-line:before {
position: absolute;
content: "";
}

.checkbox .input-helper:before {
left: 0;
border: 1px solid #ccc;
}

.checkbox.disabled {
opacity: .6;
filter: alpha(opacity=60);
}

.checkbox .select {
width: 17px;
height: 17px;
}

&.selected {
.checkbox .input-helper:before {
-webkit-transform: scale(0);
-ms-transform: scale(0);
-o-transform: scale(0);
transform: scale(0);
}

.checkbox .input-helper:after {
-webkit-transform: scale(1) rotate(-50deg);
-ms-transform: scale(1) rotate(-50deg);
Expand All @@ -569,13 +569,13 @@ html:not(.ie9) .select.fg-line:before {
filter: alpha(opacity=100);
}
}

.checkbox .input-helper:before {
top: 0;
width: 17px;
height: 17px;
}

.checkbox .input-helper:after {
opacity: 0;
filter: alpha(opacity=0);
Expand Down
4 changes: 2 additions & 2 deletions less/listview.less
Expand Up @@ -246,7 +246,7 @@
@media (max-width: @screen-xs-max) {
.listview .lv-title, .listview .lv-item .lv-small {
white-space: inherit;
}
}
}

.category, .recent, .popular {
Expand All @@ -257,5 +257,5 @@

.list-group-item {
background-color: @list-group-item-bg-color;
border: 1px solid @border-color;
border: 1px solid @border-color;
}
6 changes: 3 additions & 3 deletions less/login.less
Expand Up @@ -66,7 +66,7 @@ div.login, div.register {
.login-options, .register-options {
margin-top: 10px;
}

.input-group-addon {
color: @body-color;
}
Expand Down Expand Up @@ -118,7 +118,7 @@ div.login, div.register {
-webkit-background-size: 1.25rem 1.25rem;
background-size: 1.25rem 1.25rem;
}

.register-feedback {
color: @material-success;
display: block;
Expand All @@ -137,7 +137,7 @@ div.login, div.register {
-webkit-background-size: 1.25rem 1.25rem;
background-size: 1.25rem 1.25rem;
}

.register-feedback {
color: @material-danger;
display: block;
Expand Down

0 comments on commit f3771e7

Please sign in to comment.