Ir para conteúdo
Fórum Script Brasil

SSK

Membros
  • Total de itens

    4
  • Registro em

  • Última visita

Sobre SSK

SSK's Achievements

0

Reputação

  1. Eu tenho um repositório de arquivos, nem tem as folhas de estilo css e em conjunto deste tem a pasta com arquivos xsl contendo a estrutura da página. Vi em algum lugar que xsl pega o xml e converte pra html, será tem como editar um xsl para mudar algum visual da página? vou passar o código de um arquivo que se chama page-structure, nele contém possivelmente a estrutura da página: <!-- 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/ --> <!-- Main structure of the page, determines where header, footer, body, navigation are structurally rendered. Rendering of the header, footer, trail and alerts Author: art.lowel at atmire.com Author: lieven.droogmans at atmire.com Author: ben at atmire.com Author: Alexey Maslov --> <xsl:stylesheet xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns:dri="http://di.tamu.edu/DRI/1.0/" xmlns:mets="http://www.loc.gov/METS/" xmlns:xlink="http://www.w3.org/TR/xlink/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:dim="http://www.dspace.org/xmlns/dspace/dim" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mods="http://www.loc.gov/mods/v3" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:confman="org.dspace.core.ConfigurationManager" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="i18n dri mets xlink xsl dim xhtml mods dc confman"> <xsl:output indent="yes"/> <!-- Requested Page URI. Some functions may alter behavior of processing depending if URI matches a pattern. Specifically, adding a static page will need to override the DRI, to directly add content. --> <xsl:variable name="request-uri" select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='URI']"/> <!-- The starting point of any XSL processing is matching the root element. In DRI the root element is document, which contains a version attribute and three top level elements: body, options, meta (in that order). This template creates the html document, giving it a head and body. A title and the CSS style reference are placed in the html head, while the body is further split into several divs. The top-level div directly under html body is called "ds-main". It is further subdivided into: "ds-header" - the header div containing title, subtitle, trail and other front matter "ds-body" - the div containing all the content of the page; built from the contents of dri:body "ds-options" - the div with all the navigation and actions; built from the contents of dri:options "ds-footer" - optional footer div, containing misc information The order in which the top level divisions appear may have some impact on the design of CSS and the final appearance of the DSpace page. While the layout of the DRI schema does favor the above div arrangement, nothing is preventing the designer from changing them around or adding new ones by overriding the dri:document template. --> <xsl:template match="dri:document"> <html class="no-js"> <!-- First of all, build the HTML head element --> <xsl:call-template name="buildHead"/> <!-- Then proceed to the body --> <!--paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/--> <xsl:text disable-output-escaping="yes">&lt;!--[if lt IE 7 ]&gt; &lt;body class="ie6"&gt; &lt;![endif]--&gt; &lt;!--[if IE 7 ]&gt; &lt;body class="ie7"&gt; &lt;![endif]--&gt; &lt;!--[if IE 8 ]&gt; &lt;body class="ie8"&gt; &lt;![endif]--&gt; &lt;!--[if IE 9 ]&gt; &lt;body class="ie9"&gt; &lt;![endif]--&gt; &lt;!--[if (gt IE 9)|!(IE)]&gt;&lt;!--&gt;&lt;body&gt;&lt;!--&lt;![endif]--&gt;</xsl:text> <xsl:choose> <xsl:when test="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='framing'][@qualifier='popup']"> <xsl:apply-templates select="dri:body/*"/> </xsl:when> <xsl:otherwise> <div id="ds-main"> <!--The header div, complete with title, subtitle and other junk--> <xsl:call-template name="buildHeader"/> <!--The trail is built by applying a template over pageMeta's trail children. --> <xsl:call-template name="buildTrail"/> <!--javascript-disabled warning, will be invisible if javascript is enabled--> <div id="no-js-warning-wrapper" class="hidden"> <div id="no-js-warning"> <div class="notice failure"> <xsl:text>JavaScript is disabled for your browser. Some features of this site may not work without it.</xsl:text> </div> </div> </div> <!--ds-content is a groups ds-body and the navigation together and used to put the clearfix on, center, etc. ds-content-wrapper is necessary for IE6 to allow it to center the page content--> <div id="ds-content-wrapper"> <div id="ds-content" class="clearfix"> <!-- Goes over the document tag's children elements: body, options, meta. The body template generates the ds-body div that contains all the content. The options template generates the ds-options div that contains the navigation and action options available to the user. The meta element is ignored since its contents are not processed directly, but instead referenced from the different points in the document. --> <xsl:apply-templates/> </div> </div> <!-- The footer div, dropping whatever extra information is needed on the page. It will most likely be something similar in structure to the currently given example. --> <xsl:call-template name="buildFooter"/> </div> </xsl:otherwise> </xsl:choose> <!-- Javascript at the bottom for fast page loading --> <xsl:call-template name="addJavascript"/> <xsl:text disable-output-escaping="yes">&lt;/body&gt;</xsl:text> </html> </xsl:template> <!-- The HTML head element contains references to CSS as well as embedded JavaScript code. Most of this information is either user-provided bits of post-processing (as in the case of the JavaScript), or references to stylesheets pulled directly from the pageMeta element. --> <xsl:template name="buildHead"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame --> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> <!-- Mobile Viewport Fix j.mp/mobileviewport & davidbcalhoun.com/2010/viewport-metatag device-width : Occupy full width of the screen in its current orientation initial-scale = 1.0 retains dimensions instead of zooming out if page height > device height maximum-scale = 1.0 retains dimensions instead of zooming in if page width < device width --> <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;"/> <link rel="shortcut icon"> <xsl:attribute name="href"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/themes/</xsl:text> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='theme'][@qualifier='path']"/> <xsl:text>/images/favicon.ico</xsl:text> </xsl:attribute> </link> <link rel="apple-touch-icon"> <xsl:attribute name="href"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/themes/</xsl:text> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='theme'][@qualifier='path']"/> <xsl:text>/images/apple-touch-icon.png</xsl:text> </xsl:attribute> </link> <meta name="Generator"> <xsl:attribute name="content"> <xsl:text>DSpace</xsl:text> <xsl:if test="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='dspace'][@qualifier='version']"> <xsl:text> </xsl:text> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='dspace'][@qualifier='version']"/> </xsl:if> </xsl:attribute> </meta> <!-- Add stylesheets --> <xsl:for-each select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='stylesheet']"> <link rel="stylesheet" type="text/css"> <xsl:attribute name="media"> <xsl:value-of select="@qualifier"/> </xsl:attribute> <xsl:attribute name="href"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/themes/</xsl:text> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='theme'][@qualifier='path']"/> <xsl:text>/</xsl:text> <xsl:value-of select="."/> </xsl:attribute> </link> </xsl:for-each> <!-- Add syndication feeds --> <xsl:for-each select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='feed']"> <link rel="alternate" type="application"> <xsl:attribute name="type"> <xsl:text>application/</xsl:text> <xsl:value-of select="@qualifier"/> </xsl:attribute> <xsl:attribute name="href"> <xsl:value-of select="."/> </xsl:attribute> </link> </xsl:for-each> <!-- Add OpenSearch auto-discovery link --> <xsl:if test="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='opensearch'][@qualifier='shortName']"> <link rel="search" type="application/opensearchdescription+xml"> <xsl:attribute name="href"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='scheme']"/> <xsl:text>://</xsl:text> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='serverName']"/> <xsl:text>:</xsl:text> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='serverPort']"/> <xsl:value-of select="$context-path"/> <xsl:text>/</xsl:text> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='opensearch'][@qualifier='autolink']"/> </xsl:attribute> <xsl:attribute name="title" > <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='opensearch'][@qualifier='shortName']"/> </xsl:attribute> </link> </xsl:if> <!-- The following javascript removes the default text of empty text areas when they are focused on or submitted --> <!-- There is also javascript to disable submitting a form when the 'enter' key is pressed. --> <script type="text/javascript"> //Clear default text of empty text areas on focus function tFocus(element) { if (element.value == '<i18n:text>xmlui.dri2xhtml.default.textarea.value</i18n:text>'){element.value='';} } //Clear default text of empty text areas on submit function tSubmit(form) { var defaultedElements = document.getElementsByTagName("textarea"); for (var i=0; i != defaultedElements.length; i++){ if (defaultedElements[i].value == '<i18n:text>xmlui.dri2xhtml.default.textarea.value</i18n:text>'){ defaultedElements[i].value='';}} } //Disable pressing 'enter' key to submit a form (otherwise pressing 'enter' causes a submission to start over) function disableEnterKey(e) { var key; if(window.event) key = window.event.keyCode; //Internet Explorer else key = e.which; //Firefox and Netscape if(key == 13) //if "Enter" pressed, then disable! return false; else return true; } function FnArray() { this.funcs = new Array; } FnArray.prototype.add = function(f) { if( typeof f!= "function" ) { f = new Function(f); } this.funcs[this.funcs.length] = f; }; FnArray.prototype.execute = function() { for( var i=0; i <xsl:text disable-output-escaping="yes">&lt;</xsl:text> this.funcs.length; i++ ) { this.funcs[i](); } }; var runAfterJSImports = new FnArray(); </script> <!-- Modernizr enables HTML5 elements & feature detects --> <script type="text/javascript"> <xsl:attribute name="src"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/themes/</xsl:text> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='theme'][@qualifier='path']"/> <xsl:text>/lib/js/modernizr-1.7.min.js</xsl:text> </xsl:attribute>&#160;</script> <!-- Add the title in --> <xsl:variable name="page_title" select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='title']" /> <title> <xsl:choose> <xsl:when test="starts-with($request-uri, 'page/about')"> <xsl:text>About This Repository</xsl:text> </xsl:when> <xsl:when test="not($page_title)"> <i18n:text>xmlui.dri2xhtml.METS-1.0.no-title</i18n:text> </xsl:when> <xsl:when test="$page_title = ''"> <i18n:text>xmlui.dri2xhtml.METS-1.0.no-title</i18n:text> </xsl:when> <xsl:otherwise> <xsl:copy-of select="$page_title/node()" /> </xsl:otherwise> </xsl:choose> </title> <!-- Head metadata in item pages --> <xsl:if test="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='xhtml_head_item']"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='xhtml_head_item']" disable-output-escaping="yes"/> </xsl:if> <!-- Add all Google Scholar Metadata values --> <xsl:for-each select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[substring(@element, 1, 9) = 'citation_']"> <meta name="{@element}" content="{.}"></meta> </xsl:for-each> </head> </xsl:template> <!-- The header (distinct from the HTML head element) contains the title, subtitle, login box and various placeholders for header images --> <xsl:template name="buildHeader"> <div id="ds-header-wrapper"> <div id="ds-header" class="clearfix"> <a> <xsl:attribute name="href"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/</xsl:text> </xsl:attribute> <img> <xsl:attribute name="src"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/themes/</xsl:text> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='theme'][@qualifier='path']"/> <xsl:text>/images/UHL-logo.png</xsl:text> </xsl:attribute> </img> </a> <!-- <a id="ds-header-logo-link"> <xsl:attribute name="href"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/</xsl:text> </xsl:attribute> <span id="ds-header-logo">&#160;</span> <span id="ds-header-logo-text"> <i18n:text>xmlui.dri2xhtml.structural.head-subtitle</i18n:text> </span> </a> --> <h1 class="pagetitle visuallyhidden"> <xsl:choose> <!-- protection against an empty page title --> <xsl:when test="not(/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='title'])"> <xsl:text> </xsl:text> </xsl:when> <xsl:otherwise> <xsl:copy-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='title']/node()"/> </xsl:otherwise> </xsl:choose> </h1> <xsl:choose> <xsl:when test="/dri:document/dri:meta/dri:userMeta/@authenticated = 'yes'"> <div id="ds-user-box"> <p> <a> <xsl:attribute name="href"> <xsl:value-of select="/dri:document/dri:meta/dri:userMeta/ dri:metadata[@element='identifier' and @qualifier='url']"/> </xsl:attribute> <i18n:text>xmlui.dri2xhtml.structural.profile</i18n:text> <xsl:value-of select="/dri:document/dri:meta/dri:userMeta/ dri:metadata[@element='identifier' and @qualifier='firstName']"/> <xsl:text> </xsl:text> <xsl:value-of select="/dri:document/dri:meta/dri:userMeta/ dri:metadata[@element='identifier' and @qualifier='lastName']"/> </a> <xsl:text> | </xsl:text> <a> <xsl:attribute name="href"> <xsl:value-of select="/dri:document/dri:meta/dri:userMeta/ dri:metadata[@element='identifier' and @qualifier='logoutURL']"/> </xsl:attribute> <i18n:text>xmlui.dri2xhtml.structural.logout</i18n:text> </a> </p> </div> </xsl:when> <xsl:otherwise> <div id="ds-user-box"> <p> <a> <xsl:attribute name="href"> <xsl:value-of select="/dri:document/dri:meta/dri:userMeta/ dri:metadata[@element='identifier' and @qualifier='loginURL']"/> </xsl:attribute> <i18n:text>xmlui.dri2xhtml.structural.login</i18n:text> </a> </p> </div> </xsl:otherwise> </xsl:choose> <xsl:call-template name="languageSelection" /> </div> </div> <div id="uhl-header"> <a> <xsl:attribute name="href"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/</xsl:text> </xsl:attribute> <img> <xsl:attribute name="src"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/themes/</xsl:text> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='theme'][@qualifier='path']"/> <xsl:text>/images/uhir-logo.png</xsl:text> </xsl:attribute> </img> </a> </div> </xsl:template> <!-- The header (distinct from the HTML head element) contains the title, subtitle, login box and various placeholders for header images --> <xsl:template name="buildTrail"> <div id="ds-trail-wrapper"> <ul id="ds-trail"> <xsl:choose> <xsl:when test="starts-with($request-uri, 'page/about')"> <xsl:text>About This Repository</xsl:text> </xsl:when> <xsl:when test="count(/dri:document/dri:meta/dri:pageMeta/dri:trail) = 0"> <li class="ds-trail-link first-link">-</li> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="/dri:document/dri:meta/dri:pageMeta/dri:trail"/> </xsl:otherwise> </xsl:choose> </ul> </div> </xsl:template> <xsl:template match="dri:trail"> <!--put an arrow between the parts of the trail--> <xsl:if test="position()>1"> <li class="ds-trail-arrow"> <xsl:text>&#8594;</xsl:text> </li> </xsl:if> <li> <xsl:attribute name="class"> <xsl:text>ds-trail-link </xsl:text> <xsl:if test="position()=1"> <xsl:text>first-link </xsl:text> </xsl:if> <xsl:if test="position()=last()"> <xsl:text>last-link</xsl:text> </xsl:if> </xsl:attribute> <!-- Determine whether we are dealing with a link or plain text trail link --> <xsl:choose> <xsl:when test="./@target"> <a> <xsl:attribute name="href"> <xsl:value-of select="./@target"/> </xsl:attribute> <xsl:apply-templates /> </a> </xsl:when> <xsl:otherwise> <xsl:apply-templates /> </xsl:otherwise> </xsl:choose> </li> </xsl:template> <xsl:template name="cc-license"> <xsl:param name="metadataURL"/> <xsl:variable name="externalMetadataURL"> <xsl:text>cocoon:/</xsl:text> <xsl:value-of select="$metadataURL"/> <xsl:text>?sections=dmdSec,fileSec&amp;fileGrpTypes=THUMBNAIL</xsl:text> </xsl:variable> <xsl:variable name="ccLicenseName" select="document($externalMetadataURL)//dim:field[@element='rights']" /> <xsl:variable name="ccLicenseUri" select="document($externalMetadataURL)//dim:field[@element='rights'][@qualifier='uri']" /> <xsl:variable name="handleUri"> <xsl:for-each select="document($externalMetadataURL)//dim:field[@element='identifier' and @qualifier='uri']"> <a> <xsl:attribute name="href"> <xsl:copy-of select="./node()"/> </xsl:attribute> <xsl:copy-of select="./node()"/> </a> <xsl:if test="count(following-sibling::dim:field[@element='identifier' and @qualifier='uri']) != 0"> <xsl:text>, </xsl:text> </xsl:if> </xsl:for-each> </xsl:variable> <xsl:if test="$ccLicenseName and $ccLicenseUri and contains($ccLicenseUri, 'creativecommons')"> <div about="{$handleUri}" class="clearfix"> <xsl:attribute name="style"> <xsl:text>margin:0em 2em 0em 2em; padding-bottom:0em;</xsl:text> </xsl:attribute> <a rel="license" href="{$ccLicenseUri}" alt="{$ccLicenseName}" title="{$ccLicenseName}" > <xsl:call-template name="cc-logo"> <xsl:with-param name="ccLicenseName" select="$ccLicenseName"/> <xsl:with-param name="ccLicenseUri" select="$ccLicenseUri"/> </xsl:call-template> </a> <span> <xsl:attribute name="style"> <xsl:text>vertical-align:middle; text-indent:0 !important;</xsl:text> </xsl:attribute> <i18n:text>xmlui.dri2xhtml.METS-1.0.cc-license-text</i18n:text> <xsl:value-of select="$ccLicenseName"/> </span> </div> </xsl:if> </xsl:template> <xsl:template name="cc-logo"> <xsl:param name="ccLicenseName"/> <xsl:param name="ccLicenseUri"/> <xsl:variable name="ccLogo"> <xsl:choose> <xsl:when test="starts-with($ccLicenseUri, 'http://creativecommons.org/licenses/by/')"> <xsl:value-of select="'cc-by.png'" /> </xsl:when> <xsl:when test="starts-with($ccLicenseUri, 'http://creativecommons.org/licenses/by-sa/')"> <xsl:value-of select="'cc-by-sa.png'" /> </xsl:when> <xsl:when test="starts-with($ccLicenseUri, 'http://creativecommons.org/licenses/by-nd/')"> <xsl:value-of select="'cc-by-nd.png'" /> </xsl:when> <xsl:when test="starts-with($ccLicenseUri, 'http://creativecommons.org/licenses/by-nc/')"> <xsl:value-of select="'cc-by-nc.png'" /> </xsl:when> <xsl:when test="starts-with($ccLicenseUri, 'http://creativecommons.org/licenses/by-nc-sa/')"> <xsl:value-of select="'cc-by-nc-sa.png'" /> </xsl:when> <xsl:when test="starts-with($ccLicenseUri, 'http://creativecommons.org/licenses/by-nc-nd/')"> <xsl:value-of select="'cc-by-nc-nd.png'" /> </xsl:when> <xsl:when test="starts-with($ccLicenseUri, 'http://creativecommons.org/publicdomain/zero/')"> <xsl:value-of select="'cc-zero.png'" /> </xsl:when> <xsl:when test="starts-with($ccLicenseUri, 'http://creativecommons.org/publicdomain/mark/')"> <xsl:value-of select="'cc-mark.png'" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="'cc-generic.png'" /> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="ccLogoImgSrc"> <xsl:value-of select="$theme-path"/> <xsl:text>/images/creativecommons/</xsl:text> <xsl:value-of select="$ccLogo"/> </xsl:variable> <img> <xsl:attribute name="src"> <xsl:value-of select="$ccLogoImgSrc"/> </xsl:attribute> <xsl:attribute name="alt"> <xsl:value-of select="$ccLicenseName"/> </xsl:attribute> <xsl:attribute name="style"> <xsl:text>float:left; margin:0em 1em 0em 0em; border:none;</xsl:text> </xsl:attribute> </img> </xsl:template> <!-- Like the header, the footer contains various miscellaneous text, links, and image placeholders --> <xsl:template name="buildFooter"> <div id="ds-footer-wrapper"> <div id="ds-footer"> <div id="content"> <div id="links"> <div id="social"> <!-- Twitter account --> <a target="_blank"> <xsl:attribute name="href"> <xsl:text>http://www.twitter.com/</xsl:text> <xsl:text>royopa</xsl:text> </xsl:attribute> <div title="Twitter" id="twitter"><xsl:text> </xsl:text></div> </a> <!-- Facebook account --> <a target="_blank"> <xsl:attribute name="href"> <xsl:text>https://www.facebook.com/</xsl:text> <xsl:text>royopa</xsl:text> </xsl:attribute> <div title="Facebook" id="facebook"><xsl:text> </xsl:text></div> </a> <!-- Youtube account --> <a target="_blank"> <xsl:attribute name="href"> <xsl:text>http://www.youtube.com/user/</xsl:text> <xsl:text>royopa</xsl:text> </xsl:attribute> <div title="YouTube" id="youtube"><xsl:text> </xsl:text></div> </a> </div> <div id="uhds-links"> <ul> <li class="first"> <a> <xsl:attribute name="href"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/contact</xsl:text> </xsl:attribute> <i18n:text>xmlui.dri2xhtml.structural.contact-link</i18n:text> </a> </li> <li xmlns:i18n="http://apache.org/cocoon/i18n/2.1"> <a> <xsl:attribute name="href"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/feedback</xsl:text> </xsl:attribute> <i18n:text>xmlui.dri2xhtml.structural.feedback-link</i18n:text> </a> </li> </ul> </div> <div id="uhl-address">Sala de Treinamento GED BRAZIL em Niterói – RJ Av. Amaral Peixoto, n. 467, Sala 807 - Niterói - Centro</div> </div> <div id="uhl-logo"> <a> <xsl:attribute name="href"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/</xsl:text> </xsl:attribute> <img> <xsl:attribute name="src"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/themes/</xsl:text> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='theme'][@qualifier='path']"/> <xsl:text>/images/UHL-stacked.png</xsl:text> </xsl:attribute> </img> </a> </div> <!-- <div id="ds-footer-left"> <a href="http://www.dspace.org/" target="_blank">DSpace software</a> copyright&#160;&#169;&#160;2002-2012&#160; <a href="http://www.duraspace.org/" target="_blank">Duraspace</a> </div> <div id="ds-footer-right"> <span class="theme-by">Theme by&#160;</span> <a title="@mire NV" target="_blank" href="http://atmire.com" id="ds-footer-logo-link"> <span id="ds-footer-logo">&#160;</span> </a> </div> <div id="ds-footer-links"> <a> <xsl:attribute name="href"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/contact</xsl:text> </xsl:attribute> <i18n:text>xmlui.dri2xhtml.structural.contact-link</i18n:text> </a> <xsl:text> | </xsl:text> <a> <xsl:attribute name="href"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/feedback</xsl:text> </xsl:attribute> <i18n:text>xmlui.dri2xhtml.structural.feedback-link</i18n:text> </a> </div> --> <!--Invisible link to HTML sitemap (for search engines) --> <a class="hidden"> <xsl:attribute name="href"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/htmlmap</xsl:text> </xsl:attribute> <xsl:text>&#160;</xsl:text> </a> </div> </div> </div> </xsl:template> <!-- The meta, body, options elements; the three top-level elements in the schema --> <!-- The template to handle the dri:body element. It simply creates the ds-body div and applies templates of the body's child elements (which consists entirely of dri:div tags). --> <xsl:template match="dri:body"> <div id="ds-body"> <xsl:if test="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='alert'][@qualifier='message']"> <div id="ds-system-wide-alert"> <p> <xsl:copy-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='alert'][@qualifier='message']/node()"/> </p> </div> </xsl:if> <!-- Check for the custom pages --> <xsl:choose> <xsl:when test="starts-with($request-uri, 'page/about')"> <div> <h1>About This Repository</h1> <p>To add your own content to this page, edit webapps/xmlui/themes/Mirage/lib/xsl/core/page-structure.xsl and add your own content to the title, trail, and body. If you wish to add additional pages, you will need to create an additional xsl:when block and match the request-uri to whatever page you are adding. Currently, static pages created through altering XSL are only available under the URI prefix of page/.</p> </div> </xsl:when> <!-- Otherwise use default handling of body --> <xsl:otherwise> <xsl:apply-templates /> </xsl:otherwise> </xsl:choose> </div> </xsl:template> <!-- Currently the dri:meta element is not parsed directly. Instead, parts of it are referenced from inside other elements (like reference). The blank template below ends the execution of the meta branch --> <xsl:template match="dri:meta"> </xsl:template> <!-- Meta's children: userMeta, pageMeta, objectMeta and repositoryMeta may or may not have templates of their own. This depends on the meta template implementation, which currently does not go this deep. <xsl:template match="dri:userMeta" /> <xsl:template match="dri:pageMeta" /> <xsl:template match="dri:objectMeta" /> <xsl:template match="dri:repositoryMeta" /> --> <xsl:template name="addJavascript"> <xsl:variable name="jqueryVersion"> <xsl:text>1.6.2</xsl:text> </xsl:variable> <xsl:variable name="protocol"> <xsl:choose> <xsl:when test="starts-with(confman:getProperty('dspace.baseUrl'), 'https://')"> <xsl:text>https://</xsl:text> </xsl:when> <xsl:otherwise> <xsl:text>http://</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:variable> <script type="text/javascript" src="{concat($protocol, 'ajax.googleapis.com/ajax/libs/jquery/', $jqueryVersion ,'/jquery.min.js')}">&#160;</script> <xsl:variable name="localJQuerySrc"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/static/js/jquery-</xsl:text> <xsl:value-of select="$jqueryVersion"/> <xsl:text>.min.js</xsl:text> </xsl:variable> <script type="text/javascript"> <xsl:text disable-output-escaping="yes">!window.jQuery &amp;&amp; document.write('&lt;script type="text/javascript" src="</xsl:text><xsl:value-of select="$localJQuerySrc"/><xsl:text disable-output-escaping="yes">"&gt;&#160;&lt;\/script&gt;')</xsl:text> </script> <!-- função para abrir dialog da citation --> <script type="text/javascript"> function showDialogCitation(idDialog) { //deixa o dialog visível/remove a classe hidden do elemento $('#dialog_'+idDialog).hide().removeClass('hidden'); $('#dialog_'+idDialog) .dialog({ minWidth: 600, minHeigth: 600, title: 'Citar', }); $dialog.dialog('open'); } </script> <!-- Add theme javascipt --> <xsl:for-each select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='javascript'][@qualifier='url']"> <script type="text/javascript"> <xsl:attribute name="src"> <xsl:value-of select="."/> </xsl:attribute>&#160;</script> </xsl:for-each> <xsl:for-each select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='javascript'][not(@qualifier)]"> <script type="text/javascript"> <xsl:attribute name="src"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/themes/</xsl:text> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='theme'][@qualifier='path']"/> <xsl:text>/</xsl:text> <xsl:value-of select="."/> </xsl:attribute>&#160;</script> </xsl:for-each> <!-- add "shared" javascript from static, path is relative to webapp root --> <xsl:for-each select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='javascript'][@qualifier='static']"> <!--This is a dirty way of keeping the scriptaculous stuff from choice-support out of our theme without modifying the administrative and submission sitemaps. This is obviously not ideal, but adding those scripts in those sitemaps is far from ideal as well--> <xsl:choose> <xsl:when test="text() = 'static/js/choice-support.js'"> <script type="text/javascript"> <xsl:attribute name="src"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/themes/</xsl:text> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='theme'][@qualifier='path']"/> <xsl:text>/lib/js/choice-support.js</xsl:text> </xsl:attribute>&#160;</script> </xsl:when> <xsl:when test="not(starts-with(text(), 'static/js/scriptaculous'))"> <script type="text/javascript"> <xsl:attribute name="src"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/</xsl:text> <xsl:value-of select="."/> </xsl:attribute>&#160;</script> </xsl:when> </xsl:choose> </xsl:for-each> <!-- add setup JS code if this is a choices lookup page --> <xsl:if test="dri:body/dri:div[@n='lookup']"> <xsl:call-template name="choiceLookupPopUpSetup"/> </xsl:if> <!--PNG Fix for IE6--> <xsl:text disable-output-escaping="yes">&lt;!--[if lt IE 7 ]&gt;</xsl:text> <script type="text/javascript"> <xsl:attribute name="src"> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/> <xsl:text>/themes/</xsl:text> <xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='theme'][@qualifier='path']"/> <xsl:text>/lib/js/DD_belatedPNG_0.0.8a.js?v=1</xsl:text> </xsl:attribute>&#160;</script> <script type="text/javascript"> <xsl:text>DD_belatedPNG.fix('#ds-header-logo');DD_belatedPNG.fix('#ds-footer-logo');$.each($('img[src$=png]'), function() {DD_belatedPNG.fixPng(this);});</xsl:text> </script> <xsl:text disable-output-escaping="yes" >&lt;![endif]--&gt;</xsl:text> <script type="text/javascript"> runAfterJSImports.execute(); </script> <!-- Add a google analytics script if the key is present --> <xsl:if test="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='google'][@qualifier='analytics']"> <script type="text/javascript"><xsl:text> var _gaq = _gaq || []; _gaq.push(['_setAccount', '</xsl:text><xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='google'][@qualifier='analytics']"/><xsl:text>']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </xsl:text></script> </xsl:if> </xsl:template> </xsl:stylesheet>
  2. Alguém pode me ajudar? Pois estou com certa pressa, se necessário mando mais arquivos.
  3. Alguém saberia responder como posso colocar um menu horizontal com submenus pelo código css? Esse código faz parte do tema Mirage do progama Dspace, estou tentando editá-lo, visto que para mudar seu visual é pelo código css pelo menos é assim no XMLUI. Por ser tratar de um software livre não há problema em editar ou em postar este código. /** * 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/ */ /* * style.css * * Primary Styles */ /*Font size percentages based on the tables at developer.yahoo.com/yui/fonts/ */ h1 { font-size: 182%; color: #1F3F5E; text-align: justify; } h2{ font-size: 123.1%; } h3 { font-size: 116%; } h4 { font-size: 108%; } h5, h6 { font-size: 100%; } /*fix for firefox in os x, where selects get the incorrect height if it's not explicitly set this shouldn't be noticeable in other browsers*/ select { height: 20px; } select.multiple { height: auto; } #ds-header-wrapper { background-color: #EEEEEE; color: white; min-width: 950px; } #ds-header-logo-link { text-decoration: none; cursor: pointer; } #ds-header-logo { float:left; width: 48px; height: 50px; margin-top: 10px; background: url('../../images/dspace-logo-only.png'); background-repeat: no-repeat; background-color: transparent; margin-right: 15px; } #ds-header-logo-text { font-size: 400%; color: white; line-height: 70px; font-weight: normal; vertical-align: middle; float: left; } #ds-user-box { right: 0; top: 17px; position: absolute; color: white; } #ds-language-selection { right: 0; top: 40px; position: absolute; color: white; } #ds-user-box a, #ds-language-selection a { color: white; } #ds-trail-wrapper { background-color: #b6c8d9; /*#b6c8d9*/ margin: 0; padding: 0; border-top: 1px solid #9cacba; border-bottom: 1px solid #9cacba; min-width: 950px; } #ds-trail { list-style: none; line-height: 138.5%; margin: 0; padding: 3px 0; } #ds-trail li { display: inline; color: #EEEEEE; margin-right: 5px; } #ds-trail a { color: #EEEEEE; } #no-js-warning, #ds-trail, #ds-header, #ds-footer, #ds-content { width: 950px; margin: auto; position: relative; } /*ie6 uses quirks mode for strict xhtml pages, and in quirks mode margin: auto; doesn't center things*/ .ie6 #no-js-warning-wrapper, .ie6 #ds-trail-wrapper, .ie6 #ds-header-wrapper, .ie6 #ds-footer-wrapper, .ie6 #ds-content-wrapper { text-align: center; } .ie6 #ds-trail, .ie6 #ds-header, .ie6 #ds-footer, .ie6 #ds-content { margin: 0; text-align: left; } #ds-footer-wrapper { margin-top: 40px; } #ds-footer { border-top: 1px solid #9CACBA; padding-top: 10px; font-size: 93%; line-height: 1.6em; } #ds-footer-left { float: left; } #ds-footer-right { float:right; } #ds-footer-right span.theme-by{ display: inline-block; vertical-align: top; } #ds-footer-logo-link { text-decoration:none; line-height: 40px; cursor: pointer; } #ds-footer-logo { display: inline-block; background: url('../../images/@mirelogo-small.png'); background-repeat: no-repeat; width: 79px; height: 40px; } #ds-footer-links { clear: left; } .ie6 #ds-footer-links { display: inline; } /*make transparent PNGs invisible in IE6 until PNG-fix is applied*/ .ie6 #ds-header-logo, .ie6 #ds-footer-logo { visibility: hidden; } #ds-body { float: left; width: 675px; padding-top: 10px; } #ds-options-wrapper { float: right; width: 249px; padding-top:10px; } #ds-options { padding: 0; } h1.ds-option-set-head { margin-top: 20px; background-color: #f0f2f5; padding: 3px 10px; border: 1px solid #d8e8eb; border-bottom: none; font-size: 108%; } #ds-search-option-head{ margin-top: 0; } div.ds-option-set { border: 1px solid #d8e8eb; border-top: none; } div.ds-option-set ul { list-style: none; margin-left: 10px; padding-top: 5px; padding-bottom: 5px; } div.ds-option-set .ds-sublist-head { font-weight: normal; font-size: 100%; } div.ds-option-set ul.sublist { margin-left: 20px; padding-top: 0; padding-bottom: 0; } div#ds-feed-option li { padding-top: 4px; } div#ds-feed-option a { padding: 0px 0px 2px 20px; } #ds-search-option { padding: 10px; } #ds-search-form { margin-bottom: 10px; } #ds-search-form input.ds-text-field{ width: 169px; } #ds-search-form input.ds-button-field { margin-left: 6px; } #ds-search-form input.ds-text-field, #ds-search-form input.ds-button-field{ margin-bottom: 10px; } p { margin-bottom: 10px; } #aspect_eperson_EditProfile_list_form, .submission fieldset.ds-form-list, .administrative fieldset.ds-form-list { margin-bottom: 25px; } .primary { margin-top: 10px; margin-bottom: 30px; } ol { margin: 0; list-style: none; } th, td { padding: 5px; vertical-align: middle; } .ds-button-field, #aspect_eperson_StartRegistration_list_registration-progress li { background-color: #6d859c; border: 1px solid #1F3F5E; padding: 2px 5px; color: #FFFFFF; font-weight: bold; cursor: pointer; } .ds-button-field[disabled="disabled"], .ds-button-field.disabled, li.button.disabled input { opacity: 0.35; cursor: auto; } #aspect_eperson_StartRegistration_list_registration-progress li { cursor: default; } #aspect_eperson_StartRegistration_list_registration-progress li.arrow { background-color: inherit; border: none; color: inherit; font-weight: normal; } .ie6 #aspect_eperson_StartRegistration_list_registration-progress li.arrow, .ie7 #aspect_eperson_StartRegistration_list_registration-progress li.arrow { background-color: #FFFFFF; color: #444444; } .ie6 #aspect_eperson_StartRegistration_list_registration-progress li.arrow { padding-top: 5px; } ul.ds-progress-list { margin: 0 0 10px 0; padding: 2px 0; text-align: center; } ul.ds-progress-list li { font-weight: bold; overflow: hidden; display: inline; padding: 0; margin: 0; max-width: 400px; } ul.ds-progress-list li.button { padding: 0; } ul.ds-progress-list li.button input.ds-button-field { font-size: 77%; } .ie6 ul.ds-progress-list li.button input.ds-button-field, .ie7 ul.ds-progress-list li.button input.ds-button-field { padding-left: 0; padding-right: 0; } ul.ds-progress-list li.current input.ds-button-field, #aspect_eperson_StartRegistration_list_registration-progress li.current { background-color: #499c73; border: 1px solid #1f5e3f; } ul.ds-progress-list li.disabled input.ds-button-field #aspect_eperson_StartRegistration_list_registration-progress li.disabled { background-color: #F0F2F5; border: 1px solid #D8E8EB; color: #444444; cursor: default; } .ie6 .disabled, .ie6 li.disabled input, .ie7 .ds-button-field.disabled, .ie7 li.button.disabled input, .ie8 .ds-button-field.disabled, .ie8 li.button.disabled input { filter: progid:DXImageTransform.Microsoft.Alpha(opacity = 50); zoom: 1; cursor: auto; } ul.ds-progress-list li.arrow { border: none; background: none; font-size: 116%; font-weight: normal; margin-left: 3px; margin-right: 3px; } .ie6 ul.ds-progress-list li.arrow { height: 25px; width: 25px; margin: 0; } textarea.ds-textarea-field, input.ds-text-field, input.ds-file-field, input.ds-button-field, input.ds-password-field { margin-bottom: 5px; margin-top: 5px; font-size: 93%; } textarea.ds-textarea-field, input.ds-text-field, input.ds-password-field { padding: 3px; border: 1px solid #AAAAAA; } .ie6 input.ds-text-field, .ie6 input.ds-password-field { font-size: 85%; height: 22px; } .submission .ds-form-list input.ds-text-field, .administrative .ds-form-list input.ds-text-field, textarea.ds-textarea-field { width: 500px; } table textarea.ds-textarea-field { width: 400px; } #aspect_administrative_item_EditItemMetadataForm_field_value { width: 570px; } #aspect_administrative_registries_EditMetadataSchema_list_edit-schema-new-field-form .ds-text-field, #aspect_administrative_item_EditItemMetadataForm_field_language, .ds-composite-component input.ds-text-field { width: auto; } textarea.ds-textarea-field:focus, input.ds-text-field:focus, input.input.ds-password-field:focus { border-color: #5F9DE4; } /* * Show a blue glow around a focused text field * only target browsers that support rgba colors and boxshadows * see http://www.modernizr.com/docs/ */ .rgba.boxshadow textarea.ds-textarea-field:focus, .rgba.boxshadow input.ds-text-field:focus, .rgba.boxshadow input.ds-password-field:focus { -moz-box-shadow:0 0 8px rgba(95, 158, 212, 0.5); -webkit-box-shadow:0 0 8px rgba(95, 158, 212, 0.5); box-shadow:0 0 8px rgba(95, 158, 212, 0.5); border-color:rgba(95, 158, 212, 0.75); outline:medium none; } span.error { clear: both; display: block; color: #c22121; font-size: 0.9em; margin-top: 3px; } textarea.ds-textarea-field.error, input.ds-text-field.error, input.ds-password-field.error { border-color: #c22121; background-color: #fff2f2; } .rgba.boxshadow textarea.ds-textarea-field.error:focus, .rgba.boxshadow input.ds-text-field.error:focus, .rgba.boxshadow input.ds-password-field.error:focus { -moz-box-shadow:0 0 8px rgba(194, 33, 33, 0.5); -webkit-box-shadow:0 0 8px rgba(194, 33, 33, 0.5); box-shadow:0 0 8px rgba(194, 33, 33, 0.5); border-color:rgba(194, 33, 33, 0.75) !important; outline:medium none; } .ds-form-list { margin-top: 15px; } .submission h2, .ds-form-list legend{ font-size: 182%; margin-bottom: 15px; color: #1F3F5E; } .ds-form-item legend { font-size: 100%; margin:0; color: inherit; } fieldset ol { margin: 0; } li.ds-form-item { list-style: none; margin-bottom: 35px; vertical-align: middle !important; position: relative; clear: left; } li.ds-form-item.last { margin-bottom: 0; } li.ds-form-item .ds-form-label{ font-weight: bold; font-size: 123.1%; } li.ds-form-item label.ds-composite-component{ display: block; float: left; font-size: 93%; padding:0 8px 0 0; } li.ds-form-item label.ds-composite-component input.ds-text-field{ font-size: 100%; width: 242px; } li.ds-form-item .ds-select-field { margin-top: 5px; } .ds-add-button, label.ds-composite-component .ds-select-field { margin-top: 6px; margin-bottom: 6px; } li.ds-form-item label.ds-composite-component.last{ padding:0; } .ds-add-button { vertical-align: top; margin-left: 8px; } .ds-form-content input.ds-button-field { font-size: 93%; } select#aspect_submission_submit_SelectCollectionStep_field_handle { max-width: 350px; } #aspect_submission_StepTransformer_field_dc_date_issued_year, #aspect_submission_StepTransformer_field_dc_date_issued_day { width: 50px; } #aspect_submission_StepTransformer_field_dc_identifier_value { width: 130px; margin-bottom: 0; } span.composite-help, span.field-help { display: block; font-size: 93%; margin-top: 3px; width: 506px; text-align: justify; } .ds-checkbox-field input, .ds-radio-field input { margin-left: 0; } .ds-checkbox-field label, .ds-radio-field label { margin-right: 3px; } /*hide the double label for checkboxes & radio buttons*/ .ds-checkbox-field legend, .ds-radio-field legend { display: none; } .ds-previous-values { margin-top: 10px; clear: both; } #aspect_submission_Submissions_div_submissions .ds-static-div, .submission .ds-form-sublist ol { background-color: #fafafa; border: 1px solid #ebebeb; margin-top: 3px; margin-bottom: 30px; padding: 10px; } #aspect_submission_Submissions_div_submissions table, #aspect_submission_Submissions_div_submissions table tr, #aspect_submission_Submissions_div_submissions table td, #aspect_submission_Submissions_div_submissions table th { background-color: #FFFFFF; border: 1px solid #9CACBA; } #aspect_submission_Submissions_div_submissions table tr.ds-table-header-row, #aspect_submission_Submissions_div_submissions table tr.ds-table-header-row th { background-color: #B6C8D9; border: 1px solid #9CACBA; } .submission .ds-form-sublist li.ds-form-item { margin-bottom: 5px; } .submission .ds-form-sublist .ds-form-label { font-weight: bold; } .administrative.tabbed ul.horizontal { list-style: none; margin: 15px 0 0; border-bottom: 1px solid #9cacba; } .administrative.tabbed ul.horizontal li{ float: left; border: 1px solid #9cacba; padding: 5px; margin-bottom: -1px; margin-right: 7px; border-bottom: none; } .administrative.tabbed ul.horizontal li a{ text-decoration: none; color: #444444; } .administrative.tabbed ul.horizontal li.active-tab{ background-color: #fafafa; z-index: 1; font-weight: bold; } .pane { padding: 10px; clear: both; background-color: #fafafa; border: 1px solid #9cacba; margin-bottom: 25px; margin-top: 0; } .pane .ds-form-list { margin-top: 0; } .administrative.tabbed .pane { border-top: none; } .pagination, .pagination-masked { padding: 7px; background-color: #fafafa; border: 1px solid #ebebeb; line-height: 1em; vertical-align:middle; } .pagination-links { list-style: none; float: right; margin: 0; } .pagination-links li { display: inline; padding-left: 2px; padding-right: 2px; } .current-page-link { font-weight: bold; color: #1F3F5E; } .current-page-link a{ color: #1F3F5E; } .pagination-info { float: left; margin:0; } .pagination-masked.top { margin-top: 5px; } .ds-artifact-list { list-style: none; margin: 0; line-height: 153.9%; } .file-wrapper, .ds-artifact-item { padding-top: 15px; padding-bottom: 15px; } .ds-artifact-item.collection, .ds-artifact-item.community { padding-top: 1px; padding-bottom: 1px; } .community .artifact-title a { font-weight: bold; } .collection .artifact-title a { font-weight: normal; } #aspect_artifactbrowser_CommunityBrowser_div_comunity-browser .short-description, #aspect_discovery_SiteRecentSubmissions_div_site-home .short-description { display: none; } #aspect_artifactbrowser_SimpleSearch_div_search-results li, #aspect_discovery_SimpleSearch_div_search-results li, #aspect_artifactbrowser_AdvancedSearch_div_search-results li { padding-top: 15px; padding-bottom: 15px; } #aspect_artifactbrowser_SimpleSearch_div_search-results ul, #aspect_discovery_SimpleSearch_div_search-results ul, #aspect_artifactbrowser_AdvancedSearch_div_search-results ul { margin-bottom: 25px; } .artifact-title { font-size: 123.1%; } .result-query, .artifact-info { color: gray; } .artifact-abstract { text-align: justify; } ul.alphabet { list-style: none; margin: 0; } ul.alphabet li { display:inline; } #aspect_eperson_PasswordLogin_list_password-login .ds-form-item { float: left; margin: 0; margin-right: 25px; } #aspect_eperson_PasswordLogin_list_password-login .ds-form-item a { margin-left: 20px; } #aspect_eperson_PasswordLogin_list_password-login .ds-form-item.last { clear: left; } #aspect_eperson_PasswordLogin_list_password-login .ds-form-item.last .ds-form-label{ display: none; } td select.ds-select-field { margin-left: 5px; } form.search, div.discoverySearchBox { background-color: #fafafa; border: 1px solid #ebebeb; padding: 10px; margin-bottom: 15px; } form.search label, div.discoverySearchBox label { font-weight: bold; } form.search p.ds-paragraph.button-list, div.discoverySearchBox p.ds-paragraph.button-list { text-align: center; margin: 0; } form.search fieldset, div.discoverySearchBox fieldset { margin: 0; } form.search .ds-form-item, div.discoverySearchBox .ds-form-item { margin: 0; padding-bottom: 5px; } form.search .ds-form-item select, div.discoverySearchBox .ds-form-item select { margin-top: 0; } form.search label.ds-composite-component .ds-select-field, div.discoverySearchBox label.ds-composite-component .ds-select-field { margin-top: 6px; } form.search .ds-form-item label, div.discoverySearchBox .ds-form-item label { font-size: 100%; } form.search .ds-form-content, div.discoverySearchBox .ds-form-content { display: inline; } form.search table input.ds-text-field, div.discoverySearchBox table input.ds-text-field { margin: 0; } form.search .field-help, div.discoverySearchBox .field-help { margin: 3px 0; } .collection .search, .community .search { margin-top: 25px; } #aspect_discovery_CollectionSearch_p_search-query, #aspect_discovery_CommunitySearch_p_search-query{ margin-bottom:0; } .result-query { margin-bottom: 30px; } #aspect_administrative_registries_EditMetadataSchema_table_metadata-schema-edit-existing-fields, #aspect_administrative_registries_MetadataRegistryMain_table_metadata-registry-main-table, #aspect_administrative_registries_FormatRegistryMain_table_bitstream-format-registry, #aspect_submission_Submissions_table_unfinished-submissions, #aspect_submission_Submissions_table_submissions-inprogress, #aspect_submission_Submissions_table_completed-submissions, table.detailtable { margin-top: 10px; margin-bottom: 10px; border-collapse: collapse; } #aspect_administrative_registries_EditMetadataSchema_table_metadata-schema-edit-existing-fields tr, #aspect_administrative_registries_MetadataRegistryMain_table_metadata-registry-main-table tr, #aspect_administrative_registries_FormatRegistryMain_table_bitstream-format-registry tr, #aspect_submission_Submissions_table_unfinished-submissions tr, #aspect_submission_Submissions_table_submissions-inprogress tr, #aspect_submission_Submissions_table_completed-submissions tr, table.detailtable tr { line-height: 1.6em; border: 1px solid #ebebeb; } #aspect_administrative_registries_EditMetadataSchema_table_metadata-schema-edit-existing-fields tr.even, #aspect_administrative_registries_MetadataRegistryMain_table_metadata-registry-main-table tr.even, #aspect_administrative_registries_FormatRegistryMain_table_bitstream-format-registry tr.even, #aspect_submission_Submissions_table_unfinished-submissions tr.even, #aspect_submission_Submissions_table_submissions-inprogress tr.even, #aspect_submission_Submissions_table_completed-submissions tr.even, table.detailtable tr.even { background-color: #fafafa; } #aspect_administrative_registries_EditMetadataSchema_table_metadata-schema-edit-existing-fields td, #aspect_administrative_registries_MetadataRegistryMain_table_metadata-registry-main-table td, #aspect_administrative_registries_FormatRegistryMain_table_bitstream-format-registry td, #aspect_submission_Submissions_table_unfinished-submissions td, #aspect_submission_Submissions_table_submissions-inprogress td, #aspect_submission_Submissions_table_completed-submissions td, table.detailtable td { padding: 5px 10px; text-align: justify; border: 1px solid #ebebeb; vertical-align: top; } #aspect_administrative_registries_EditMetadataSchema_table_metadata-schema-edit-existing-fields tr.ds-table-header-row, #aspect_administrative_registries_MetadataRegistryMain_table_metadata-registry-main-table tr.ds-table-header-row, #aspect_administrative_registries_FormatRegistryMain_table_bitstream-format-registry tr.ds-table-header-row, #aspect_submission_Submissions_table_unfinished-submissions tr.ds-table-header-row, #aspect_submission_Submissions_table_submissions-inprogress tr.ds-table-header-row, #aspect_submission_Submissions_table_completed-submissions tr.ds-table-header-row { border: none; } table.detailtable td.label-cell { font-weight: bold; text-align: left; width: 100px; } div.item-summary-view-metadata h1, div.item-summary-view-metadata h2 { line-height: normal; } div.item-summary-view-metadata { text-align: justify; line-height: 161.6%; margin-bottom: 30px; } div.simple-item-view-authors { font-size: 123.1%; font-weight: bold; border-bottom:1px solid #D8E8EB; padding-bottom: 2px; margin-bottom: 20px; text-align: justify; } div.simple-item-view-authors span{ text-align: justify; } #aspect_artifactbrowser_ItemViewer_div_item-view h2, div.item-summary-view-metadata p.item-view-toggle-bottom, div.simple-item-view-description { margin-top: 20px; } #aspect_artifactbrowser_ItemViewer_div_item-view h2, div.simple-item-view-description h3{ border-bottom:1px solid #D8E8EB; margin-bottom: 3px; } #aspect_artifactbrowser_ItemViewer_div_item-view h2 { margin-bottom: 10px; } div.spacer{ height: 15px; } .thumbnail-wrapper, .file-metadata, .file-link { float: left; margin-right: 15px; } .item-metadata { float: left; } .file-metadata { width: 300px; } .file-metadata span, .item-metadata span { float: left; } .item-metadata span.content span { float: none; } .file-metadata span.bold, .item-metadata span.bold { width: 80px; clear: left; text-align: right; margin-right: 7px; } #ds-system-wide-alert, .notice { padding: 10px; margin: 10px 0; border: 1px solid #bfc221; background-color: #fffff2; } .notice.success { border-color: #21c221; background-color: #f2fff2; } #ds-system-wide-alert, .notice.failure { border-color: #c22121; background-color: #fff2f2; } #ds-system-wide-alert p { margin: 0; } #aspect_artifactbrowser_CommunityViewer_div_community-home h2, #aspect_artifactbrowser_CollectionViewer_div_collection-home h2 { margin-top: 30px; border-bottom:1px solid #D8E8EB; margin-bottom: 3px; } .ds-logo-wrapper { display: block; } #aspect_administrative_item_FindItemForm_list_find-item-form .ds-form-item { margin:0; } #aspect_administrative_registries_EditMetadataSchema_div_edit-schema-new-field .ds-form-item.last { margin-top: -25px; } #no-js-warning { margin-top: 15px; margin-bottom: 10px; text-align: center; } form.discover-search-box{ margin-bottom: 10px; } form.discover-sort-box select{ margin: 0 4px; } .hidden { display:none; visibility:hidden; } .icon-button{ padding:4px; cursor: pointer; margin: 2px; background-color: #6D859C; border: 1px solid #1F3F5E; text-indent: -1000px; width: 30px; height: 30px; display:block; /*Required for IE*/ font-size: 0; line-height: 0; } .icon-button.arrowUp{ background-image: url(../../images/arrow_up_ffffff_16x16.png); background-repeat: no-repeat; background-position: center center; } .icon-button.arrowDown{ background-image: url(../../images/arrow_down_ffffff_16x16.png); background-repeat: no-repeat; background-position: center center; } /* FOR CC License */ span.floatleft { border:none; float:right; display:inline; } /* FOR CC PAGE to GROUP ITEMS horizontally */ ul.horizontal li span.bold a { color: black; } /* group items horizontally in a list */ ul.horizontalVanilla { font-weight: bold; list-style-type: none; padding: 0px; padding-left: 0px; padding-bottom: 15px; border-left: 1px solid white; border-right: 1px solid white; margin: 10px -1px 5px -1px; width: inherit; } ul.horizontalVanilla li { float: left; height: 100%; background-color: rgb(255, 255, 255); margin: 2px 2px 0px 2px; /* border: 1px solid rgb(240, 240, 210); */ } /* Controlled vocabulary support css START*/ ul.vocabulary { margin-left: 0; } ul.vocabulary, ul.vocabulary ul, ul.vocabulary li { list-style: none; } ul.vocabulary div.vocabulary-node-icon{ cursor: pointer; width: 15px; height: 12px; display: inline-block; } ul.vocabulary div.vocabulary-node-icon.vocabulary-doc{ background-image: url(../../images/controlledvocabulary/voc_doc_222222.png); } ul.vocabulary div.vocabulary-node-icon.vocabulary-open{ background-image: url(../../images/controlledvocabulary/voc_open_222222.png); } ul.vocabulary div.vocabulary-node-icon.vocabulary-closed{ background-image: url(../../images/controlledvocabulary/voc_closed_222222.png); background-repeat: no-repeat; } div.vocabulary-container li.error{ color: #c22121; } /* Controlled vocabulary support css END*/ #aspect_administrative_authorization_EditPolicyForm_field_start_date{ width: 100px; } #aspect_administrative_authorization_EditPolicyForm_field_end_date{ width: 100px; } #aspect_administrative_authorization_EditItemPolicies_table_policies-confirm-delete tr, #aspect_administrative_authorization_EditItemPolicies_table_policies-confirm-delete td { border: 1px solid lightgray; } #aspect_administrative_authorization_AdvacedAuthorizationsForm_field_end_date{ width: 100px; } #aspect_administrative_authorization_AdvacedAuthorizationsForm_field_start_date{ width: 100px; } #aspect_submission_StepTransformer_field_embargo_until_date{ width: 100px; } #aspect_administrative_item_AddBitstreamForm_field_embargo_until_date{ width: 100px; } #aspect_administrative_item_EditBitstreamForm_field_embargo_until_date{ width: 100px; } #aspect_submission_StepTransformer_table_policies tr, #aspect_submission_StepTransformer_table_policies td { border: 1px solid lightgray; } table.detailtable { background-color: #D8E8EB; } table.detailtable th{ background-color: #F0F2F5; word-wrap: normal; } table.detailtable td{ background-color: #FFFFFF; text-align: right; } span.highlight{ font-weight: bold; } div.gear-icon{ background-image: url('../../images/gear_6D859C_25x25.png'); } ul.gear-selection li.gear-option-selected{ background: url('../../images/check_606060_15x15.png') no-repeat 3px center; } input#aspect_discovery_SimpleSearch_field_query{ width: 565px; } input.search-icon{ background-image: url('../../images/search_icon_ffffff_20x20.png'); background-repeat: no-repeat; background-position: center center; text-indent: -1000px; /*Css props below are required for IE*/ font-size: 0; display:block; line-height: 0; } div#aspect_discovery_SimpleSearch_div_search p.pagination-info{ display: none; } div#aspect_discovery_SimpleSearch_div_search .pagination-links{ float: left; } table.discovery-filters{ width: 100%; background-color: #FFFFFF; } table.discovery-filters tr{ border-top: 1px solid #EBEBEB; } table.discovery-filters td{ padding: 0; } table.discovery-filters td.selection{ width: 1%; } table.discovery-filters th.new-filter-header{ text-align: left; padding-top: 20px; } table.discovery-filters td.discovery-filter-input-cell { padding-left: 3px; } table.discovery-filters tr.apply-filter{ background-color: #FAFAFA; } table.discovery-filters tr.apply-filter input{ width: 65px; height: 25px; margin-left: auto; margin-right: auto; font-size: 108%; display: block; margin-top: 10px; } table.discovery-filters td.filter-controls{ width: 50px; } table.discovery-filters input.filter-control { margin-left: 5px; text-indent: -1000px; background-repeat: no-repeat; background-position: center center; height: 17px; width: 17px; float: left; background-color: transparent; border: none; /*Css props below are required for IE*/ font-size: 0; display:block; line-height: 0; } table.discovery-filters input.filter-control.filter-remove{ margin-left: 7px; background-image: url('../../images/button_minus.png'); } table.discovery-filters input.filter-control.filter-add{ background-image: url('../../images/button_plus.png'); } table.discovery-filters tr.search-filter.filler { background-color: #FAFAFA; height: 25px; } table.discovery-filters th.new-filter-header { padding-top: 5px; } .searchTime{ color: #999999; } .didYouMean{ font-size: 18px; } .didYouMean a{ font-weight: bold; } .recentSubmissionViewMore { text-align: right; font-size: 100%; }
×
×
  • Criar Novo...