Skip to content

Commit

Permalink
MINOR Using SCSS/Compass for sapphire/css
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Jan 8, 2012
1 parent 9a1644f commit 9eac776
Show file tree
Hide file tree
Showing 34 changed files with 1,412 additions and 1,116 deletions.
4 changes: 3 additions & 1 deletion config.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@


# disable comments in the output. We want admin comments # disable comments in the output. We want admin comments
# to be verbose # to be verbose
line_comments = false line_comments = false

asset_cache_buster :none
15 changes: 3 additions & 12 deletions css/CheckboxSetField.css
100755 → 100644
Original file line number Original file line Diff line number Diff line change
@@ -1,12 +1,3 @@
#right form .CheckboxSetField ul{ #right form .CheckboxSetField ul { margin: 0; padding: 0; }
margin:0; #right form .CheckboxSetField ul li { list-style: none !important; margin: 0; padding: 0; }
padding:0; #right form .CheckboxSetField input { width: auto; }
}
#right form .CheckboxSetField ul li{
list-style:none !important;
margin:0;
padding:0;
}
#right form .CheckboxSetField input{
width:auto;
}
23 changes: 2 additions & 21 deletions css/CodeViewer.css
100755 → 100644
Original file line number Original file line Diff line number Diff line change
@@ -1,22 +1,3 @@
pre { pre { border: 1px #777 solid; background-color: #CCC; color: #333; margin: 0.5em 2em; padding: 1em; line-height: 120%; }
border: 1px #777 solid;
background-color: #CCC;
color: #333;
margin: 0.5em 2em;
padding: 1em;
line-height: 120%;
}


pre strong { pre strong { background-color: #FFC; color: #000; padding: 2px; }
background-color: #FFC;
color: #000;
padding: 2px;
}

.T_VARIABLE {

}

.T_NEW {

}
34 changes: 4 additions & 30 deletions css/ComplexTableField.css
100755 → 100644
Original file line number Original file line Diff line number Diff line change
@@ -1,32 +1,6 @@
#GB_header {
position: absolute;
z-index: 151;
margin: 0;
top: 0;
font-size : 14px;
font-weight : bold;
height : 22px !important;
}

#GB_window {
border: 0;
}

#GB_close {
padding: 2px 5px 0 0;
float: right;
font-size: 11px;
}

/* table */ /* table */
.ComplexTableField { .ComplexTableField { margin-bottom: 10px; }
margin-bottom: 10px; .ComplexTableField tbody td { cursor: pointer; }
} .ComplexTableField tbody td.markingcheckbox { cursor: default; }

.ComplexTableField tbody td {
cursor: pointer;
}


.ComplexTableField tbody td.markingcheckbox { .ui-dialog .ctf-dialog.ui-dialog-content { padding-right: 0; /* scrollbars */ }
cursor: default;
}
161 changes: 26 additions & 135 deletions css/ComplexTableField_popup.css
100755 → 100644
Original file line number Original file line Diff line number Diff line change
@@ -1,144 +1,35 @@
html { html { overflow-y: auto !important; }
overflow-y: auto !important;
}
body {
height: 100%;
}


#ComplexTableField_Popup_DetailForm input.loading { body { height: 100%; }
background: #fff url(../images/network-save.gif) left center no-repeat;
padding-left: 16px;
}


.PageControls { #ComplexTableField_Popup_DetailForm input.loading { background: white url(../images/network-save.gif) left center no-repeat; padding-left: 16px; }
padding: 5px;
width: 100%;
}


.PageControls * { .PageControls { padding: 5px; width: 100%; }
vertical-align: middle; .PageControls * { vertical-align: middle; }
} .PageControls .Left { width: 33%; }
.PageControls .Count { width: 33%; text-align: center; }
.PageControls .Right { width: 33%; text-align: right; }


.PageControls .Left { .ComplexTableField_Popup td.hidden { display: none; }
width: 33%; .ComplexTableField_Popup th.HiddenField { display: none; }
} .ComplexTableField_Popup span.right { float: right; clear: none; }
.ComplexTableField_Popup span.left { float: left; clear: none; }
.ComplexTableField_Popup form p.checkbox input { margin: 0pt 1px; }
.ComplexTableField_Popup form ul.optionset { margin: 0; padding: 0; }
.ComplexTableField_Popup form ul.optionset li { margin: 4px 0; }
.ComplexTableField_Popup form div.Actions input { font-size: 11px; margin-top: 10px; }


