Commit 46140a9b6dd9c00111d58512cd680d1c1e6601df

Authored by Pedro de Lyra Pereira
2 parents 71059f9e c59d9b4d

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 /*controller-search action-search-software_infos template-default webkit*/ 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 .action-search-software_infos .org { 7 .action-search-software_infos .org {
@@ -16,6 +16,7 @@ @@ -16,6 +16,7 @@
16 border: none; 16 border: none;
17 box-shadow: none; 17 box-shadow: none;
18 } 18 }
  19 +
19 .action-search-software_infos input[type="checkbox"]{ 20 .action-search-software_infos input[type="checkbox"]{
20 vertical-align:sub; 21 vertical-align:sub;
21 } 22 }
@@ -76,6 +77,7 @@ @@ -76,6 +77,7 @@
76 .search-form #search-subheader{ 77 .search-form #search-subheader{
77 padding-left: 14px; 78 padding-left: 14px;
78 } 79 }
  80 +
79 .search-form #search-header #search-filters{ 81 .search-form #search-header #search-filters{
80 float: left !important; 82 float: left !important;
81 padding-left: 14px; 83 padding-left: 14px;
@@ -89,8 +91,8 @@ @@ -89,8 +91,8 @@
89 border-bottom: 1px solid #ccc !important; 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 font-size:110%; 96 font-size:110%;
95 margin: 4px 0px 0px 13px; 97 margin: 4px 0px 0px 13px;
96 border-radius: 4px; 98 border-radius: 4px;
@@ -222,21 +224,13 @@ @@ -222,21 +224,13 @@
222 font-family:Arial; 224 font-family:Arial;
223 font-size: 14px; 225 font-size: 14px;
224 } 226 }
  227 +
225 .action-search-software_infos #group-categories label span { 228 .action-search-software_infos #group-categories label span {
226 font-family:Arial; 229 font-family:Arial;
227 font-size: 14px; 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 border-radius: 50%; 234 border-radius: 50%;
241 font-size: 16px; 235 font-size: 16px;
242 padding: 2px 6px; 236 padding: 2px 6px;
@@ -3309,11 +3309,10 @@ input[type=checkbox] { @@ -3309,11 +3309,10 @@ input[type=checkbox] {
3309 border-radius: 90%; 3309 border-radius: 90%;
3310 font-size: 12px; 3310 font-size: 12px;
3311 font-weight: 700; 3311 font-weight: 700;
3312 - background: #5E82C6; 3312 + background: #3867b7;
3313 color: #fff; 3313 color: #fff;
3314 margin-left: 4px; 3314 margin-left: 4px;
3315 - padding: 0px 5px 0px 6px;  
3316 - cursor: pointer; 3315 + padding: 0px 6px;
3317 } 3316 }
3318 3317
3319 /* IMAGEM DE REFERÊNCIA 3318 /* IMAGEM DE REFERÊNCIA
@@ -3438,4 +3437,4 @@ input[type=checkbox] { @@ -3438,4 +3437,4 @@ input[type=checkbox] {
3438 3437
3439 #content .main-content .tiny-mce-article .article-body-tiny-mce-article p a { 3438 #content .main-content .tiny-mce-article .article-body-tiny-mce-article p a {
3440 color: #2c66ce; 3439 color: #2c66ce;
3441 -}  
3442 \ No newline at end of file 3440 \ No newline at end of file
  3441 +}
@@ -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