Commit ba496fcad9d53fa5d644d61612ad578de3e0e3cd
Committed by
Arthur Sturzbecher

1 parent
e514fa50
Exists in
master
and in
9 other branches
Adding tooltips to use report page
Showing
2 changed files
with
11 additions
and
11 deletions
Show diff stats
style.css
@@ -3303,11 +3303,10 @@ input[type=checkbox] { | @@ -3303,11 +3303,10 @@ input[type=checkbox] { | ||
3303 | border-radius: 90%; | 3303 | border-radius: 90%; |
3304 | font-size: 12px; | 3304 | font-size: 12px; |
3305 | font-weight: 700; | 3305 | font-weight: 700; |
3306 | - background: #5E82C6; | 3306 | + background: #3867b7; |
3307 | color: #fff; | 3307 | color: #fff; |
3308 | margin-left: 4px; | 3308 | margin-left: 4px; |
3309 | - padding: 0px 5px 0px 6px; | ||
3310 | - cursor: pointer; | 3309 | + padding: 0px 6px; |
3311 | } | 3310 | } |
3312 | 3311 | ||
3313 | /* IMAGEM DE REFERÊNCIA | 3312 | /* IMAGEM DE REFERÊNCIA |
@@ -3426,4 +3425,4 @@ input[type=checkbox] { | @@ -3426,4 +3425,4 @@ input[type=checkbox] { | ||
3426 | 3425 | ||
3427 | #content .main-content .tiny-mce-article .article-body-tiny-mce-article p a { | 3426 | #content .main-content .tiny-mce-article .article-body-tiny-mce-article p a { |
3428 | color: #2c66ce; | 3427 | color: #2c66ce; |
3429 | -} | ||
3430 | \ No newline at end of file | 3428 | \ No newline at end of file |
3429 | +} |
theme.js
@@ -136,15 +136,16 @@ $('#link-buscar').click(function(e) { | @@ -136,15 +136,16 @@ $('#link-buscar').click(function(e) { | ||
136 | 136 | ||
137 | /* Finds all uploaded files from manuals page and sets its names on the right format */ | 137 | /* Finds all uploaded files from manuals page and sets its names on the right format */ |
138 | function set_uploaded_files_names() { | 138 | function set_uploaded_files_names() { |
139 | - var article = document.getElementById('article'); | ||
140 | - if(article != null){ | 139 | + try { |
140 | + var article = document.getElementById('article'); | ||
141 | var folderList = article.getElementsByClassName('folder-content')[0]; | 141 | var folderList = article.getElementsByClassName('folder-content')[0]; |
142 | - if(folderList != null){ | ||
143 | - var folderItens = folderList.getElementsByClassName('item-description'); | ||
144 | - for(var i = 0; i < folderItens.length; i++) { | ||
145 | - split_file_extension(folderItens[i].getElementsByTagName('a')[0]); | ||
146 | - } | 142 | + var folderItens = folderList.getElementsByClassName('item-description'); |
143 | + | ||
144 | + for(var i = 0; i < folderItens.length; i++) { | ||
145 | + split_file_extension(folderItens[i].getElementsByTagName('a')[0]); | ||
147 | } | 146 | } |
147 | + } catch(e) { | ||
148 | + | ||
148 | } | 149 | } |
149 | } | 150 | } |
150 | 151 |