Commit 184732226a8432fb16e2947bf0b4b7fc6073aad2
Exists in
master
and in
9 other branches
Merge branch 'master' of portal.softwarepublico.gov.br:softwarepublico/noosfero-spb-theme
Showing
3 changed files
with
37 additions
and
24 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
... | ... | @@ -3327,11 +3327,10 @@ input[type=checkbox] { |
3327 | 3327 | border-radius: 90%; |
3328 | 3328 | font-size: 12px; |
3329 | 3329 | font-weight: 700; |
3330 | - background: #5E82C6; | |
3330 | + background: #3867b7; | |
3331 | 3331 | color: #fff; |
3332 | 3332 | margin-left: 4px; |
3333 | - padding: 0px 5px 0px 6px; | |
3334 | - cursor: pointer; | |
3333 | + padding: 0px 6px; | |
3335 | 3334 | } |
3336 | 3335 | |
3337 | 3336 | /* IMAGEM DE REFERÊNCIA |
... | ... | @@ -3342,6 +3341,7 @@ input[type=checkbox] { |
3342 | 3341 | |
3343 | 3342 | .ratings-list { |
3344 | 3343 | background-image: url('images/tela_listagem_relato_uso_v4_fechado.jpg'); |
3344 | + background-image: url('images/print_listagem.jpg'); | |
3345 | 3345 | background-repeat: no-repeat; |
3346 | 3346 | }*/ |
3347 | 3347 | |
... | ... | @@ -3374,6 +3374,7 @@ input[type=checkbox] { |
3374 | 3374 | |
3375 | 3375 | .ratings-list .user-rating-block .user-testimony-container .user-testimony { |
3376 | 3376 | font-size: 16px; |
3377 | + line-height: 20px; | |
3377 | 3378 | margin-top: 12px; |
3378 | 3379 | } |
3379 | 3380 | ... | ... |
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 | |
... | ... | @@ -162,6 +163,22 @@ $('#link-buscar').click(function(e) { |
162 | 163 | $('.star-tooltip').html("?"); |
163 | 164 | } |
164 | 165 | |
166 | + function set_arrow_direction() { | |
167 | + var additional_data_bar = $('#comments-additional-information'); | |
168 | + var arrow = $('.comments-arrow-down'); | |
169 | + var state = 0; | |
170 | + | |
171 | + additional_data_bar.on('click', function() { | |
172 | + if(state === 0) { | |
173 | + arrow.attr('class', "comments-arrow-up") | |
174 | + state = 1; | |
175 | + } else { | |
176 | + state = 0; | |
177 | + arrow.attr('class', "comments-arrow-down"); | |
178 | + } | |
179 | + }); | |
180 | + } | |
181 | + | |
165 | 182 | $(document).ready(function(){ |
166 | 183 | set_events(); |
167 | 184 | move_article_buttons(); |
... | ... | @@ -169,5 +186,6 @@ $('#link-buscar').click(function(e) { |
169 | 186 | insert_notice_div(); |
170 | 187 | set_uploaded_files_names(); |
171 | 188 | set_tooltip_content(); |
189 | + set_arrow_direction(); | |
172 | 190 | }); |
173 | 191 | })(jQuery); | ... | ... |