Skip to content

Commit

Permalink
put setting's style in a separated file
Browse files Browse the repository at this point in the history
  • Loading branch information
shanzi committed May 2, 2015
1 parent e5503b8 commit a55943d
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 36 deletions.
29 changes: 29 additions & 0 deletions www/md_base/src/app/settings/settings.less
@@ -0,0 +1,29 @@
.setting-item label {
margin: 15px 0;
height: 30px;
line-height: 30px;
padding-right: 10px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}

.setting-control.integer input {
margin: 15px;
width: 40px;
height: 30px;
text-align: center;
}

.setting-control.integer md-slider {
margin-top: 5px;
}

.setting-control.text input {
margin: 15px 15px;
margin-left: 0;
}

.setting-control.choices md-select {
margin: 10px 15px;
}
40 changes: 4 additions & 36 deletions www/md_base/src/styles/card.less
Expand Up @@ -29,43 +29,11 @@ section.card {
}
}

.api {
dd {
margin: 0;
}

a {
word-break: break-all;
}
}

.setting-item label {
margin: 15px 0;
height: 30px;
line-height: 30px;
padding-right: 10px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}

.setting-control.integer input {
margin: 15px;
width: 40px;
height: 30px;
text-align: center;
}

.setting-control.integer md-slider {
margin-top: 5px;
}

.setting-control.text input {
margin: 15px 15px;
margin-left: 0;
dd {
margin: 0;
}

.setting-control.choices md-select {
margin: 10px 15px;
a {
word-break: break-all;
}
}

0 comments on commit a55943d

Please sign in to comment.