.PageControls .Count { /* Pagination */
width: 33%; #ComplexTableField_Pagination, #ComplexTableField_Pagination * { vertical-align: middle; }
text-align: center;
}


.PageControls .Right { #ComplexTableField_Pagination { margin-top: 10px; margin-left: auto; margin-right: auto; font-size: 11px; }
width: 33%; #ComplexTableField_Pagination a { /*font-size: 1.2em;*/ font-size: 13px; font-weight: bold; text-decoration: none; width: 1px; height: 1px; margin: 1px; }
text-align: right; #ComplexTableField_Pagination a:hover { background: none; }
} #ComplexTableField_Pagination span { display: inline; font-weight: bold; font-size: 15px; color: #f00; }
#ComplexTableField_Pagination div { display: inline; }


form { #ComplexTableField_Pagination_Previous { padding-right: 10px; }
margin: 0 !important;
}


form fieldset { #ComplexTableField_Pagination_Next { padding-left: 10px; }
border: 0 !important;
}


/* IE6 hack */ #ComplexTableField_Pagination_Next img, #ComplexTableField_Pagination_Previous img { margin: 0 3px 2px; }
* html body,
* html .ComplexTableField_Popup form .middleColumn span,
* html .ComplexTableField_Popup form .middleColumn *,
* html .ComplexTableField_Popup form .readonly .readonly {
width: 90%;
}
* html .autocomplete {
display: none;
}

.ComplexTableField_Popup td.hidden {
display: none;
}

.ComplexTableField_Popup th.HiddenField{
display: none;
}

.ComplexTableField_Popup span.right{
float: right;
clear: none;
}
.ComplexTableField_Popup span.left{
float: left;
clear: none;
}

.right.ComplexTableField_Popup form textarea,
.right.ComplexTableField_Popup form input.text,
.right.ComplexTableField_Popup form textarea.htmleditor {
width: 98.3%;
}

.right.ComplexTableField_Popup form h2 {
line-height: normal;
}

.ComplexTableField_Popup form p.checkbox input {
margin:0pt 1px;
}
.ComplexTableField_Popup form ul.optionset {
margin: 0;
padding: 0;
}
.ComplexTableField_Popup form ul.optionset li {
margin: 4px 0;
}

.right.ComplexTableField_Popup form div.Actions input {
font-size: 11px;
margin-top: 10px;
}

/* Pagination */
#ComplexTableField_Pagination,
#ComplexTableField_Pagination * {
vertical-align: middle;
}

#ComplexTableField_Pagination {
margin-top: 10px;
margin-left: auto;
margin-right: auto;
font-size: 11px;
}

#ComplexTableField_Pagination a {
/*font-size: 1.2em;*/
font-size: 13px;
font-weight: bold;
text-decoration: none;
width: 1px;
height: 1px;
margin: 1px;
}

#ComplexTableField_Pagination a:hover {
background: none;
}

#ComplexTableField_Pagination span {
display: inline;
font-weight: bold;
font-size: 15px;
color: #f00;
}

#ComplexTableField_Pagination div {
display: inline;
}

#ComplexTableField_Pagination_Previous {
padding-right: 10px;
}
#ComplexTableField_Pagination_Next {
padding-left: 10px;
}
#ComplexTableField_Pagination_Next img,#ComplexTableField_Pagination_Previous img {
margin: 0 3px 2px;
}
5 changes: 1 addition & 4 deletions css/ConfirmedPasswordField.css
100755 → 100644
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1 @@
.confirmedpassword .showOnClickContainer { .confirmedpassword .showOnClickContainer { /* used to hide a container by-default when loading it so there is no "flash" as the content loads */ display: none; }
/* used to hide a container by-default when loading it so there is no "flash" as the content loads */
display:none;
}
15 changes: 3 additions & 12 deletions css/DatetimeField.css
100755 → 100644
Original file line number Original file line Diff line number Diff line change
@@ -1,14 +1,5 @@
.datetime .middleColumn .middleColumn { .datetime .middleColumn .middleColumn { margin: 0; padding: 0; clear: none; float: left; }
margin: 0;
padding: 0;
clear: none;
float: left;
}


.datetime .date .middleColumn { .datetime .date .middleColumn { width: 20em; }
width: 20em;
}


.datetime .time .middleColumn { .datetime .time .middleColumn { width: 10em; }
width: 10em;
}
Loading

0 comments on commit 9eac776

Please sign in to comment.