Not need panel-campo style, set as default

This commit is contained in:
Rei
2014-03-11 22:26:32 +08:00
parent 15580efed4
commit 45627ed9c3
34 changed files with 46 additions and 46 deletions

View File

@@ -138,7 +138,7 @@
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
.panel-campo {
.panel {
.panel-heading {
margin: 0 -1px;
padding: 10px 16px;

View File

@@ -1,6 +1,6 @@
- @page_title = t '.attachments'
.panel.panel-campo
.panel
.panel-heading
h3.panel-title
= t '.attachments'

View File

@@ -4,7 +4,7 @@
.row
.col-md-9
.panel.panel-campo
.panel
.panel-heading
h2.panel-title
= t '.categories'
@@ -19,7 +19,7 @@
.text-muted
= t '.topics_count', count: category.topics_count
.col-md-3
.panel.panel-campo
.panel
.panel-body
a.btn.btn-default.btn-success.btn-block href=new_admin_category_path
= t '.new_category'

View File

@@ -2,7 +2,7 @@
.row
.col-md-9
.panel.panel-campo
.panel
.panel-heading
h3.panel-title = t '.new_category'
.panel-body

View File

@@ -2,13 +2,13 @@
.row
.col-md-9
.panel.panel-campo
.panel
.panel-heading
h3.panel-title = @category.name
.panel-body
= render 'form', category: @category
.col-md-3
.panel.panel-campo
.panel
.panel-body
dl
dt = t '.topics'

View File

@@ -4,7 +4,7 @@
.row
.col-md-9
.panel.panel-campo
.panel
.panel-heading
h2.panel-title
= t '.comments'
@@ -24,7 +24,7 @@
.pull-right
= paginate @comments, theme: 'campo'
.col-md-3
.panel.panel-campo
.panel
.panel-body
ul.nav.nav-pills.nav-stacked
li class=('active' if action_name == 'index')

View File

@@ -2,7 +2,7 @@
.row
.col-md-9
.panel.panel-campo
.panel
.panel-heading
h3.panel-title = t '.comments'
.panel-body
@@ -22,7 +22,7 @@
= t '.delete'
.col-md-3
.panel.panel-campo
.panel
.panel-body
dl
dt = t '.user'

View File

@@ -4,7 +4,7 @@
.row
.col-md-9
.panel.panel-campo
.panel
.panel-heading
h2.panel-title
= t '.topics'
@@ -28,7 +28,7 @@
.pull-right
= paginate @topics, theme: 'campo'
.col-md-3
.panel.panel-campo
.panel
.panel-body
ul.nav.nav-pills.nav-stacked
li class=('active' if action_name == 'index')

View File

@@ -2,7 +2,7 @@
.row
.col-md-9
.panel.panel-campo
.panel
.panel-heading
h3.panel-title = @topic.title
.panel-body
@@ -29,7 +29,7 @@
= t '.delete'
.col-md-3
.panel.panel-campo
.panel
.panel-body
dl
dt = t '.user'

View File

@@ -4,7 +4,7 @@
.row
.col-md-9
.panel.panel-campo
.panel
.panel-heading
h2.panel-title
= t '.users'
@@ -27,7 +27,7 @@
= paginate @users, theme: 'campo'
.col-md-3
.panel.panel-campo
.panel
.panel-body
ul.nav.nav-pills.nav-stacked
li class=('active' if action_name == 'index')

View File

@@ -2,7 +2,7 @@
.row
.col-md-9
.panel.panel-campo
.panel
.panel-heading
h3.panel-title = @user.name
.panel-body

View File

@@ -12,7 +12,7 @@
a href=clear_notifications_path data-remote="true" data-method="delete" data-confirm=t('.delete_all_confirm')
= t '.delete_all'
.col-md-9.col-md-pull-3
.panel.panel-campo
.panel
.panel-heading
h3.panel-title
= t '.notifications'

View File

@@ -1,6 +1,6 @@
.row
.col-md-6.col-md-offset-3
.panel.panel-campo
.panel
.panel-heading
h3.panel-title
= t '.password_reset'

View File

@@ -1,6 +1,6 @@
.row
.col-md-6.col-md-offset-3
.panel.panel-campo
.panel
.panel-heading
h3.panel-title
= t '.password_reset'

View File

@@ -1,6 +1,6 @@
.row
.col-md-6.col-md-offset-3
.panel.panel-campo
.panel
.panel-heading
h3.panel-title
= t '.password_reset'

View File

@@ -1,6 +1,6 @@
.row
.col-md-6.col-md-offset-3
.panel.panel-campo
.panel
.panel-heading
h3.panel-title
= t '.try_too_many_times'

View File

@@ -1,6 +1,6 @@
.row
.col-md-6.col-md-offset-3
.panel.panel-campo
.panel
.panel-heading
h3.panel-title
= t '.sign_in'

View File

@@ -1,4 +1,4 @@
.panel.panel-campo
.panel
.panel-body
ul.nav.nav-pills.nav-stacked
li class=('active' if controller_name == 'accounts')

View File

@@ -2,7 +2,7 @@
.row
.col-md-9
.panel.panel-campo
.panel
.panel-heading
h3.panel-title
= t '.account'

View File

@@ -2,7 +2,7 @@
.row
.col-md-9
.panel.panel-campo
.panel
.panel-heading
h3.panel-title
= t '.password'

View File

@@ -2,7 +2,7 @@
.row
.col-md-9
.panel.panel-campo
.panel
.panel-heading
h3.panel-title
= t '.profile'

View File

@@ -1,4 +1,4 @@
.panel.panel-campo
.panel
.panel-body
a.btn.btn-success.btn-block href=new_topic_path(category_id: @category.try(:slug))
= t '.new_topic'

View File

@@ -1,4 +1,4 @@
.panel.panel-campo
.panel
.panel-body
= form_tag search_topics_path, method: 'get', class: 'search-form', data: { behaviors: 'turboform' } do
.input-group

View File

@@ -2,7 +2,7 @@
.row
.col-md-9
.panel.panel-campo
.panel
.panel-heading
h3.panel-title = t '.edit_topic'
.panel-body

View File

@@ -9,7 +9,7 @@
.row
.col-md-9
.panel.panel-campo
.panel
.panel-heading.clearfix
.pull-right
ul.nav.nav-pills
@@ -39,7 +39,7 @@
= render 'sidebar_search'
= render 'sidebar_new'
.panel.panel-campo
.panel
.panel-body
ul.nav.nav-pills.nav-stacked
li class=('active' unless @category)

View File

@@ -2,7 +2,7 @@
.row
.col-md-9
.panel.panel-campo
.panel
.panel-heading
h3.panel-title = t '.new_topic'

View File

@@ -2,7 +2,7 @@
.row
.col-md-9
.panel.panel-campo
.panel
.panel-heading
h3.panel-title
= t '.search'

View File

@@ -2,7 +2,7 @@
.row
.col-md-9
.panel.panel-campo
.panel
.panel-heading
h1.panel-title = @topic.title
.panel-body
@@ -39,7 +39,7 @@
a.btn data-visible-to="creator" href=trash_topic_path(@topic) data-remote="true" data-method="delete" data-confirm=t('.delete_confirm')
i.fa.fa-trash-o
.panel.panel-campo#comments
.panel#comments
.panel-heading
h3.panel-title
= t '.comments'
@@ -55,7 +55,7 @@
.pull-right
= paginate @comments, theme: 'campo', params: { anchor: 'comments' }
.panel.panel-campo
.panel
.panel-body
- if login?
- unless current_user.locked?
@@ -87,10 +87,10 @@
= t '.to_comment'
.col-md-3
- if login?
.panel.panel-campo
.panel
.panel-body
= render 'subscriptions/subscription', subscribable: @topic
.panel.panel-campo
.panel
.panel-heading
h4.panel-title
= t '.related_topics'

View File

@@ -1,4 +1,4 @@
.panel.panel-campo
.panel
.panel-body
.user-profile
.user-profile-avatar

View File

@@ -1,4 +1,4 @@
.panel.panel-campo
.panel
.panel-body
ul.nav.nav-pills.nav-stacked
li class=('active' if controller_name == 'topics')

View File

@@ -3,7 +3,7 @@
.row
.col-md-9
= render 'users/profile', user: @user
#comments.panel.panel-campo
#comments.panel
.panel-heading
h3.panel-title
= t '.comments'

View File

@@ -3,7 +3,7 @@
.row
.col-md-9
= render 'users/profile', user: @user
#likes.panel.panel-campo
#likes.panel
.panel-heading
h3.panel-title
= t '.likes'

View File

@@ -1,6 +1,6 @@
.row
.col-md-6.col-md-offset-3
.panel.panel-campo
.panel
.panel-heading
h3.panel-title
= t '.sign_up'

View File

@@ -2,7 +2,7 @@
.row
.col-md-9
= render 'users/profile', user: @user
#topics.panel.panel-campo
#topics.panel
.panel-heading
h3.panel-title
= t '.topics'