[Git][noosfero/noosfero][responsive] 4 commits: responsive: add plugin and base theme
Leandro Nunes
gitlab at gitlab.com
Tue Jul 7 09:06:47 BRT 2015
Leandro Nunes pushed to branch responsive at Noosfero / noosfero
Commits:
1a4ac038 by Braulio Bhavamitra at 2015-04-10T16:31:58Z
responsive: add plugin and base theme
- - - - -
6115d992 by Braulio Bhavamitra at 2015-05-12T22:27:25Z
responsive: update plugin, base-responsive and add noosfero-responsive
- - - - -
921031b3 by Braulio Bhavamitra at 2015-05-14T15:46:48Z
responsive: add missing file
- - - - -
38b43fc7 by Leandro Nunes dos Santos at 2015-07-07T08:07:41Z
fixing conflict
- - - - -
2 changed files:
- plugins/responsive/lib/ext/forms_helper.rb
- + public/designs/themes/base-responsive/stylesheets/_profile_title.scss
Changes:
=====================================
plugins/responsive/lib/ext/forms_helper.rb
=====================================
--- a/plugins/responsive/lib/ext/forms_helper.rb
+++ b/plugins/responsive/lib/ext/forms_helper.rb
@@ -9,7 +9,7 @@ module FormsHelper
module ResponsiveMethods
# add -inline class
- def labelled_radio_button human_name, name, value, checked = false, options = {}
+ def labelled_radio_button( human_name, name, value, checked = false, options = {} )
return super unless theme_responsive?
options[:id] ||= 'radio-' + FormsHelper.next_id_number
@@ -18,7 +18,7 @@ module FormsHelper
end
# add -inline class
- def labelled_check_box human_name, name, value = "1", checked = false, options = {}
+ def labelled_check_box( human_name, name, value = "1", checked = false, options = {} )
return super unless theme_responsive?
options[:id] ||= 'checkbox-' + FormsHelper.next_id_number
@@ -26,7 +26,7 @@ module FormsHelper
content_tag( 'label', check_box_tag( name, value, checked, options ) + ' ' + human_name, for: options[:id], class: 'checkbox-inline')
end
- def submit_button type, label, html_options = {}
+ def submit_button(type, label, html_options = {})
return super unless theme_responsive?
bt_cancel = html_options[:cancel] ? button(:cancel, _('Cancel'), html_options[:cancel]) : ''
=====================================
public/designs/themes/base-responsive/stylesheets/_profile_title.scss
=====================================
--- /dev/null
+++ b/public/designs/themes/base-responsive/stylesheets/_profile_title.scss
@@ -0,0 +1,15 @@
+
+.row.profile-title {
+ margin: 0;
+}
+#profile-title a, #profile-title a:visited {
+ font-weight: bold;
+ font-size: 200%;
+ text-decoration: none;
+ color: #2C3E50;
+}
+#profile-title a:hover {
+ text-decoration: underline;
+ color: #18BC9C;
+}
+
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/54c2e24359b490712e25a4a90aa01e5d38665838...38b43fc7d5121ed574018483b468bb7f8a2ebef8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150707/5d44b01d/attachment.html>
More information about the Noosfero-dev
mailing list