Skip to content

Commit

Permalink
Fresh new GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas von Deyen committed Oct 27, 2011
1 parent 1dbebc8 commit 0260d4e
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 67 deletions.
1 change: 0 additions & 1 deletion app/views/layouts/alchemy.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
</div>
</div>
<%#= overlay end %>
<div id="corner"></div>
<div id="main_menu">
<div id="main_navi">
<%= yield(:navigation) %>
Expand Down
1 change: 0 additions & 1 deletion app/views/layouts/login.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
</div>
</div>
<%#= overlay end %>
<div id="corner"></div>
<div id="main_menu">
<div id="main_navi">
<%= yield(:navigation) %>
Expand Down
10 changes: 5 additions & 5 deletions assets/javascripts/alchemy.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ if (typeof(Alchemy) === 'undefined') {
Alchemy.PreviewWindow = $iframe.dialog({
modal: false,
title: title,
width: $(window).width() - 512,
height: $(window).height() - 94,
width: $(window).width() - 504,
height: $(window).height() - 90,
minWidth: 600,
minHeight: 300,
show: "fade",
hide: "fade",
position: [73, 84],
position: [70, 84],
autoResize: true,
closeOnEscape: false,
create: function() {
Expand Down Expand Up @@ -192,11 +192,11 @@ if (typeof(Alchemy) === 'undefined') {
modal: false,
minWidth: 422,
minHeight: 300,
height: $(window).height() - 94,
height: $(window).height() - 90,
title: options.texts.title,
show: "fade",
hide: "fade",
position: [$(window).width() - 432, 84],
position: [$(window).width() - 428, 84],
closeOnEscape: false,
create: function() {
$dialog.before(Alchemy.createElementWindowToolbar(options.toolbarButtons));
Expand Down
76 changes: 30 additions & 46 deletions assets/stylesheets/alchemy.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* @override http://localhost:3000/stylesheets/alchemy/alchemy.css */

/* @override http://localhost:3000/stylesheets/alchemy/alchemy.css */
/* @override
http://localhost:3000/stylesheets/alchemy/alchemy.css
*/

html {
height: 100%;
Expand Down Expand Up @@ -307,17 +307,6 @@ div#overlay_text_box img {

/* @group top_frame */

#corner {
z-index: 15;
width: 65px;
height: 16px;
position: fixed;
left: 0;
top: 0;
background: url(/images/alchemy/gui/shading.png) repeat-x 0 -2px;
font-size: 0;
}

#preview_frame {
background-color: white;
width: 100%;
Expand All @@ -336,21 +325,22 @@ div#top_menu {

#main_menu {
white-space: nowrap;
z-index: 5;
z-index: 2;
height: 100%;
position: fixed;
top: 0;
left: 0;
width: 65px;
overflow: hidden;
border-right: 1px solid #afafaf;
}

#main_menu_background {
height: 100%;
background: #b2ccdb url(/images/alchemy/gui/shading_90.png) repeat-y -15px;
background: #c6dbe7;
width: 65px;
z-index: 0;
position: absolute;
width: 65px;
}

#logout {
Expand Down Expand Up @@ -765,8 +755,8 @@ div.tip {
#sub_navigation {
height: 22px;
line-height: 23px;
padding-left: 8px;
background: #b2ccdb url(/images/alchemy/gui/shading.png) repeat-x 0 -2px;
padding-left: 5px;
background: #c6dbe7;
border-bottom: 1px solid #afafaf;
padding-top: 4px;
z-index: 5;
Expand Down Expand Up @@ -810,10 +800,6 @@ div.tip {
border: 1px solid #afafaf;
border-bottom-style: none;
height: 22px;
-webkit-box-shadow: 2px 0px 4px rgba(0, 3, 51, 0.2);
-moz-box-shadow: 2px 0px 4px rgba(0, 3, 51, 0.2);
-o-box-shadow: 2px 0px 4px rgba(0, 3, 51, 0.2);
box-shadow: 2px 0px 4px rgba(0, 3, 51, 0.2);
}

#sub_navigation span.page_status_and_name .flag {
Expand Down Expand Up @@ -884,10 +870,6 @@ div.tip {
user-select: none;
cursor: default;
z-index: 10;
-webkit-box-shadow: 2px 0px 4px rgba(0, 3, 51, 0.2);
-moz-box-shadow: 2px 0px 4px rgba(0, 3, 51, 0.2);
-o-box-shadow: 2px 0px 4px rgba(0, 3, 51, 0.2);
box-shadow: 2px 0px 4px rgba(0, 3, 51, 0.2);
}

#sub_navigation a:hover {
Expand All @@ -902,7 +884,7 @@ div.tip {

#main_navi {
padding-left: 4px;
padding-top: 26px;
padding-top: 25px;
position: absolute;
z-index: 1;
}
Expand All @@ -915,31 +897,31 @@ div.tip {
}

#main_navi a.main_navi_entry {
color: #555;
color: #444;
position: relative;
text-align: center;
overflow: hidden;
display: block;
width: 60px;
background: #cdcdcd;
padding-top: 6px;
padding-top: 7px;
-webkit-border-top-left-radius: 3px 3px;
-webkit-border-bottom-left-radius: 3px 3px;
-moz-border-radius: 3px 0px 0px 3px;
-o-border-radius: 3px 0px 0px 3px;
border-radius: 3px 0px 0px 3px;
margin-bottom: 1px;
margin-top: 0;
border: 1px solid #afafaf;
margin-top: 1px;
border: 1px none #afafaf;
border-right-style: none;
padding-bottom: 4px;
padding-bottom: 5px;
text-shadow: #fff 0 0px 4px;
padding-left: 1px;
width: 60px;
}

#main_navi a.main_navi_entry:hover {
cursor: pointer;
text-decoration: none;
background: #d8d8d8;
color: #333;
}

#main_navi a.main_navi_entry img {
Expand All @@ -952,14 +934,15 @@ div.tip {
}

#main_navi a.main_navi_entry.active {
background: #ededed;
background: #baced9;
color: #333;
cursor: default;
text-shadow: #fff 0 1px 2px;
-webkit-box-shadow: 0px 2px 4px rgba(0, 3, 51, 0.2);
-moz-box-shadow: 0px 2px 4px rgba(0, 3, 51, 0.2);
-o-box-shadow: 0px 2px 4px rgba(0, 3, 51, 0.2);
box-shadow: 0px 2px 4px rgba(0, 3, 51, 0.2);
border: 1px solid #afafaf;
padding-left: 0;
border-right-style: none;
padding-top: 6px;
padding-bottom: 4px;
}

#main_navi #active img {
Expand Down Expand Up @@ -1372,7 +1355,7 @@ div#user_list_legend {
-o-border-radius: 0 0 0 3px;
border-radius: 0 0 0 3px;
position: relative;
margin-left: 8px;
margin-left: 5px;
}

#toolbar form {
Expand Down Expand Up @@ -2198,16 +2181,18 @@ textarea.thin_border {

.thin_border,
.input_field {
font-size: 12px;
padding: 3px 4px 2px;
margin: 0;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
background: #fff;
border: 1px inset #e5e5e5;
width: 210px;
height: 25px;
font-size: 12px;
line-height: 19px;
height: 27px;
padding-left: 4px;
padding-right: 4px;
}

.thin_border.dirty {
Expand Down Expand Up @@ -3376,7 +3361,6 @@ div.assign_file_file_icon img {
table.window_form td.input {
padding-top: 2px;
padding-bottom: 2px;
padding-right: 10px;
}

#alchemy .ui-dialog-content p {
Expand Down
4 changes: 2 additions & 2 deletions assets/stylesheets/elements.css
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ div#cells {

div#element_area .sortable_cell {
min-height: 100px;
padding: 8px;
padding: 8px 8px 2px;
}

.new_alchemy_element span {
Expand Down Expand Up @@ -686,7 +686,7 @@ div.content_editor.missing p span.icon.warning {
}

#alchemy .ui-dialog-content div.content_editor input.auto_resize {
width: 97%;
width: 100%;
}

div.content_editor.validation_failed label {
Expand Down
15 changes: 3 additions & 12 deletions assets/stylesheets/jquery-ui-1.8.7.alchemy.css
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,6 @@
font-size: 1em;
}

#alchemy .ui-widget input, #alchemy .ui-widget select, #alchemy .ui-widget textarea, #alchemy .ui-widget button {
font-family: Lucida Grande, Lucida Sans, Arial, sans-serif;
font-size: 1em;
}

#alchemy .ui-widget-content {
border: 1px solid #afafaf;
background-color: #ededed;
Expand All @@ -144,7 +139,7 @@

#alchemy .ui-widget-header {
border: 1px none #afafaf;
background: #c6dbe7 url(/images/alchemy/gui/shading.png) repeat-x 50% -66px;
background: #c6dbe7;
color: #333333;
font-weight: bold;
-moz-border-radius-bottomleft: 0 !important;
Expand Down Expand Up @@ -1083,8 +1078,8 @@
/* Overlays */

#alchemy .ui-widget-overlay {
background-color: rgba(255,255,255,0.6);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#60FFFFFF, endColorstr=#60FFFFFF);
background-color: rgba(229,229,229,0.4);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#40E5E5E5, endColorstr=#40E5E5E5);
}

#alchemy .ui-widget-shadow {
Expand Down Expand Up @@ -1474,10 +1469,6 @@ button.ui-button::-moz-focus-inner {
width: 300px;
overflow: hidden;
padding: 0;
-webkit-box-shadow: 0px 0px 8px rgba(0, 3, 51, 0.2);
-moz-box-shadow: 0px 0px 8px rgba(0, 3, 51, 0.2);
-o-box-shadow: 0px 0px 8px rgba(0, 3, 51, 0.2);
box-shadow: 0px 0px 8px rgba(0, 3, 51, 0.2);
}

#alchemy .ui-dialog .ui-dialog-titlebar {
Expand Down

0 comments on commit 0260d4e

Please sign in to comment.