Commit 46140a9b6dd9c00111d58512cd680d1c1e6601df
Exists in
master
and in
3 other branches
Merge branch 'master' of https://gitlab.com/softwarepublico/noosfero-spb-theme
Showing
3 changed files
with
19 additions
and
25 deletions
Show diff stats
page-catalog-software.css
| 1 | 1 | /*controller-search action-search-software_infos template-default webkit*/ |
| 2 | 2 | |
| 3 | -.action-search-software_infos br { | |
| 4 | - display:none; | |
| 3 | +.action-search-software_infos .org { | |
| 4 | + display:none !important; | |
| 5 | 5 | } |
| 6 | 6 | |
| 7 | 7 | .action-search-software_infos .org { |
| ... | ... | @@ -16,6 +16,7 @@ |
| 16 | 16 | border: none; |
| 17 | 17 | box-shadow: none; |
| 18 | 18 | } |
| 19 | + | |
| 19 | 20 | .action-search-software_infos input[type="checkbox"]{ |
| 20 | 21 | vertical-align:sub; |
| 21 | 22 | } |
| ... | ... | @@ -76,6 +77,7 @@ |
| 76 | 77 | .search-form #search-subheader{ |
| 77 | 78 | padding-left: 14px; |
| 78 | 79 | } |
| 80 | + | |
| 79 | 81 | .search-form #search-header #search-filters{ |
| 80 | 82 | float: left !important; |
| 81 | 83 | padding-left: 14px; |
| ... | ... | @@ -89,8 +91,8 @@ |
| 89 | 91 | border-bottom: 1px solid #ccc !important; |
| 90 | 92 | } |
| 91 | 93 | |
| 92 | -#search-input { | |
| 93 | - width:95% !important; | |
| 94 | +.action-search-software_infos #search-input { | |
| 95 | + width:96%; | |
| 94 | 96 | font-size:110%; |
| 95 | 97 | margin: 4px 0px 0px 13px; |
| 96 | 98 | border-radius: 4px; |
| ... | ... | @@ -222,21 +224,13 @@ |
| 222 | 224 | font-family:Arial; |
| 223 | 225 | font-size: 14px; |
| 224 | 226 | } |
| 227 | + | |
| 225 | 228 | .action-search-software_infos #group-categories label span { |
| 226 | 229 | font-family:Arial; |
| 227 | 230 | font-size: 14px; |
| 228 | 231 | } |
| 229 | 232 | |
| 230 | -.action-search-software_infos #group-categories br { | |
| 231 | - display:inline; | |
| 232 | -} | |
| 233 | - | |
| 234 | -.project-software span{ | |
| 235 | - margin-left: 5px; | |
| 236 | - color:transparent; | |
| 237 | -} | |
| 238 | -.project-software span:before { | |
| 239 | - content:"?"; | |
| 233 | +.project-software span { | |
| 240 | 234 | border-radius: 50%; |
| 241 | 235 | font-size: 16px; |
| 242 | 236 | padding: 2px 6px; | ... | ... |
style.css
| ... | ... | @@ -3309,11 +3309,10 @@ input[type=checkbox] { |
| 3309 | 3309 | border-radius: 90%; |
| 3310 | 3310 | font-size: 12px; |
| 3311 | 3311 | font-weight: 700; |
| 3312 | - background: #5E82C6; | |
| 3312 | + background: #3867b7; | |
| 3313 | 3313 | color: #fff; |
| 3314 | 3314 | margin-left: 4px; |
| 3315 | - padding: 0px 5px 0px 6px; | |
| 3316 | - cursor: pointer; | |
| 3315 | + padding: 0px 6px; | |
| 3317 | 3316 | } |
| 3318 | 3317 | |
| 3319 | 3318 | /* IMAGEM DE REFERÊNCIA |
| ... | ... | @@ -3438,4 +3437,4 @@ input[type=checkbox] { |
| 3438 | 3437 | |
| 3439 | 3438 | #content .main-content .tiny-mce-article .article-body-tiny-mce-article p a { |
| 3440 | 3439 | color: #2c66ce; |
| 3441 | -} | |
| 3442 | 3440 | \ No newline at end of file |
| 3441 | +} | ... | ... |
theme.js
| ... | ... | @@ -136,15 +136,16 @@ $('#link-buscar').click(function(e) { |
| 136 | 136 | |
| 137 | 137 | /* Finds all uploaded files from manuals page and sets its names on the right format */ |
| 138 | 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 | 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 | ... | ... |