Browse Source

simplify

pull/253/head
connors 11 years ago
parent
commit
6c061ea2d3
  1. 12
      dist/ratchet.css
  2. 4
      lib/sass/badges.scss
  3. 4
      lib/sass/bars.scss
  4. 18
      lib/sass/buttons.scss
  5. 1
      lib/sass/push.scss
  6. 4
      lib/sass/toggles.scss

12
dist/ratchet.css vendored

@ -397,9 +397,6 @@ p {
-webkit-box-shadow: none;
box-shadow: none;
}
.popover .bar-nav .title + .btn:last-child {
right: 15px;
}
.card {
width: auto;
@ -714,7 +711,7 @@ input[type="button"] {
.bar-nav .btn.pull-left {
margin-right: 10px;
}
.bar-nav .btn-link {
.bar-nav .btn .btn-link {
padding: 0;
margin-top: 0;
font-size: 16px;
@ -723,7 +720,7 @@ input[type="button"] {
background-color: transparent;
border: none;
}
.bar-nav .btn-link:active, .bar-nav .btn-link.active {
.bar-nav .btn .btn-link:active, .bar-nav .btn .btn-link.active {
color: #3071a9;
}
@ -740,10 +737,11 @@ input[type="button"] {
.popover .btn-block:last-child {
margin-bottom: 0;
}
.popover .bar-nav .btn-link.pull-left {
.bar-nav .btn-link.pull-left {
margin-left: 5px;
}
.popover .bar-nav .btn-link.pull-right {
.bar-nav .btn-link.pull-right {
margin-right: 5px;
}

4
lib/sass/badges.scss

@ -85,8 +85,7 @@
}
// Ratchicons in table-views
.table-view {
.badge {
.table-view .badge {
margin-top: 2px;
&.pull-left {
@ -96,4 +95,3 @@
margin-left: 5px;
}
}
}

4
lib/sass/bars.scss

@ -130,8 +130,4 @@
border-bottom: $border-default;
border-radius: 12px 12px 0 0;
@include box-shadow(none);
.title + .btn:last-child {
right: 15px;
}
}

18
lib/sass/buttons.scss

@ -129,9 +129,7 @@ input[type="button"] {
// Buttons in nav bars
// --------------------------------------------------
.bar-nav {
// Generic style for all buttons in .bar-title
.btn {
.bar-nav .btn {
position: relative;
z-index: 10; // Position the buttons on top of .title
padding: 6px 12px;
@ -144,7 +142,6 @@ input[type="button"] {
&.pull-left {
margin-right: $bar-side-spacing;
}
}
// Link button (Buttons that look like links)
.btn-link {
@ -179,15 +176,13 @@ input[type="button"] {
// Block level buttons in popovers
// --------------------------------------------------
.popover {
.btn-block {
.popover .btn-block {
margin-bottom: 5px;
}
// Remove extra margin on bottom of last button
.btn-block:last-child {
&:last-child {
margin-bottom: 0;
}
}
// Line the button text up with content's text
.bar-nav .btn-link {
&.pull-left {
@ -197,12 +192,9 @@ input[type="button"] {
margin-right: 5px;
}
}
}
// Buttons in table-views
// --------------------------------------------------
.table-view {
.btn {
.table-view .btn {
margin-top: -1px; // Center the btn inside the cell
}
}

1
lib/sass/push.scss

@ -3,7 +3,6 @@
// --------------------------------------------------
.content {
// Fade animation
&.fade {
left: 0;

4
lib/sass/toggles.scss

@ -62,8 +62,6 @@
// Toggles in table-views
// --------------------------------------------------
.table-view {
.toggle {
.table-view .toggle {
margin-top: -4px; // Center the toggle inside the cell
}
}

Loading…
Cancel
Save