diff --git a/data/msfweb/app/views/layouts/msfweb.rhtml b/data/msfweb/app/views/layouts/msfweb.rhtml index c972e2ed0f..026d0e769b 100644 --- a/data/msfweb/app/views/layouts/msfweb.rhtml +++ b/data/msfweb/app/views/layouts/msfweb.rhtml @@ -11,19 +11,19 @@ <%= javascript_include_tag js %><% end %> <%= stylesheet_link_tag "msfweb" %> <%= stylesheet_link_tag "window-themes/default" %> - <%= stylesheet_link_tag "window-themes/mac_os_x" %> + <%= stylesheet_link_tag "window-themes/metasploit" %>
diff --git a/data/msfweb/public/javascripts/application.js b/data/msfweb/public/javascripts/application.js index c17780b345..9062dfb325 100644 --- a/data/msfweb/public/javascripts/application.js +++ b/data/msfweb/public/javascripts/application.js @@ -3,27 +3,49 @@ * All Rights Reserved. */ -/* http://alistapart.com/articles/dropdowns/ */ -function initialize_topmenu() { - if (document.all&&document.getElementById) { - navRoot = document.getElementById("topmenu"); - for (i=0; i + */ +.overlay_metasploit { + background-color: #85BBEF; + filter:alpha(opacity=60); + -moz-opacity: 0.6; + opacity: 0.6; +} + +.metasploit_nw { + background: transparent url(metasploit/titlebar-left-shaded-focused.png) no-repeat 0 0; + width:10px; + height:23px; +} +.metasploit_n { + background: transparent url(metasploit/titlebar-mid-shaded-focused.png) repeat-x 0 0; + height:23px; +} +.metasploit_ne { + background: transparent url(metasploit/titlebar-right-shaded-focused.png) no-repeat 0 0; + width:10px; + height:23px; +} +.metasploit_w { + background: transparent url(metasploit/frame-left-focused.png) repeat-y top left; + width:5px; +} + +.metasploit_e { + background: transparent url(metasploit/frame-right-focused.png) repeat-y top right; + width:5px; +} + +.metasploit_sw { + background: transparent url(metasploit/frame-bottom-left-focused.png) no-repeat 0 0; + width:5px; + height:5px; +} +.metasploit_s { + background: transparent url(metasploit/frame-bottom-mid-focused.png) repeat-x 0 0; + height:5px; +} +.metasploit_se, .metasploit_sizer { + background: transparent url(metasploit/frame-bottom-right-focused.png) no-repeat 0 0; + width:5px; + height:5px; +} + +.metasploit_sizer { + cursor:se-resize; +} + +.metasploit_close { + width: 26px; + height: 23px; + background: transparent url(metasploit/button-close-focused.png) no-repeat 0 0; + position:absolute; + top:0px; + right:5px; + cursor:pointer; + z-index:1000; +} + +.metasploit_minimize { + width: 26px; + height: 23px; + background: transparent url(metasploit/button-minimize-focused.png) no-repeat 0 0; + position:absolute; + top:0px; + right:26px; + cursor:pointer; + z-index:1000; +} + +.metasploit_maximize { + width: 26px; + height: 23px; + background: transparent url(metasploit/button-maximize-focused.png) no-repeat 0 0; + position:absolute; + top:0px; + right:47px; + cursor:pointer; + z-index:1000; +} + + +.metasploit_title { + float:left; + height:14px; + font-size:12px; + text-align:center; + margin-top:2px; + width:100%; + color:#FFF; +} + +.metasploit_content { + overflow:auto; + color: #444; + font-family: "MS Sans Serif", Arial, sans-serif; + font-size: 14px; + background:#ddd; +} + + +/* FOR IE */ +* html .metasploit_minimize { + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../themes/metasploit/button-minimize-focused.png", sizingMethod="crop"); +} + +* html .metasploit_maximize { + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../themes/metasploit/button-maximize-focused.png", sizingMethod="scale"); +} + +* html .metasploit_close { + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../themes/metasploit/button-close-focused.png", sizingMethod="crop"); +} diff --git a/data/msfweb/public/stylesheets/window-themes/metasploit/button-close-focused.png b/data/msfweb/public/stylesheets/window-themes/metasploit/button-close-focused.png new file mode 100755 index 0000000000..7f8eb47c83 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/metasploit/button-close-focused.png differ diff --git a/data/msfweb/public/stylesheets/window-themes/metasploit/button-maximize-focused.png b/data/msfweb/public/stylesheets/window-themes/metasploit/button-maximize-focused.png new file mode 100755 index 0000000000..11a7ee0a42 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/metasploit/button-maximize-focused.png differ diff --git a/data/msfweb/public/stylesheets/window-themes/metasploit/button-minimize-focused.png b/data/msfweb/public/stylesheets/window-themes/metasploit/button-minimize-focused.png new file mode 100755 index 0000000000..80bb2b5eb6 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/metasploit/button-minimize-focused.png differ diff --git a/data/msfweb/public/stylesheets/window-themes/metasploit/frame-bottom-left-focused.png b/data/msfweb/public/stylesheets/window-themes/metasploit/frame-bottom-left-focused.png new file mode 100755 index 0000000000..0b2b76bd10 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/metasploit/frame-bottom-left-focused.png differ diff --git a/data/msfweb/public/stylesheets/window-themes/metasploit/frame-bottom-mid-focused.png b/data/msfweb/public/stylesheets/window-themes/metasploit/frame-bottom-mid-focused.png new file mode 100755 index 0000000000..ffa314b7ae Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/metasploit/frame-bottom-mid-focused.png differ diff --git a/data/msfweb/public/stylesheets/window-themes/metasploit/frame-bottom-right-focused.png b/data/msfweb/public/stylesheets/window-themes/metasploit/frame-bottom-right-focused.png new file mode 100755 index 0000000000..4c9a10bb87 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/metasploit/frame-bottom-right-focused.png differ diff --git a/data/msfweb/public/stylesheets/window-themes/metasploit/frame-left-focused.png b/data/msfweb/public/stylesheets/window-themes/metasploit/frame-left-focused.png new file mode 100755 index 0000000000..667ec3fd64 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/metasploit/frame-left-focused.png differ diff --git a/data/msfweb/public/stylesheets/window-themes/metasploit/frame-right-focused.png b/data/msfweb/public/stylesheets/window-themes/metasploit/frame-right-focused.png new file mode 100755 index 0000000000..dc047c55e3 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/metasploit/frame-right-focused.png differ diff --git a/data/msfweb/public/stylesheets/window-themes/metasploit/titlebar-left-shaded-focused.png b/data/msfweb/public/stylesheets/window-themes/metasploit/titlebar-left-shaded-focused.png new file mode 100755 index 0000000000..597684a4da Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/metasploit/titlebar-left-shaded-focused.png differ diff --git a/data/msfweb/public/stylesheets/window-themes/metasploit/titlebar-mid-shaded-focused.png b/data/msfweb/public/stylesheets/window-themes/metasploit/titlebar-mid-shaded-focused.png new file mode 100755 index 0000000000..2db8ea1e50 Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/metasploit/titlebar-mid-shaded-focused.png differ diff --git a/data/msfweb/public/stylesheets/window-themes/metasploit/titlebar-right-shaded-focused.png b/data/msfweb/public/stylesheets/window-themes/metasploit/titlebar-right-shaded-focused.png new file mode 100755 index 0000000000..19bdeb795c Binary files /dev/null and b/data/msfweb/public/stylesheets/window-themes/metasploit/titlebar-right-shaded-focused.png differ