Author: carlucci
Date: Wed May 23 17:13:23 2012
New Revision: 1341954

URL: http://svn.apache.org/viewvc?rev=1341954&view=rev
Log:
RAVE-606: Factor out "old" css files.  Patch submitted by Stan Drozdetski

Added:
    rave/trunk/rave-portal-resources/src/main/webapp/css/rave-css.less
Removed:
    rave/trunk/rave-portal-resources/src/main/webapp/css/default.css
    rave/trunk/rave-portal-resources/src/main/webapp/css/rave.css
Modified:
    rave/trunk/rave-portal-resources/pom.xml
    rave/trunk/rave-portal-resources/src/main/resources/wro.xml
    rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/tags/navbar.tag
    rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/tags/rave_css.tag
    rave/trunk/rave-portal-resources/src/main/webapp/css/rave.less

Modified: rave/trunk/rave-portal-resources/pom.xml
URL: 
http://svn.apache.org/viewvc/rave/trunk/rave-portal-resources/pom.xml?rev=1341954&r1=1341953&r2=1341954&view=diff
==============================================================================
--- rave/trunk/rave-portal-resources/pom.xml (original)
+++ rave/trunk/rave-portal-resources/pom.xml Wed May 23 17:13:23 2012
@@ -146,7 +146,7 @@
                     <!-- wro.xml defines the resource groups -->
                     <wroFile>${basedir}/src/main/resources/wro.xml</wroFile>
                     <!-- targetGroups is the set of resource groups, defined 
in wro.xml, that you want to process -->
-                    <targetGroups>rave_all.min,rave_css</targetGroups>
+                    <targetGroups>rave_all.min,rave</targetGroups>
                     <!-- minimize instructs the processors to handle their 
minimization work -->
                     <minimize>true</minimize>
                     <!-- location of the javascript after processing -->

Modified: rave/trunk/rave-portal-resources/src/main/resources/wro.xml
URL: 
http://svn.apache.org/viewvc/rave/trunk/rave-portal-resources/src/main/resources/wro.xml?rev=1341954&r1=1341953&r2=1341954&view=diff
==============================================================================
--- rave/trunk/rave-portal-resources/src/main/resources/wro.xml (original)
+++ rave/trunk/rave-portal-resources/src/main/resources/wro.xml Wed May 23 
17:13:23 2012
@@ -23,7 +23,7 @@ under the License.
         <js>/script/*.js</js>
     </group>
     <!-- defines a wro4j group called rave_css which represents the rave less 
file -->
-       <group name="rave_css">
+       <group name="rave">
         <css>/css/rave.less</css>
     </group>
 </groups>
\ No newline at end of file

Modified: 
rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/tags/navbar.tag
URL: 
http://svn.apache.org/viewvc/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/tags/navbar.tag?rev=1341954&r1=1341953&r2=1341954&view=diff
==============================================================================
--- rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/tags/navbar.tag 
(original)
+++ rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/tags/navbar.tag 
Wed May 23 17:13:23 2012
@@ -23,7 +23,7 @@
 <%@ attribute name="pageTitle" required="false" description="The title of the 
page" %>
 <fmt:setBundle basename="messages"/>
 <c:if test="${not empty topnav}">
-    <div class="navbar navbar-fixed-top">
+    <div class="navbar">
         <div class="navbar-inner">
             <div class="container">
                 <%--@elvariable id="topnav" 
type="org.apache.rave.portal.web.model.NavigationMenu"--%>

Modified: 
rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/tags/rave_css.tag
URL: 
http://svn.apache.org/viewvc/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/tags/rave_css.tag?rev=1341954&r1=1341953&r2=1341954&view=diff
==============================================================================
--- rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/tags/rave_css.tag 
(original)
+++ rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/tags/rave_css.tag 
Wed May 23 17:13:23 2012
@@ -19,4 +19,4 @@
 --%>
 <%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %>
 <rave:third_party_css />
-<link rel="stylesheet" href="<c:url value="/css/rave_css.css" />"/>
\ No newline at end of file
+<link rel="stylesheet" href="<c:url value="/css/rave.css" />"/>
\ No newline at end of file

Added: rave/trunk/rave-portal-resources/src/main/webapp/css/rave-css.less
URL: 
http://svn.apache.org/viewvc/rave/trunk/rave-portal-resources/src/main/webapp/css/rave-css.less?rev=1341954&view=auto
==============================================================================
--- rave/trunk/rave-portal-resources/src/main/webapp/css/rave-css.less (added)
+++ rave/trunk/rave-portal-resources/src/main/webapp/css/rave-css.less Wed May 
23 17:13:23 2012
@@ -0,0 +1,1022 @@
+/* general-use styles */
+.hidden {
+    display: none;
+}
+
+/* content */
+#content {
+    background-color: transparent;
+    padding: 0 20px;
+    width: 90%;
+    margin: 1em auto 0;
+    min-height: 800px;
+}
+
+#content p {
+    margin: 1em 0;
+}
+
+#personProfileContent {
+    background-color: transparent;
+    padding: 0 20px;
+    width: 90%;
+    margin: 1em auto 0;
+}
+
+.person-profile-page-content {
+    background: none !important;
+}
+
+#person-profile-left {
+    float: left;
+    width: 65%;
+    margin-right: 5px;
+}
+
+#person-profile-right {
+    float: left;
+    width: 33%;
+}
+
+/* widgets */
+.widget {
+    padding: 5px;
+    background-color: white;
+    border-radius: 0 0 5px 5px;
+    height: 100%;
+}
+
+.widget-mobile {
+    box-shadow: none;
+    border-radius: 0 0 0 0;
+    padding: 0;
+}
+
+.widget-wrapper-transitional {
+    position: absolute;
+    z-index: 1000;
+    left: 0.25%;
+    top: 51px;
+}
+
+.widget-wrapper-canvas {
+    position: absolute;
+    z-index: 1000;
+    left: 0.25%;
+    top: 72px;
+    width: 99.5%;
+    height: 100%;
+    opacity: 1;
+    vertical-align: top;
+}
+
+.widget-wrapper {
+    vertical-align: top;
+    margin-bottom: 20px;
+    /* prevents adjusting of other gadgets when gadget is being dragged */
+    border: 1px solid #cfcfcf;
+    border-radius: 5px;
+       .box-shadow(1px 1px 3px rgba(0,0,0,.25));
+}
+
+.widget-wrapper-hidechrome {
+    border: none !important;
+    border-radius: 0px !important;
+    box-shadow: none !important;
+    -webkit-box-shadow: none !important;
+    -moz-box-shadow: none !important;
+}
+
+.widget-wrapper-mobile {
+    margin-bottom: 3px;
+}
+
+.widget-title-bar {
+    color: #333333;
+    text-align: center;
+    vertical-align: middle;
+    background-color: #f5f5f5;
+    background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
+    background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
+    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), 
to(#e6e6e6));
+    background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
+    background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
+    background-image: linear-gradient(top, #ffffff, #e6e6e6);
+    background-repeat: repeat-x;
+    filter: 
progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', 
endColorstr='#e6e6e6', GradientType=0);
+    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
+    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
+    filter: progid:dximagetransform.microsoft.gradient(enabled=false);
+    border-radius: 5px 5px 0 0;
+    padding: 4px 10px 4px;
+
+}
+
+.widget-title-bar:hover {
+    cursor: move;
+}
+
+.widget-title-bar-locked:hover {
+    cursor: default !important;
+}
+
+.widget-title-bar-mobile {
+    border-radius: 0;
+    line-height: 2.5em;
+}
+
+.widget-title-bar-mobile:hover {
+    cursor: pointer;
+}
+
+.widget-title {
+    display: inline;
+}
+
+.widget-title a {
+    background: none;
+    color: #ffffff;
+    text-decoration: none;
+}
+
+.widget-title a:hover {
+    text-decoration: underline;
+}
+
+.widget-disabled-icon {
+    float: right;
+    cursor: default;
+}
+
+.widget-disabled-icon-store {
+    cursor: default;
+    display: inline-block;
+    vertical-align: middle;
+}
+
+/* widget preferences */
+.widget-prefs {
+    border: 1px solid #D3D3D3;
+    background-color: white;
+    display: none;
+}
+
+.widget-prefs-required-text {
+    font-size: 0.8em;
+    margin-top: 5px;
+    margin-bottom: 5px;
+}
+
+.widget-prefs-label {
+    vertical-align: top;
+    font-size: 0.8em;
+    text-align: right;
+}
+
+.widget-prefs-input {
+    font-family: Arial, Helvetica, sans-serif;
+    font-size: 0.8em;
+}
+
+.widget-prefs-input-failed-validation {
+    background-color: yellow;
+}
+
+/* layout */
+.navbar {
+    margin-bottom: 18px;
+}
+
+.regions {
+    width: 98%;
+    margin: 1em auto;
+}
+
+.region {
+    float: left;
+    display: block;
+    padding: 5px 0;
+    margin-right: 20px;
+    width: auto;
+    height: 100%;
+}
+
+.widgetRow {
+    display: inline;
+    margin-bottom: 5px;
+}
+
+.region-mobile {
+    display: block;
+    width: 100%;
+    padding: 0;
+    margin-right: 0;
+    float: none;
+}
+
+.regionDragging {
+    border: 1px solid black;
+}
+
+.region.regionNonDragging{
+       border: 1px solid transparent;
+}
+
+.columns_1_1 {
+    width: 90%;
+}
+
+.columns_2_1, .columns_2_2 {
+    width: 45%;
+}
+
+.columns_2wn_1 {
+    width: 60%;
+}
+
+.columns_2wn_2 {
+    width: 30%;
+}
+
+.columns_3_1, .columns_3_2, .columns_3_3 {
+    width: 30%
+}
+
+.columns_3nwn_1, .columns_3nwn_3 {
+    width: 22%;
+}
+
+.columns_3nwn_2 {
+    width: 45%;
+}
+
+.columns_4_1, .columns_4_2, .columns_4_3, .columns_4_4 {
+    width: 22%;
+}
+
+.columns_3nwn_1_bottom_1, .columns_3nwn_1_bottom_3 {
+    width: 22%;
+}
+
+.columns_3nwn_1_bottom_2 {
+    width: 45%;
+}
+
+.columns_3nwn_1_bottom_4 {
+    width: 93%;
+    clear: both;
+}
+
+.columns_2_2, .columns_3_3, .columns_3nwn_3, .columns_4_4, 
.columns_3nwn_1_bottom_3, .columns_3nwn_1_bottom_4, .person_profile_2 {
+    margin-right: 0;
+}
+
+.columns_3_newuser_1, .columns_3_newuser_2 {
+    width: 46%;
+}
+
+.columns_3_newuser_3 {
+    width: 93%;
+    clear: both;
+}
+
+.columns_3_newuser_static {
+    float: left;
+    height: 100%;
+    margin-right: 5px;
+    width: 30%;
+}
+
+.columns_3_newuser_static ul {
+    margin-top: 15px;
+}
+
+.columns_3_newuser_static ul li {
+    margin-left: 20px;
+}
+
+.columns_3_newuser_widgets {
+    float: left;
+    width: 65%;
+}
+
+.columns_3_newuser_subtitle {
+    display: inline-block;
+    width: 100%;
+    text-align: center;
+}
+
+.person_profile_1 {
+    width: 97%;
+}
+
+.storeSearch {
+    float: right;
+    width: 225px;
+    padding: 1em;
+}
+
+.storeBox {
+    margin-right: 275px;
+    padding: 1em;
+}
+
+.storeSearch form p {
+    margin: 0;
+}
+
+#storeWidgetDetail {
+    width: 100%;
+}
+
+.storeItem {
+    border: 1px solid #ddd;
+    margin: 1em auto;
+    padding: 10px;
+    background-color: #f9f9f9;
+    color: black;
+    border-radius: 5px;
+    box-shadow: 2px 2px 3px rgba(0,0,0,0.4);
+    -moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.4);
+    -webkit-box-shadow: 2px 2px 4px rgba(0,0,0,0.4);
+}
+
+.storeItemFeatured {
+    background-color: #D5EAF9;
+}
+
+.widget-users-dialog {
+    height: 200px;
+}
+
+.widget-users {
+    list-style-type: none;
+}
+
+.widget-content {
+    width: 80%;
+    margin: 0 auto;
+    padding: 1em 1%;
+    max-width: 960px;
+}
+
+.detailWidgetInfo {
+    margin: 0 30% 0 0;
+}
+
+.detailWidgetPreview {
+    width: 28%;
+    margin: 0 0 1em 2%;
+    float: right;
+}
+.detail-widget {
+       padding-top: 20px;
+}
+.detail-widget-preview {
+    text-align: center;
+       padding-top: 5px;
+}
+.detail-widget-preview img{
+    margin-bottom: 15px;
+}
+.detail-widget-main > .row-fluid{
+    margin-bottom: 20px;
+}
+
+.detail-widget-tags {
+    margin-bottom: 20px;
+}
+.detail-widget-tags .label{
+    width: auto;
+    float: none;
+    display: inline;
+}
+.detailWidgetScreenshot img, .detailWidgetThumbnail img {
+    max-width: 100%;
+    margin-bottom: 1em;
+}
+.widgetTags .form-inline label{
+    display:block;
+    font-weight: bold;
+}
+.detailWidgetThumbnail {
+    display: none;
+}
+
+.new-comment {
+    margin: 1em 0;
+}
+
+.new-comment textarea {
+    max-width: 95%;
+}
+
+#editComment-dialog textarea {
+       width: 98%;
+}
+
+ul.comments{
+    margin-left: 0;
+}
+.comment {
+    margin: 1em 0 2em 0;
+}
+
+ul.comments li {
+    list-style: none;
+    border-bottom: 1px solid #ddd;
+}
+ul.comments li:last-child{
+    border-bottom: none;
+}
+.comment-heading{
+    font-size: 1.25em;
+}
+.comment-heading span + .btn{
+    margin-left: 20px;
+}
+.commenter {
+    font-weight: bold;
+}
+ul.storeItems {
+    padding: 0;
+    margin: 1em auto;
+}
+
+ul.storeItems li {
+    list-style: none;
+}
+
+.storeItemLeft, .storeItemCenter {
+    vertical-align: top;
+}
+
+.storeItemLeft {
+    float: left;
+    width: 120px;
+}
+
+.storeItemCenter {
+    margin-left: 140px;
+}
+
+.storeWidgetThumbnail {
+    margin-bottom: 1em;
+}
+
+.storeWidgetDesc {
+    margin: 1em 0;
+}
+
+.storeWidgetDisabled {
+    background-color: #FCE8D7;
+    border: 1px solid #B3C4CF;
+    margin: 3px;
+    padding: 3px;
+}
+
+.widgetRating {
+    margin: 1em 0;
+}
+
+.widgetDislikeCount {
+    padding: 0 10px;
+}
+
+.widgetUserCount {
+    float: right;
+}
+
+.secondaryPageItemTitle {
+    font-size: 1.2em;
+}
+
+.ui-sortable-placeholder {
+    background-color: #DDDDDD;
+    border: 1px dashed #767676;
+    visibility: visible !important;
+
+}
+
+.ui-sortable-placeholder * {
+    visibility: hidden;
+}
+
+.widget-toolbar {
+    float: right;
+    cursor: pointer;
+}
+
+.widget-toolbar-btn-min {
+    display: none;
+}
+
+.widget-toolbar-toggle-collapse {
+    float: left;
+    cursor: pointer;
+}
+
+/* form fields */
+fieldset {
+    margin: 0;
+    padding: 0;
+    border: none;
+}
+
+p label, span.label {
+    width: 120px;
+    float: left;
+    display: block;
+    position: relative;
+}
+
+label.formradio {
+    float: none;
+    left: 0;
+    margin-left: 120px;
+    margin-bottom: 0.4em;
+    margin-right: 0;
+    position: static;
+    top: auto;
+    width: auto;
+}
+
+input.long, textarea.long {
+    width: 400px;
+}
+
+.checkboxlist {
+    float: left;
+    list-style: none;
+}
+
+/* tweaks to JQuery validation CSS */
+.error {
+    color: #ff0000;
+}
+
+span.error, label.error {
+    font-size: 10px;
+    display: block;
+    float: none;
+    margin: 0.5em 0 auto 120px;
+}
+
+.warn {
+    font-weight: bold;
+}
+
+#tabsHeader {
+    background-color: #FFFFFF;
+}
+
+#tabs {
+    border-bottom: 1px solid #B4C4CF;
+    margin: 0;
+    padding: 10px 15px 0 13px;
+    white-space: nowrap;
+}
+
+.rave-ui-tab {
+    background-color: #FFFFFF;
+    border: 1px solid #B4C4CF;
+    color: #767676;
+    display: inline-block;
+    font-style: italic;
+    font-weight: normal;
+    height: 25px;
+    position: relative;
+    top: 1px;
+    /* IE 7 hacks for inline-block */
+    zoom: 1;
+    *display: inline;
+}
+
+.rave-ui-tab a, .rave-ui-tab a:visited {
+    color: #767676;
+    text-decoration: none;
+}
+
+.rave-ui-tab:hover, .rave-ui-tab a:hover {
+    background-color: #D7D7D3;
+    color: #000000;
+}
+
+.rave-ui-tab-selected, .rave-ui-tab-selected:hover {
+    background-color: #D7D7D3;
+    border-bottom: 1px solid #D7D7D3;
+    color: #000000;
+    font-style: normal;
+    font-weight: bold;
+}
+
+.rave-ui-tab-mobile {
+    border: none;
+    background-color: #FFFFFF;
+    color: #767676;
+    font-weight: normal;
+    font-style: normal;
+}
+
+.rave-ui-tab-mobile a, .rave-ui-tab-mobile a:visited {
+    color: #767676;
+    text-decoration: none;
+}
+
+.rave-ui-tab-mobile:hover, .rave-ui-tab-mobile a:hover {
+    color: #000000;
+    border: none;
+    background-color: #FFFFFF;
+}
+
+.rave-ui-tab-selected-mobile, .rave-ui-tab-selected-mobile:hover {
+    border: 1px solid #B4C4CF;
+    border-bottom: 1px solid #FFFFFF;
+    background-color: #FFFFFF;
+    color: #000000;
+    font-style: normal;
+    font-weight: bold;
+}
+
+#dialog {
+    width: 400px;
+    display: none;
+}
+
+#dialog label {
+    display: block;
+}
+
+#dialog input {
+    display: block;
+}
+
+#dialog label {
+    margin-top: 0.5em;
+}
+
+#dialog input {
+    width: 95%;
+}
+
+#dialog textarea {
+    width: 95%;
+}
+
+#add_page {
+    cursor: pointer;
+    width: 18px;
+    display: inline-block;
+    vertical-align: middle;
+    margin-left: 10px;
+    padding-bottom: 4px;
+    padding-top: 3px;
+    /* IE 7 hacks for inline-block */
+    zoom: 1;
+    *display: inline;
+}
+
+.pageContent-mobile {
+    background: none !important;
+    background-color: #FFFFFF !important;
+    margin-top: 3px;
+}
+
+.page-title {
+    display: inline-block;
+    padding: 5px 10px;
+    cursor: pointer;
+    /* IE 7 hacks for inline-block */
+    zoom: 1;
+    *display: inline;
+}
+
+.emptyPageMessage {
+    background-color: #FFFFFF;
+    border: 1px solid #B4C4CF;
+    border-radius: 10px 10px 10px 10px;
+    box-shadow: 1px 1px 0 #D9DADC;
+    font-weight: bold;
+    margin: 20px auto;
+    padding: 20px;
+    text-align: center;
+    width: 300px;
+    font-size: 1.25em;
+}
+
+.emptyPageMessageWrapper {
+    padding-top: 20px;
+}
+
+.widget-tags-select {
+    font-family: Arial, Helvetica, sans-serif;
+    font-size: 11px;
+}
+
+#errorStack {
+    display: none;
+    width: 90%;
+    margin: auto;
+}
+
+.errorMessage {
+    text-align: center;
+    font-size: 150%;
+}
+
+
+/* admin interface */
+.admincontent {
+    margin: 0 auto;
+    width: 80%;
+    padding: 1em 20px;
+    font-size: 1.1em;
+}
+
+.admincontent p {
+    margin: 1em 0;
+}
+
+.admincontent .searchbox {
+    float: right;
+    margin-top: 1em;
+}
+
+.admincontent .goback {
+    padding-top: 1em;
+}
+
+.searchbox form, .searchbox fieldset {
+    display: inline;
+    height: 1em;
+    margin: 0;
+    padding: 0;
+}
+
+.admincontent .leftcolumn {
+    float: left;
+    width: 70%;
+}
+
+.admincontent .rightcolumn {
+    float: right;
+    width: 30%;
+}
+
+.admincontent figure {
+    display: block;
+    margin: 1em 0;
+    width: 100%;
+}
+
+.admincontent figure.screenshot img {
+    max-width: 100%;
+}
+
+.booleancell {
+    width: 50px;
+}
+
+.textcell {
+    width: 150px;
+}
+
+.largetextcell {
+    width: 300px
+}
+
+/* user profile */
+.profile-submenu ul {
+       height: 2.5em;
+       background-color: #41627E;
+       text-align: center;
+}
+
+.profile-submenu li {
+       display: inline;
+    list-style: none;
+    padding: 0 10px;
+    color: #FFFFFF;
+    font-size: 1.5em;
+}
+
+.profile-tag {
+       display: inline;
+}
+
+.profile-tag:hover {
+       background:#A9BCF5;
+       color:#000000;
+       cursor:pointer;
+}
+
+.profile-tag-page {
+       display: none;
+}
+
+.profile-info-hidden,
+.btn.profile-info-hidden,
+.btn.primary-btn.profile-info-hidden {
+    display: none;
+}
+
+.profile-info-visible {
+       display: inline;
+}
+
+@media all and (max-width: 900px) {
+    .storeSearch {
+        width: 100%;
+        float: none;
+    }
+
+    .storeBox {
+        margin: 0;
+    }
+}
+
+@media all and (max-width: 550px) {
+
+    header {
+        height: auto;
+    }
+
+    header h1 {
+        width: 100%;
+        clear: both;
+    }
+
+    .topnav {
+        float: none;
+        display: block;
+    }
+
+    #content {
+        width: 100%;
+        padding: 0;
+    }
+
+    h2, h3, h4, h5, h6 {
+        margin: 0 0 1em 0;
+        padding: 0;
+    }
+
+    .admincontent {
+        width: auto;
+    }
+
+    .storeSearch, .storeBox {
+        float: none;
+        width: 98%;
+        padding: 1em 1%;
+    }
+
+    .storeItem {
+        box-shadow: none;
+        padding: 0 10px;
+    }
+
+    .storeItemLeft, .storeItemCenter {
+        width: 100%;
+        float: none;
+        margin: 1em 0;
+    }
+
+    .widget-content {
+        width: 95%;
+        padding: 1em 10px;
+    }
+
+    .detailWidgetInfo, .detailWidgetPreview, .widgetComments, .widgetTags {
+        width: 98%;
+        padding: 0 1%;
+    }
+
+    .detailWidgetPreview {
+        float: none;
+    }
+
+    .detailWidgetScreenshot {
+        display: none;
+    }
+
+    .detailWidgetThumbnail {
+        display: block;
+    }
+
+    p label, span.label {
+        width: 100%;
+        float: none;
+    }
+
+    input.long, textarea.long {
+        width: 100%;
+    }
+
+    .largetextcell {
+        width: auto;
+    }
+
+    .admincontent .rightcolumn, .admincontent .leftcolumn, .admincontent 
.searchbox {
+        width: 100%;
+        float: none;
+        margin-top: 0;
+    }
+
+    .region {
+        clear: both;
+        width: 100%;
+        margin: 0;
+        padding: 1em 0;
+    }
+
+    .widget, .widget-title-bar {
+        box-shadow: none;
+        border: 1px solid #767676;
+    }
+
+    .emptyPageMessage {
+        width: 80%;
+        padding: 1em 5px;
+    }
+}
+
+.nav > li > a.rave-ui-tab-shared-to-me:hover{
+    background-color: #E8FFE8;
+}
+
+.nav > li > a.rave-ui-tab-shared-by-me:hover{
+    background-color: #E8F8FF;
+}
+
+#pageMenuSharedIcon {
+    position: relative;
+    display: inline-block;
+    vertical-align: top;
+    /* IE 7 hacks for inline-block */
+    zoom: 1;
+    *display: inline;
+    clear:right;
+    margin-right: 2px;
+}
+
+.searchdialogcontent {
+    font-size: 12px !important;
+    margin:0 0 !important;
+    width: 100% !important;
+    padding:0 0 !important;
+}
+
+/* dropdown menus */
+.menu-item-disabled a {
+    color: #CCCCCC !important;
+    background-color: @white;
+}
+
+.widget-title-bar .dropdown-menu {
+    text-align: left;
+}
+
+/* tabbed regions */
+.nav-tabs.outlined {
+    margin: 0px 4px -1px 0;
+    border-bottom: none;
+}
+
+.tab-content.outlined {
+    border: 1px solid #ddd;
+    border-radius: 0 5px 5px 5px;
+    padding: 10px 2% 0;
+    width: 96%;
+}
+
+/* popups */
+.popup.slideout {
+    box-sizing: border-box;
+    position: fixed;
+    top: 5%;
+    right: 0;
+    display: none;
+    background: #ffffff;
+    border: 1px solid #999;
+    border: 1px solid rgba(0, 0, 0, 0.3);
+    *border: 1px solid #999;
+    border-right-width: 0px;
+    -webkit-border-radius: 6px 0 0 6px;
+    -moz-border-radius: 6px 0 0 6px;
+    border-radius: 6px 0 0 6px;
+    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
+    -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
+    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
+    width: 451px;
+    height: 90%;
+    padding: 15px;
+    overflow-y: auto;
+    overflow-x: visible;
+    z-index: 5000
+}
+
+.slideout-content {
+    box-sizing: border-box;
+    height: 98%;
+}

Modified: rave/trunk/rave-portal-resources/src/main/webapp/css/rave.less
URL: 
http://svn.apache.org/viewvc/rave/trunk/rave-portal-resources/src/main/webapp/css/rave.less?rev=1341954&r1=1341953&r2=1341954&view=diff
==============================================================================
--- rave/trunk/rave-portal-resources/src/main/webapp/css/rave.less (original)
+++ rave/trunk/rave-portal-resources/src/main/webapp/css/rave.less Wed May 23 
17:13:23 2012
@@ -15,21 +15,19 @@
 // KIND, either express or implied.  See the License for the
 // specific language governing permissions and limitations
 // under the License.
-//
-// This LESS file is compiles Bootstrap CSS together with Rave customizations 
to produce rave.css
+
+
+
+// This LESS file compiles Bootstrap CSS together with Rave customizations to 
produce rave.css
 
 // For more information on LESS, visit http://lesscss.org
 // For more information on Bootstrap, visit http://twitter.github.com/bootstrap
 
 // To customize the look&feel of Rave, feel free to edit 
rave-customizations.less
 
-// Pull in default.css (will ultimately be refactored)
-@import "default.css";
-
 
 
 // pull in Bootstrap files
-// note: to simplify upgrades, Bootstrap versions are sectioned off in unique 
directories
 @import "bootstrap/less/bootstrap.less";
 @import "bootstrap/less/responsive.less";
 @iconSpritePath:          "bootstrap/img/glyphicons-halflings.png";
