Changeset - d407bcd9af08
[Not reviewed]
46 2 3
Luke Hatcher - 12 years ago 2012-07-19 06:49:49
lukeman@gmail.com
rearrange media, make clear where per-site overrides go
51 files changed with 194 insertions and 6386 deletions:
0 comments (0 inline, 0 general)
symposion_project/static/Makefile
Show inline comments
 
new file 100644
 
SYMPOSION_LESS = ./symposion/less/site.less
 
CSS_OUTPUT_FILENAME = symposion.css
 
LESS_COMPRESSOR ?= `which lessc`
 

	
 
#
 
# BUILD SITE MEDIA
 
# lessc & uglifyjs are required
 
#
 

	
 
build:
 
	mkdir -p symposion/css
 
	lessc --yui-compress ${SYMPOSION_LESS} > symposion/css/${CSS_OUTPUT_FILENAME}
symposion_project/static/symposion/Makefile
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/accordion.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/alerts.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/bootstrap.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/breadcrumbs.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/button-groups.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/buttons.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/carousel.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/close.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/code.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/component-animations.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/dropdowns.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/forms.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/grid.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/hero-unit.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/labels-badges.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/layouts.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/mixins.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/modals.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/navbar.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/navs.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/pager.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/pagination.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/popovers.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/progress-bars.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/reset.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/responsive-1200px-min.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/responsive-767px-max.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/responsive-768px-979px.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/responsive-navbar.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/responsive-utilities.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/responsive.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/scaffolding.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/sprites.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/tables.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/tests/css-tests.css
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/tests/css-tests.html
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/tests/forms.html
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/tests/navbar.html
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/thumbnails.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/tooltip.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/type.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/utilities.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/variables.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootstrap/wells.less
Show inline comments
 
deleted file
symposion_project/static/symposion/less/bootswatch.less
Show inline comments
...
 
@@ -182,4 +182,10 @@ div.subnav {
 
.hero-unit {
 
    .box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
 
    border: 1px solid rgba(0,0,0,.05);
 
}
...
 
\ No newline at end of file
 
}
 

	
 
.navbar .nav li.dropdown .dropdown-toggle .caret,
 
.navbar .nav li.dropdown.open .caret {
 
  border-top-color: @grayDarker;
 
  border-bottom-color: @grayDarker;
 
}
symposion_project/static/symposion/less/custom.less
Show inline comments
 
body {
 
    padding-top: 24px;
 
}
 

	
 
label:not(.checkbox):not(.radio) {
 
    font-weight: bold;
 
}
 

	
 
.navbar .nav li.dropdown .dropdown-toggle .caret,
 
.navbar .nav li.dropdown.open .caret {
 
  border-top-color: @grayDarker;
 
  border-bottom-color: @grayDarker;
 
}
 

	
 

	
 
header {
 
    position: relative;
 
    margin-bottom: 24px;
 
    
 
    
 
    h1 {
 
        margin-bottom: 9px;
 
        font-size: 48px;
 
        letter-spacing: -1px;
 
        line-height: 1;
 
        -webkit-margin-before: 0;
 
        -webkit-margin-after: 0;
 
    }
 
    
 
    p {
 
        font-size: 30px;
 
        line-height: 36px;
 
    }
 
    
 
    a, a:hover, a:visited {
 
        color: @grayDark;
 
        text-decoration: none;
 
    }
 
}
 

	
 
// Markitup
 
div.box-content .markItUpEditor {
 
  font-family: @monoFontFamily;
 
  padding:5px;
 
  width:600px;
 
  height:320px;
 
  clear:both; display:block;
 
  overflow:auto;
 
}
 

	
 

	
 
// Markitup Modal
 
.modal div.markItUp {
 
    width: 500px;
 
}
 
.modal textarea.markItUpEditor {
 
    width: 500px;
 
    height: 250px;
 
}
 

	
 
// Boxes
 
