Skip to content

Commit

Permalink
Refactor reports styling out into its own less file.
Browse files Browse the repository at this point in the history
This was it doesn't need to be loaded for Galaxy.
  • Loading branch information
jmchilton committed Jul 17, 2015
1 parent 33154aa commit 1b23081
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 37 deletions.
29 changes: 0 additions & 29 deletions client/galaxy/style/less/base.less
Expand Up @@ -1705,32 +1705,3 @@ div.toolTitleNoSection
#for_bears {
display: none;
}

// ============================================================================ Reports Webapp

.dir_arrow {
visibility: hidden
}

#spark_time_select {
display: inline-block;
}

#spark_select {
height: 23px;
width: 30px;
padding: 0;
border-radius: 2px;
}

.quarter_width {
width: 25%;
}

.third_width {
width: 30%;
}

.half_width {
width: 50%
}
28 changes: 28 additions & 0 deletions client/galaxy/style/less/reports.less
@@ -0,0 +1,28 @@
// ============================================================================ Reports Webapp

.dir_arrow {
visibility: hidden
}

#spark_time_select {
display: inline-block;
}

#spark_select {
height: 23px;
width: 30px;
padding: 0;
border-radius: 2px;
}

.quarter_width {
width: 25%;
}

.third_width {
width: 30%;
}

.half_width {
width: 50%
}
5 changes: 3 additions & 2 deletions client/grunt-tasks/style.js
Expand Up @@ -20,7 +20,8 @@ module.exports = function( grunt ){
'masthead',
'library',
'trackster',
'circster'
'circster',
'reports'
];


Expand Down Expand Up @@ -79,4 +80,4 @@ module.exports = function( grunt ){
});

grunt.registerTask( 'style', [ 'sprite', 'less-site-config', 'less', 'clean' ] );
};
};
6 changes: 0 additions & 6 deletions static/style/blue/base.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions static/style/blue/reports.css
@@ -0,0 +1,6 @@
.dir_arrow{visibility:hidden}
#spark_time_select{display:inline-block}
#spark_select{height:23px;width:30px;padding:0;border-radius:2px}
.quarter_width{width:25%}
.third_width{width:30%}
.half_width{width:50%}
6 changes: 6 additions & 0 deletions templates/webapps/reports/base_panels.mako
@@ -1,5 +1,11 @@
<%inherit file="/base/base_panels.mako"/>

<%def name="stylesheets()">
${parent.stylesheets()}
${h.css( "reports" )}
</%def>


## Default title
<%def name="title()">Galaxy Reports</%def>

Expand Down

0 comments on commit 1b23081

Please sign in to comment.