Getting the project working again
Replace Twitter Bootstrap by Zurb Foundation Used @import in SCSS instad of require_tree for proper order and use of variables like $debian_color Moved old files out of the way (renamed them to xx*) Welcome controller (/) works Moved templates from ERB to SLIM format Fixed database settings Reduced routes to working ones Tidied up Gemfile Checked in experimental lab files Tried to find a good description for this massive commit :)
This commit is contained in:
parent
a7e05b2b78
commit
87f545414f
38 changed files with 3341 additions and 156 deletions
78
app/assets/stylesheets/xxmy.css.scss
Normal file
78
app/assets/stylesheets/xxmy.css.scss
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
div.thumbnail
|
||||
{
|
||||
/*width: 200px;*/
|
||||
height: 210px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
/* Package name in thumbnails view */
|
||||
.thumbnail h3
|
||||
{
|
||||
font-size: 18px;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
/* Package description in thumbnails view */
|
||||
.thumbnail p
|
||||
{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Pagination is shown in top bar. Reduce margin to avoid making the nav bar larger. */
|
||||
ul.pagination
|
||||
{
|
||||
margin: 8px 16px;
|
||||
}
|
||||
|
||||
/* Make paginator a bit narrower to save space */
|
||||
ul.pagination li a
|
||||
{
|
||||
padding-left: 6px;
|
||||
padding-right: 6px;
|
||||
}
|
||||
|
||||
/* Top bar is fixed. Move main part down so the bar does not hide it. */
|
||||
.container-main
|
||||
{
|
||||
margin-top: 60px;
|
||||
}
|
||||
|
||||
/* Waste less space above and below pagers */
|
||||
.pager
|
||||
{
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
/* Waste less space between/below the navbar and the main container */
|
||||
.navbar
|
||||
{
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
/* Make sure that the description of a package does not flow outside of the thumbnail box */
|
||||
.thumbnail
|
||||
{
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.pkgdescr
|
||||
{
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
|
||||
a.fancybox.thumbnail
|
||||
{
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
||||
/* Disable resonsiveness in Twitter Bootstrap CSS */
|
||||
.container
|
||||
{
|
||||
width: 1200px !important;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue