Difference between revisions of "SUNScholar/XMLUI Theme/M2/Customisation/Extra Customisation"

From Libopedia
Jump to navigation Jump to search
(Created page with "<center> '''Back to Mirage 2 Customisation''' </center> To do.")
 
m
Line 3: Line 3:
 
</center>
 
</center>
  
To do.
+
===Modify Item View CSS==
 +
Edit the following file:
 +
nano $HOME/{{Source}}/dspace-xmlui-mirage2/src/main/webapp/styles/classic_mirage_color_scheme/_item-lists.scss
 +
See below for modified file.
 +
<pre>
 +
/**
 +
* The contents of this file are subject to the license and copyright
 +
* detailed in the LICENSE and NOTICE files at the root of the source
 +
* tree and available online at
 +
*
 +
* http://www.dspace.org/license/
 +
*/
 +
.artifact-title {
 +
    margin-bottom: 0px;
 +
}
 +
 
 +
.artifact-abstract {
 +
    text-align: justify;
 +
}
 +
 
 +
.thumbnail {
 +
    .glyphicon.glyphicon-file {
 +
        color: $gray-lighter;
 +
        margin-left: -10px;
 +
    }
 +
}
 +
 
 +
.item-wrapper.row {
 +
    @media(max-width: $screen-xs-max) {
 +
        padding-bottom: 5px;
 +
        border-bottom: 1px solid $gray-lighter;
 +
    }
 +
}
 +
</pre>

Revision as of 12:46, 9 June 2015

Back to Mirage 2 Customisation

=Modify Item View CSS

Edit the following file:

nano $HOME/source/dspace-xmlui-mirage2/src/main/webapp/styles/classic_mirage_color_scheme/_item-lists.scss

See below for modified file.

/**
 * The contents of this file are subject to the license and copyright
 * detailed in the LICENSE and NOTICE files at the root of the source
 * tree and available online at
 *
 * http://www.dspace.org/license/
 */
.artifact-title {
    margin-bottom: 0px;
}

.artifact-abstract {
    text-align: justify;
}

.thumbnail {
    .glyphicon.glyphicon-file {
        color: $gray-lighter;
        margin-left: -10px;
    }
}

.item-wrapper.row {
    @media(max-width: $screen-xs-max) {
        padding-bottom: 5px;
        border-bottom: 1px solid $gray-lighter;
    }
}