.content-box.editable {
 
    border: 1px dashed #bbb;
 
    padding: 5px;
 
    min-height: 30px;
 
}
 
.edit-toggle {
 
    position: relative;
 
    float: left;
 
    left: -20px;
 
}
 

	
 
.dashboard-panel {
 
    position: relative;
 
    clear: both;
 
    width: auto;
 
    margin-bottom: 2em;
 
    overflow: hidden;
 
    
 
    .dashboard-panel-header {
 
        
 
                
 
        position: relative;
 
        height: 40px;
 
        line-height: 40px;
 
        #gradient > .vertical(@navbarBackgroundHighlight, @navbarBackground);
 
        border: 1px solid #D5D5D5;
 
        .border-radius(4px 4px 0 0);
 
        -webkit-background-clip: padding-box;
 
        
 
        .header-actions {
 
            padding-right: 10px;
 
        }
 
        
 
        h3 {
 
            position: relative;
 
            top: 2px;
 
            left: 10px;
 
            display: inline-block;
 
            margin-right: 3em;
 
            font-size: 14px;
 
            font-weight: 600;
 
            color: @grayDark;
 
            line-height: 18px;
 
            text-shadow: 1px 1px 2px rgba(255,255,255,.5);
 
        }
 
    
 
        > [class^="icon-"], > [class*=" icon-"] {
 
            display: inline-block;
 
            margin-left: 13px;
 
            margin-right: -2px;
 
            font-size: 16px;
 
            color: @grayDark;
 
            vertical-align: middle;
 
        }
 
    }
 

	
 
    .dashboard-panel-content {
 
        padding: 40px 15px 15px;
 
        border: 1px solid #D5D5D5;
 
        .border-radius(5px);
 
        .box-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
 

	
 
        h3 {
 
            font-size:@baseFontSize + 6;
 
            font-weight: 800;
 
            line-height: 20px;
 
            margin-bottom:20px;
 
        }
 

	
 
        .actions {
 
            .action {
 
                width: 22.50%;
 
                display: inline-block;
 
                padding: 12px 0;
 
                margin: 0 .9% 1em;
 
                vertical-align: top;
 
                text-decoration: none;
 
                background: #F3F3F3;
 
                border-radius: 5px;
 
                text-align:center;
 

	
 
                .widget-icon {
 
                    margin-top: .25em;
 
                    margin-bottom: .25em;
 
                    font-size: 32px;
 
                    color: #888;
 
                }
 

	
 
                .widget-label {
 
                    display: block;
 
                    font-weight: 400;
 
                    color: #666;
 
                }
 
            }
 

	
 
            .action:hover {
 
                background: #E8E8E8;
 
            }
 
        }
 
    }
 

	
 
    .dashboard-panel-header + .dashboard-panel-content {
 
        border-top: none;
 
        padding-top: 20px;
 
        .border-radius(0 0 4px 4px);
 
    }
 
}
 
// Place your custom less overrides in this file
symposion_project/static/symposion/less/site.less
Show inline comments
 
new file 100644
 
// Bootstrap
 
@import "../../bootstrap/less/bootstrap.less";
 

	
 
// Bootswatch theme
 
@import "bootswatch.less";
 

	
 
// Variables
 
@import "variables.less";
 

	
 
// Symposion UI components
 
@import "symposion-components.less";
 

	
 
// Per-site overrides
 
@import "custom.less";
symposion_project/static/symposion/less/symposion-components.less
Show inline comments
 
new file 100644
 
// General
 
body {
 
    padding-top: 24px;
 
}
 
label:not(.checkbox):not(.radio) {
 
    font-weight: bold;
 
}
 

	
 
// Header
 
