Skip to content

Commit

Permalink
微调 CSS 细节
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Jan 30, 2020
1 parent ca2e56d commit c8216d9
Show file tree
Hide file tree
Showing 21 changed files with 740 additions and 324 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ spec/examples.txt
.ruby-version
/storage/*
app.local.env
*.tmp
6 changes: 6 additions & 0 deletions app/assets/stylesheets/admin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ pre {

.toolbar {
margin-bottom: 15px;

.form-inline {
.form-group {
margin-right: 10px;
}
}
}

table tr.deleted td {
Expand Down
34 changes: 30 additions & 4 deletions app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -474,12 +474,37 @@ kbd {
box-shadow: 0 0 0;
border-color: #e5e6e9 #dfe0e4 #d0d1d5;

.card-header,
.card-footer {
.card-header {
padding: 6px 15px;
}

.card-body,
.card-title {
margin-bottom: 25px;
font-size: 18px;
line-height: 100%;
display: flex;

.card-subtitle {
margin-top: 10px;
font-size: 14px;
}

.counter {
margin-left: 5px;
color: #777;
font-size: 14px;
}

.actions {
font-size: 14px;
margin-left: 15px;
}
}

.card-body {
padding: 15px;
}

.list-group-item {
padding: 10px 15px;
}
Expand Down Expand Up @@ -688,7 +713,7 @@ img.emoji {
.editor-toolbar {
margin-bottom: 5px;

.opts {
.toolbar-buttons {
a.nav-link {
border: 1px solid $input-border-color;

Expand All @@ -697,6 +722,7 @@ img.emoji {
font-size: 14px;
line-height: 14px;
display: inline-block;
border-radius: 3px;
padding: 8px;
margin: 0;
}
Expand Down
Loading

0 comments on commit c8216d9

Please sign in to comment.