Permalink
Browse files

MINOR CSS styles for tree and misc. form elements

  • Loading branch information...
Silverstriper authored and chillu committed Jun 25, 2011
1 parent 803a3d9 commit ed449ee03d307996ead9f4b95ab553c03cbd90cd
View

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
@@ -100,41 +100,41 @@ input.ui-state-default.loading, .ui-widget-content input.ui-state-default.loadin
padding: 5px 7px 5px 23px;
color: $color-text-light;
border-color: $color-button-constructive-border;
- background: image-url("../images/btn_icons_sprite.png") no-repeat 5px 6px,
+ @include background(image-url("../images/btn_icons_sprite.png") no-repeat 5px 6px,
linear-gradient(color-stops(
$color-button-constructive-light,
$color-button-constructive-dark
- )
+ ))
);
@include text-shadow(darken($color-base, 40%) 1px 1px 0);
@include box-shadow(darken($color-base, 20%) 1px 1px 2px);
}
.ss-ui-button.ss-ui-action-constructive.ui-state-hover {
- background: image-url("../images/btn_icons_sprite.png") no-repeat 5px 6px,
+ @include background(image-url("../images/btn_icons_sprite.png") no-repeat 5px 6px,
linear-gradient(color-stops(
darken($color-button-constructive-light, 2%),
darken($color-button-constructive-dark, 3%)
- )
+ ))
);
@include box-shadow(darken($color-base, 10%) 1px 1px 1px);
}
.ss-ui-button.ss-ui-action-constructive.cms-page-add-button {
- background: image-url("../images/btn_icons_sprite.png") no-repeat 5px -155px,
+ @include background(image-url("../images/btn_icons_sprite.png") no-repeat 5px -155px,
linear-gradient(color-stops(
$color-button-constructive-light,
$color-button-constructive-dark
- )
+ ))
);
}
.ss-ui-button.ss-ui-action-constructive.cms-page-add-button.ui-state-hover {
- background: image-url("../images/btn_icons_sprite.png") no-repeat 5px -155px,
+ @include background(image-url("../images/btn_icons_sprite.png") no-repeat 5px -155px,
linear-gradient(color-stops(
darken($color-button-constructive-light, 2%),
darken($color-button-constructive-dark, 3%)
- )
+ ))
);
@include box-shadow(darken($color-base, 10%) 1px 1px 1px);
}
@@ -149,22 +149,22 @@ input.ui-state-default.loading, .ui-widget-content input.ui-state-default.loadin
padding: 5px 7px 5px 23px;
color: $color-button-destructive;
border-color: $color-button-generic-border;
- background: image-url("../images/btn_icons_sprite.png") no-repeat 5px -26px,
+ @include background(image-url("../images/btn_icons_sprite.png") no-repeat 5px -26px,
linear-gradient(color-stops(
$color-button-generic-light,
$color-button-generic-dark
- )
+ ))
);
@include text-shadow(none);
@include box-shadow(darken($color-base, 2%) 1px 1px 2px);
}
.ss-ui-button.ss-ui-action-destructive.delete.ui-state-hover {
- background: image-url("../images/btn_icons_sprite.png") no-repeat 5px -26px,
+ @include background(image-url("../images/btn_icons_sprite.png") no-repeat 5px -26px,
linear-gradient(color-stops(
darken($color-button-generic-light, 2%),
darken($color-button-generic-dark, 3%)
- )
+ ))
);
@include box-shadow(darken($color-base, 10%) 1px 1px 1px);
}
View
@@ -104,10 +104,6 @@
//@include sprite-position(1, 1);
}
- &:hover .icon {
- @include sprite-position(2, 1);
- }
-
.text {
display: block;
}
@@ -130,28 +126,12 @@
border-top: 1px solid darken($color-menu-button, 20%);
}
- a .icon {
- @include sprite-position(2, 1);
- }
- }
-
- ul {
- display: none;
- }
-
- &.opened ul {
- display: block;
- }
-
- // nested elements
- li {
-
li {
background-color: darken($color-menu-button, 10%);
a {
font-size: $font-base-size - 1;
- padding: 0 10px 0 48px;
+ padding: 0 10px 0 36px;
height: 32px;
line-height: 32px;
color: lighten($color-menu-button, 45%);
View
@@ -356,7 +356,7 @@ strong {
@include clearfix;
& > * {
- display: inline-block;
+ float: left;
}
.cms-tree-view-modes * {
Oops, something went wrong.

0 comments on commit ed449ee

Please sign in to comment.