Skip to content

Commit

Permalink
Merge branch 'feature/bootstrap_3_fixes' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
tayfunoziserikan committed Sep 13, 2013
2 parents 2b09097 + ae6428e commit 895e67e
Show file tree
Hide file tree
Showing 15 changed files with 326 additions and 509 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ tmp
_yardoc
doc/
*.psd

build/
1 change: 0 additions & 1 deletion config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
# i18n
activate :i18n

set :fonts_dir, 'assets/fonts'
set :css_dir, 'assets/stylesheets'
set :js_dir, 'assets/javascripts'
set :images_dir, 'assets/images'
Expand Down
Binary file removed source/assets/fonts/glyphiconshalflings-regular.eot
Binary file not shown.
Binary file removed source/assets/fonts/glyphiconshalflings-regular.otf
Binary file not shown.
175 changes: 0 additions & 175 deletions source/assets/fonts/glyphiconshalflings-regular.svg

This file was deleted.

Binary file removed source/assets/fonts/glyphiconshalflings-regular.ttf
Binary file not shown.
Binary file removed source/assets/fonts/glyphiconshalflings-regular.woff
Binary file not shown.
3 changes: 0 additions & 3 deletions source/assets/javascripts/application.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ $(document).ready ->
), ->
$(this).find('.dropdown-menu').stop(true, true).delay(100).fadeOut()

# Dock dropdown fix
$('#dock li.launcher').each ->
$(this).find('.dropdown-menu').css 'top', $(this).position().top + 33

$('#toggle').click ->
$('#dock .launcher a').toggle()
Expand Down
41 changes: 7 additions & 34 deletions source/assets/stylesheets/_bootstrap_overrides.css.sass
Original file line number Diff line number Diff line change
Expand Up @@ -13,47 +13,20 @@
top: -6px
right: 20px

// Panels
//Panels
.panel // Remove box shadow from panels
+box-shadow(none)

// Panel heading styles
.panel-heading
text-align: left
background-color: lighten($panel-heading-bg, 3)
color: $base-dark-color
i[class*='icon-']
margin-right: 5px
.panel-tools
float: right
margin-top: -48px
margin-right: -8px
.btn-group
margin-top: -6px
.btn-group, .label, .badge
float: right
display: inline-block
.btn
padding: 8px 6px
font-weight: 200
font-size: 1em
color: $base-dark-color
&:hover
color: $base-color
&:active, &:focus
color: darken($base-color, 10)
+box-shadow(none)
span.badge
font-size: .7em
padding: 2px 4px
.label, .badge
margin-right: 5px
margin-top: 4px
padding-bottom: 4px
font-weight: 200
.panel-body
&.no-padding
margin-left: -15px
margin-right: -15px
margin-top: -15px
.panel-footer
background-color: lighten($panel-heading-bg, 3)
.pull-right
padding-top: 5px

// Buttons
.btn
Expand Down
6 changes: 3 additions & 3 deletions source/assets/stylesheets/_variables.css.sass
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ $box-shadow-color: rgba(black, 0.04)
$brand-primary: $base-color
$brand-success: $brand-primary

$navbar-bg: rgba(0,0,0,0)
$navbar-brand-color: $base-dark-color
$navbar-brand-hover-color: lighten($base-dark-color, 10)
$navbar-default-bg: rgba(0,0,0,0)
$navbar-default-brand-color: $base-dark-color
$navbar-default-brand-hover-color: lighten($base-dark-color, 5)

$breadcrumb-bg: $clouds
$panel-heading-bg: $clouds
Expand Down
104 changes: 62 additions & 42 deletions source/assets/stylesheets/application.css.sass
Original file line number Diff line number Diff line change
Expand Up @@ -63,47 +63,67 @@ form
.text-center
text-align: center

.tables
.panel-body
.table-header
text-align: left
padding: 10px
background-color: lighten($panel-heading-bg, 3)
border-bottom: 1px solid $table-border-color
&.row
margin: 0
.input-group
margin-right: -15px
input
height: 30px
button
height: 30px
padding: 0 10px
.table-footer
background-color: lighten($panel-heading-bg, 3)
border-top: 1px solid $table-border-color
+border-bottom-left-radius(4px)
+border-bottom-right-radius(4px)
padding: 10px 10px 5px 10px
margin-bottom: -14px
.pagination
margin: 0
table
margin-bottom: 0
th:first-child, td:first-child
padding-left: 15px
tr.disabled
+opacity(.4)
td
text-decoration: line-through
td.action
text-decoration: none !important
// Panels
.panel
.panel-tools
float: right
margin-top: -4px
margin-right: -8px
.btn-group
margin-top: -6px
.btn-group, .label, .badge
float: right
display: inline-block
.btn
padding: 8px 6px
font-weight: 200
font-size: 1em
color: $base-dark-color
&:hover
color: $base-color
&:active, &:focus
color: darken($base-color, 10)
+box-shadow(none)
span.badge
font-size: .7em
padding: 2px 4px
.label, .badge
margin-right: 5px
margin-top: 4px
padding-bottom: 4px
font-weight: 200

