|
|
| (Há 15 revisões intermédias de 2 utilizadores que não estão a ser apresentadas) |
| Linha 12: |
Linha 12: |
| | */ | | */ |
| | | | |
| − | /** 1. PÁGINA INICIAL **/ | + | /** |
| | + | 1. PÁGINA INICIAL |
| | + | **/ |
| | | | |
| | /* Retirar o título da Página Inicial */ | | /* Retirar o título da Página Inicial */ |
| Linha 19: |
Linha 21: |
| | } | | } |
| | | | |
| − | /** 2. AVISOS **/ | + | /** |
| | + | 2. AVISOS |
| | + | **/ |
| | | | |
| | .aviso { | | .aviso { |
| Linha 42: |
Linha 46: |
| | } | | } |
| | | | |
| − | /** 3. TABELAS **/ | + | /** |
| − | | + | 3. TABELAS |
| − | /* Wikitable e Prettytable */
| + | **/ |
| − | table.wikitable,
| + | .wikitable>tbody>tr:hover { |
| − | table.prettytable {
| + | background-color: #f5f5f5 |
| − | margin: 1em 1em 1em 0;
| + | |
| − | background: #f9f9f9;
| + | |
| − | border: 1px #aaa solid;
| + | |
| − | border-collapse: collapse;
| + | |
| − | }
| + | |
| − | .wikitable th,
| + | |
| − | .wikitable td,
| + | |
| − | .prettytable th,
| + | |
| − | .prettytable td {
| + | |
| − | border: 1px #aaa solid;
| + | |
| − | padding: 0.2em;
| + | |
| − | }
| + | |
| − | .wikitable th,
| + | |
| − | .prettytable th {
| + | |
| − | background: #f2f2f2;
| + | |
| − | text-align: center;
| + | |
| − | }
| + | |
| − | .wikitable caption,
| + | |
| − | .prettytable caption {
| + | |
| − | margin-left: inherit;
| + | |
| − | margin-right: inherit;
| + | |
| − | font-weight: bold;
| + | |
| | } | | } |
| | | | |
| Linha 99: |
Linha 81: |
| | } | | } |
| | | | |
| − | /** 4. PREDEFINIÇÕES **/ | + | /* Pesquisa nas tabelas */ |
| | + | |
| | + | .search-table{ |
| | + | background-image: url('images/2/24/Estrutura.png'); /* Add a search icon to input */ |
| | + | background-position: 10px 12px; /* Position the search icon */ |
| | + | background-repeat: no-repeat; /* Do not repeat the icon image */ |
| | + | background-size: 30px; |
| | + | width: 200px; /* Collapsed when not focused */ |
| | + | -webkit-transition: width 0.4s ease-in-out; |
| | + | transition: width 0.4s ease-in-out; |
| | + | font-size: 16px; /* Increase font-size */ |
| | + | padding: 12px 20px 12px 50px; /* Add some padding */ |
| | + | border: 1px solid #ddd; /* Add a grey border */ |
| | + | margin-bottom: 10px; /* Add some space below the input */ |
| | + | } |
| | + | |
| | + | .search-table:focus{ |
| | + | width: 100%; /* Full width when focused */ |
| | + | } |
| | + | |
| | + | .results tr[visible='false'], |
| | + | .no-result{ |
| | + | display:none; |
| | + | } |
| | + | |
| | + | .results tr[visible='true']{ |
| | + | display:table-row; |
| | + | } |
| | + | |
| | + | /** |
| | + | 4. PREDEFINIÇÕES |
| | + | **/ |
| | | | |
| | /* Predefinição:Documentação */ | | /* Predefinição:Documentação */ |
| Linha 116: |
Linha 129: |
| | .documentacao-cabecalho { | | .documentacao-cabecalho { |
| | border-bottom: 1px solid #aaa; | | border-bottom: 1px solid #aaa; |
| − | background-color: #ecfcf4;
| |
| | background-image: url(images/2/20/Template_doc.png); | | background-image: url(images/2/20/Template_doc.png); |
| | background-repeat: no-repeat; | | background-repeat: no-repeat; |
| − | background-position: left center; | + | background-position: 2%; |
| | font-size: 125%; | | font-size: 125%; |
| | text-align: left; | | text-align: left; |
| − | padding-left: 13%; | + | padding-left: 12%; |
| | line-height: 50px; | | line-height: 50px; |
| | font-weight: bold; | | font-weight: bold; |
| | + | margin-bottom: 2%; |
| | } | | } |
| | | | |
| Linha 133: |
Linha 146: |
| | background-image: url(images/2/26/Desambiguacao-icone.png); | | background-image: url(images/2/26/Desambiguacao-icone.png); |
| | } | | } |
| | + | |
| | /* Predefinição:Esboço */ | | /* Predefinição:Esboço */ |
| | .esboco { | | .esboco { |
| Linha 140: |
Linha 154: |
| | background-color: #fdfae5; | | background-color: #fdfae5; |
| | } | | } |
| | + | |
| | /* Predefinição:Índice */ | | /* Predefinição:Índice */ |
| | .indice { | | .indice { |
| Linha 147: |
Linha 162: |
| | background-color: #ecfcf4; | | background-color: #ecfcf4; |
| | } | | } |
| | + | |
| | /* Predefinição:Languages */ | | /* Predefinição:Languages */ |
| | .idioma { | | .idioma { |
| Linha 153: |
Linha 169: |
| | background-image: url(images/f/f7/Idioma-icone.png); | | background-image: url(images/f/f7/Idioma-icone.png); |
| | } | | } |
| | + | |
| | /* Predefinição:Construção */ | | /* Predefinição:Construção */ |
| | .construcao { | | .construcao { |
| Linha 161: |
Linha 178: |
| | } | | } |
| | | | |
| − | /** 5. EXTENSÕES **/ | + | /** |
| | + | 5. EXTENSÕES |
| | + | **/ |
| | | | |
| | /* Extensão:Cite */ | | /* Extensão:Cite */ |
| Linha 200: |
Linha 219: |
| | } | | } |
| | | | |
| − | /** 6. OUTRAS ALTERAÇÕES **/ | + | /** |
| | + | 6. OUTRAS ALTERAÇÕES |
| | + | **/ |
| | | | |
| | /* Coloca um fundo em xadrez na página de descrição de imagens se esta tiver fundo transparente */ | | /* Coloca um fundo em xadrez na página de descrição de imagens se esta tiver fundo transparente */ |
| Linha 259: |
Linha 280: |
| | | | |
| | /* Change the link icon to an Adobe icon for all PDF files | | /* Change the link icon to an Adobe icon for all PDF files |
| − | in browsers that support these CSS selectors, like Mozilla and Opera */
| + | in browsers that support these CSS selectors, like Mozilla and Opera */ |
| | div#content a[href$=".pdf"], div#content a[href$=".pdf"].external, | | div#content a[href$=".pdf"], div#content a[href$=".pdf"].external, |
| | div#content a[href*=".pdf?"], div#content a[href*=".pdf?"].external, | | div#content a[href*=".pdf?"], div#content a[href*=".pdf?"].external, |
| Linha 277: |
Linha 298: |
| | } | | } |
| | | | |
| − | /***** Overcome mediawiki bug whereby the WikiEdit sprite is a no-show *****/ | + | /* Overcome mediawiki bug whereby the WikiEdit sprite is a no-show */ |
| | .wikiEditor-toolbar-spritedButton { | | .wikiEditor-toolbar-spritedButton { |
| | background-image: linear-gradient(transparent, transparent), url("/extensions/WikiEditor/modules/images/toolbar/button-sprite.svg?v=001") !important; | | background-image: linear-gradient(transparent, transparent), url("/extensions/WikiEditor/modules/images/toolbar/button-sprite.svg?v=001") !important; |
| | background-position: 0px 0px; /* This gets over-ridden with inline style to move sprite into view of relevant part */ | | background-position: 0px 0px; /* This gets over-ridden with inline style to move sprite into view of relevant part */ |
| | background-repeat: no-repeat !important; | | background-repeat: no-repeat !important; |
| | + | } |
| | + | |
| | + | /* Contact Form */ |
| | + | .cd-form .icon input, .cd-form .icon select, .cd-form .icon textarea { |
| | + | padding-left: 54px !important; |
| | + | } |
| | + | .cd-form .user { |
| | + | background: url("../img/cd-icon-user.svg") no-repeat 16px center; |
| | + | } |
| | + | .cd-form [required].user { |
| | + | background: url("../img/cd-icon-user.svg") no-repeat 16px center, |
| | + | url("../img/cd-required.svg") no-repeat top right; |
| | + | } |
| | + | .cd-form [required] { |
| | + | background: url("../img/cd-required.svg") no-repeat top right; |
| | + | } |
| | + | .cd-form .error { |
| | + | border-color: #e94b35 !important; |
| | } | | } |