header {
 
    position: relative;
 
    margin-bottom: 24px;
 
    
 
    
 
    h1 {
 
        margin-bottom: 9px;
 
        font-size: 48px;
 
        letter-spacing: -1px;
 
        line-height: 1;
 
        -webkit-margin-before: 0;
 
        -webkit-margin-after: 0;
 
    }
 
    
 
    p {
 
        font-size: 30px;
 
        line-height: 36px;
 
    }
 
    
 
    a, a:hover, a:visited {
 
        color: @grayDark;
 
        text-decoration: none;
 
    }
 
}
 

	
 
// Boxes
 
.content-box.editable {
 
    border: 1px dashed #bbb;
 
    padding: 5px;
 
    min-height: 30px;
 
}
 
.edit-toggle {
 
    position: relative;
 
    float: left;
 
    left: -20px;
 
}
 

	
 
// Markitup
 
div.box-content .markItUpEditor {
 
  font-family: @monoFontFamily;
 
  padding:5px;
 
  width:600px;
 
  height:320px;
 
  clear:both; display:block;
 
  overflow:auto;
 
}
 

	
 
// Markitup Modal
 
.modal div.markItUp {
 
    width: 500px;
 
}
 
.modal textarea.markItUpEditor {
 
    width: 500px;
 
    height: 250px;
 
}
 

	
 
// Dashboard panels
 
.dashboard-panel {
 
    position: relative;
 
    clear: both;
 
    width: auto;
 
    margin-bottom: 2em;
 
    overflow: hidden;
 
    
 
    .dashboard-panel-header {
 
        position: relative;
 
        height: 40px;
 
        line-height: 40px;
 
        #gradient > .vertical(@navbarBackgroundHighlight, @navbarBackground);
 
        border: 1px solid #D5D5D5;
 
        .border-radius(4px 4px 0 0);
 
        -webkit-background-clip: padding-box;
 
        
 
        .header-actions {
 
            padding-right: 10px;
 
        }
 
        
 
        h3 {
 
            position: relative;
 
            top: 2px;
 
            left: 10px;
 
            display: inline-block;
 
            margin-right: 3em;
 
            font-size: 14px;
 
            font-weight: 600;
 
            color: @grayDark;
 
            line-height: 18px;
 
            text-shadow: 1px 1px 2px rgba(255,255,255,.5);
 
        }
 
    
 
        > [class^="icon-"], > [class*=" icon-"] {
 
            display: inline-block;
 
            margin-left: 13px;
 
            margin-right: -2px;
 
            font-size: 16px;
 
            color: @grayDark;
 
            vertical-align: middle;
 
        }
 
    }
 

	
 
    .dashboard-panel-content {
 
        padding: 40px 15px 15px;
 
        border: 1px solid #D5D5D5;
 
        .border-radius(5px);
 
        .box-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
 

	
 
        h3 {
 
            font-size:@baseFontSize + 6;
 
            font-weight: 800;
 
            line-height: 20px;
 
            margin-bottom:20px;
 
        }
 

	
 
        .actions {
 
            .action {
 
                width: 22.50%;
 
                display: inline-block;
 
                padding: 12px 0;
 
                margin: 0 .9% 1em;
 
                vertical-align: top;
 
                text-decoration: none;
 
                background: #F3F3F3;
 
                border-radius: 5px;
 
                text-align:center;
 

	
 
                .widget-icon {
 
                    margin-top: .25em;
 
                    margin-bottom: .25em;
 
                    font-size: 32px;
 
                    color: #888;
 
                }
 

	
 
                .widget-label {
 
                    display: block;
 
                    font-weight: 400;
 
                    color: #666;
 
                }
 
            }
 

	
 
            .action:hover {
 
                background: #E8E8E8;
 
            }
 
        }
 
    }
 

	
 
    .dashboard-panel-header + .dashboard-panel-content {
 
        border-top: none;
 
        padding-top: 20px;
 
        .border-radius(0 0 4px 4px);
 
    }
 
}
symposion_project/static/symposion/less/symposion.less
Show inline comments
 
deleted file
0 comments (0 inline, 0 general)