// Grids
.grid
.filters
background-color: lighten($panel-heading-bg, 5)
.input-group
input
height: 30px
button
height: 30px
padding: 0 10px
table
margin-bottom: 0
th:first-child, td:first-child
padding-left: 15px
tr.disabled
+opacity(.4)
td
text-decoration: line-through
td.action
width: 15%
padding: 5px
.btn
height: 25px
padding: 2px 6px
text-decoration: none !important
td.action
width: 15%
padding: 5px
.btn
height: 25px
padding: 2px 6px
.panel-footer
padding: 10px 10px 5px 10px
.pagination
margin: 0


#navbar
.navbar-brand
Expand Down Expand Up @@ -180,7 +200,7 @@ form
text-align: left
position: absolute
margin-left: 85px
top: 80px
top: 8px
> li > a
padding: 5px 20px
a, li.dropdown-header
Expand Down Expand Up @@ -216,7 +236,7 @@ form
height: 10px
background-color: white
position: absolute
right: -5px
right: -6px
margin-top: 22px

#content
Expand Down
24 changes: 12 additions & 12 deletions source/dashboard.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@
.label.label-info
Info

.panel
.panel.panel-default
.panel-heading
%i.icon-beer.icon-large
Hierapolis Rocks!
.panel-tools
.btn-group
%a.btn{href: '#'}
%i.icon-refresh
Refresh statics
%a.btn{href: '#', data: {toggle: 'toolbar-tooltip'}, title: 'Toggle'}
%i.icon-chevron-down
.panel-tools
.btn-group
%a.btn{href: '#'}
%i.icon-refresh
Refresh statics
%a.btn{href: '#', data: {toggle: 'toolbar-tooltip'}, title: 'Toggle'}
%i.icon-chevron-down
.panel-body
.page-header
%h4 System usage
Expand All @@ -37,11 +37,11 @@
.page-header
%h4 User statics
.row.text-center
.col-3
.col-md-3
%input.knob.second{'data-bgcolor' => '#d4ecfd', 'data-fgcolor' => '#30a1ec', 'data-inputcolor' => '#333', 'data-thickness' => '.3', 'data-width' => '140', 'data-height' => '140', :type => 'text', :value => '50'}/
.col-3
.col-md-3
%input.knob.second{'data-bgcolor' => '#c4e9aa', 'data-fgcolor' => '#8ac368', 'data-inputcolor' => '#333', 'data-thickness' => '.3', 'data-width' => '140', 'data-height' => '140', :type => 'text', :value => '75'}/
.col-3
.col-md-3
%input.knob.second{'data-bgcolor' => '#cef3f5', 'data-fgcolor' => '#5ba0a3', 'data-inputcolor' => '#333', 'data-thickness' => '.3', 'data-width' => '140', 'data-height' => '140', :type => 'text', :value => '35'}/
.col-3
.col-md-3
%input.knob.second{'data-bgcolor' => '#f8d2e0', 'data-fgcolor' => '#b85e80', 'data-inputcolor' => '#333', 'data-thickness' => '.3', 'data-width' => '140', 'data-height' => '140', :type => 'text', :value => '85'}/
6 changes: 3 additions & 3 deletions source/forms.html.haml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- page 'Forms', 'forms'

.panel
.panel.panel-default
.panel-heading
%i.icon-edit.icon-large
Form Default
Expand Down Expand Up @@ -135,7 +135,7 @@
%button.btn.btn-default{:type => 'submit'} Submit
%a.btn{href: '#'} Cancel

.panel
.panel.panel-default
.panel-heading
%i.icon-edit.icon-large
Form Horizontal
Expand Down Expand Up @@ -184,7 +184,7 @@
%button.btn.btn-default{:type => 'submit'} Save
%a.btn{href: '#'} Cancel

.panel
.panel.panel-default
.panel-heading
%i.icon-edit.icon-large
Knob Inputs
Expand Down
2 changes: 1 addition & 1 deletion source/partials/_navbar.haml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#navbar.navbar
#navbar.navbar.navbar-default
%a.navbar-brand{:href => '#'}
%i.icon-beer
Hierapolis
Expand Down
Loading

0 comments on commit 895e67e

Please sign in to comment.