Permalink
Browse files

MINOR Moved "insert x" dialog styling from generic UploadField.scss t…

…o CMS-specific _style.scss
  • Loading branch information...
1 parent f0f6f1a commit 9009d43f632647a60db40e3fa55a18ccf1504c4a @chillu chillu committed Jun 11, 2012
Showing with 115 additions and 118 deletions.
  1. +19 −0 admin/css/screen.css
  2. +95 −0 admin/scss/_style.scss
  3. +1 −20 css/UploadField.css
  4. +0 −98 scss/UploadField.scss
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1429,6 +1429,101 @@ body.cms-dialog {
/** --------------------------------------------
* "Insert X" forms
* -------------------------------------------- */
+.htmleditorfield-dialog{
+ &.ui-dialog-content{
+ padding:0;
+ position:relative;
+ }
+
+ .cms-content-header{
+ padding:0;
+ width:100%;
+ height: 40px;
+ h3{
+ padding: 0 8px;
+ margin: 10px;
+ }
+ }
+ .ui-tabs{
+ position:static;
+ ul.ui-tabs-nav{
+ float:right;
+ position:absolute;
+ top:0;
+ right: 40px;
+ li{
+ @include background-image(
+ linear-gradient(#B0BEC7, #8CA1AE)
+ );
+ @include border-radius(0px);
+ padding-top: 10px;
+ height: 28px;
+ overflow:hidden;
+ font-weight:bold;
+ a{
+ color:#fff;
+ text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
+ }
+ &.ui-state-active{
+ background: #F0F3F4 url("../admin/images/textures/bg_cms_main_content.png") repeat left top;
+ a{
+ color:$color-text;
+ text-shadow: none;
+ }
+ }
+ }
+ }
+ .ui-tabs-panel{
+ padding:0;
+ }
+ }
+ .ss-insert-media, .Actions{
+ padding:$grid-y $grid-x*2 ;
+ }
+ .details{
+ .file-url{
+ display:block;
+ width:450px;
+ @include hide-text-overflow;
+ }
+ .cms-file-info{
+ .field{
+ border:none;
+ @include box-shadow(0 0 0 rgba(0, 0, 0, 0));
+ }
+ }
+ .field{
+ border-bottom: 1px solid $color-shadow-light;
+ @include box-shadow(0 1px 0 lighten($color-shadow-light, 95%));
+ &.last{
+ border-bottom:none;
+ @include box-shadow(0 0 0 rgba(0, 0, 0, 0));
+ margin-bottom:0;
+ }
+ }
+ .img-detail-group{
+ border-bottom: 1px solid $color-shadow-light;
+ @include box-shadow(0 1px 0 lighten($color-shadow-light, 95%));
+ margin: 0 0 8px 0;
+ .extraLabel{
+ display:block;
+ position:relative;
+ top: 0 - $grid-y;
+ margin-left:176px + $grid-y; //width of main label
+ color: #ccc;
+ color: rgba(#000, 0.5);
+ font-style:italic;
+ padding:0;
+ @include text-shadow(1px 1px 0 rgba($color-text-shadow, 0.7));
+ }
+ .field{
+ border-bottom:none;
+ @include box-shadow(0 0 0 rgba(0, 0, 0, 0));
+ }
+ }
+ }
+}
+
.htmleditorfield-linkform {
.step2 {
margin-bottom: $grid-x*2;
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -4,104 +4,6 @@
@import "../admin/scss/themes/default.scss";
@import "../admin/scss/_mixins";
-.htmleditorfield-dialog{
- &.ui-dialog-content{
- padding:0;
- position:relative;
- }
-
- .cms-content-header{
- padding:0;
- width:100%;
- height: 40px;
- h3{
- padding: 0 8px;
- margin: 10px;
- }
- }
- .ui-tabs{
- position:static;
- ul.ui-tabs-nav{
- float:right;
- position:absolute;
- top:0;
- right: 40px;
- li{
- @include background-image(
- linear-gradient(#B0BEC7, #8CA1AE)
- );
- @include border-radius(0px);
- padding-top: 10px;
- height: 28px;
- overflow:hidden;
- font-weight:bold;
- a{
- color:#fff;
- text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
- }
- &.ui-state-active{
- background: #F0F3F4 url("../admin/images/textures/bg_cms_main_content.png") repeat left top;
- a{
- color:$color-text;
- text-shadow: none;
- }
- }
- }
- }
- .ui-tabs-panel{
- padding:0;
- }
- }
- .ss-insert-media, .Actions{
- padding:$grid-y $grid-x*2 ;
- }
- .details{
-
- .file-url{
- display:block;
- width:450px;
- @include hide-text-overflow;
- }
-
-
- .cms-file-info{
- .field{
- border:none;
- @include box-shadow(0 0 0 rgba(0, 0, 0, 0));
- }
- }
- .field{
- border-bottom: 1px solid $color-shadow-light;
- @include box-shadow(0 1px 0 lighten($color-shadow-light, 95%));
- &.last{
- border-bottom:none;
- @include box-shadow(0 0 0 rgba(0, 0, 0, 0));
- margin-bottom:0;
- }
- }
- .img-detail-group{
- border-bottom: 1px solid $color-shadow-light;
- @include box-shadow(0 1px 0 lighten($color-shadow-light, 95%));
- margin: 0 0 8px 0;
- .extraLabel{
- display:block;
- position:relative;
- top: 0 - $grid-y;
- margin-left:176px + $grid-y; //width of main label
- color: #ccc;
- color: rgba(#000, 0.5);
- font-style:italic;
- padding:0;
- @include text-shadow(1px 1px 0 rgba($color-text-shadow, 0.7));
- }
- .field{
- border-bottom:none;
- @include box-shadow(0 0 0 rgba(0, 0, 0, 0));
- }
- }
- }
-}
-
.ss-uploadfield {
.clear {

0 comments on commit 9009d43

Please sign in to comment.