@@ -37,86 +35,10 @@
 
 
 
-// Rave styles (formerly contained in rave.css)
-// START rave.css
-.center {
-    text-align: center;
-    display: block;
-    margin-left: auto;
-    margin-right: auto;
-}
-
-/* Overwrite setitngs for navbar to remove need for spacer */
-.navbar-fixed-top {
-    position: static;
-    margin-bottom: 18px;
-}
-
-/* page menu related styles */
-/*
-    NOTE: bootstrap doesn't have a native style for a disabled dropdown item
-          so we created this
-*/
-.menu-item-disabled a,
-.menu-item-disabled a:visited,
-.menu-item-disabled a:active,
-.menu-item-disabled a:hover {
-    color: #CCCCCC !important;
-    background-color: #FFFFFF;
-}
-
-/*Dropdowns in widget-bar are inheriting text-align: center. All dropdowns 
should left align by default.*/
-.dropdown-menu {
-    text-align: left;
-}
-
-/*Creating Outlined Tabs*/
-.nav-tabs.outlined {
-    margin: 0px 4px -1px 0;
-    border-bottom: none;
-}
-
-.tab-content.outlined {
-    border: 1px solid #ddd;
-    border-radius: 0 5px 5px 5px;
-    padding: 10px 2% 0;
-    width: 96%;
-}
-
-/*Popups styles*/
-.popup.slideout {
-    box-sizing: border-box;
-    position: fixed;
-    top: 5%;
-    right: 0;
-    display: none;
-    background: #ffffff;
-    border: 1px solid #999;
-    border: 1px solid rgba(0, 0, 0, 0.3);
-    *border: 1px solid #999;
-    border-right-width: 0px;
-
-    -webkit-border-radius: 6px 0 0 6px;
-    -moz-border-radius: 6px 0 0 6px;
-    border-radius: 6px 0 0 6px;
-    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
-    -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
-    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
-    width: 451px;
-    height: 90%;
-    padding: 15px;
-    overflow-y: auto;
-    overflow-x: visible;
-    z-index: 5000
-}
-
-.slideout-content {
-    box-sizing: border-box;
-    height: 98%;
-}
-// END rave.css
+// pull in general Rave customizations
+@import "rave-css.less";
 
 
 
-// pull in unique Rave customizations
-@import "rave-customizations.less";
+// pull in customizations that are specific to your project
+@import "rave-customizations.less";
\ No newline at end of file


Reply via email to