Browse Source

icons in link buttons are the right size now.

pull/253/head
connors 11 years ago
parent
commit
ca9a3d717e
  1. 20
      dist/ratchet.css
  2. 14
      lib/sass/bars.scss
  3. 10
      lib/sass/popovers.scss

20
dist/ratchet.css vendored

@ -547,13 +547,6 @@ input[type="button"] {
color: #428bca; color: #428bca;
} }
.popover .bar-nav {
border-bottom: 1px solid #dddddd;
border-radius: 12px 12px 0 0;
-webkit-box-shadow: none;
box-shadow: none;
}
.bar-nav .btn { .bar-nav .btn {
position: relative; position: relative;
z-index: 20; z-index: 20;
@ -612,16 +605,16 @@ input[type="button"] {
margin: 0 auto; margin: 0 auto;
} }
.bar > .icon { .bar .icon {
position: relative; position: relative;
z-index: 20; z-index: 20;
font-size: 24px; font-size: 24px;
margin-top: 11px; margin-top: 11px;
} }
.bar > .icon.pull-left { .bar .icon.pull-left {
margin-left: -3px; margin-left: -3px;
} }
.bar > .icon.pull-right { .bar .icon.pull-right {
margin-right: -3px; margin-right: -3px;
} }
@ -1023,6 +1016,13 @@ select {
margin-bottom: 0; margin-bottom: 0;
} }
.popover .bar-nav {
border-bottom: 1px solid #dddddd;
border-radius: 12px 12px 0 0;
-webkit-box-shadow: none;
box-shadow: none;
}
.popover .table-view { .popover .table-view {
width: auto; width: auto;
max-height: 300px; max-height: 300px;

14
lib/sass/bars.scss

@ -124,16 +124,6 @@
} }
// Nav bar in popovers
// --------------------------------------------------
.popover .bar-nav {
border-bottom: $border-default;
border-radius: 12px 12px 0 0;
@include box-shadow(none);
}
// Nav bars with buttons // Nav bars with buttons
// -------------------------------------------------- // --------------------------------------------------
@ -166,7 +156,7 @@
&.active { &.active {
color: darken($primary-color, 10%); color: darken($primary-color, 10%);
} }
// Make sure link buttons line up with the content correctly
&.pull-left { &.pull-left {
margin-left: 5px; margin-left: 5px;
@ -221,7 +211,7 @@
// Nav bars with Ratchicons // Nav bars with Ratchicons
// -------------------------------------------------- // --------------------------------------------------
.bar > .icon { .bar .icon {
position: relative; position: relative;
z-index: 20; // Position the buttons on top of .title z-index: 20; // Position the buttons on top of .title
font-size: 24px; font-size: 24px;

10
lib/sass/popovers.scss

@ -69,6 +69,16 @@
} }
// Popovers with nav bars
// --------------------------------------------------
.popover .bar-nav {
border-bottom: $border-default;
border-radius: 12px 12px 0 0;
@include box-shadow(none);
}
// Table views in popovers // Table views in popovers
// -------------------------------------------------- // --------------------------------------------------

Loading…
Cancel
Save