Bachir Soussi Chiadmi 9 years ago
parent
commit
1c1de98039

+ 7 - 11
sites/all/modules/gui/materiobasemod/materio_user.module

@@ -256,8 +256,13 @@ function materio_user_form_alter(&$form, &$form_state, $form_id) {
 // }
 
 
-/**
-* subscription webform (nid : 11186)
+/*
+         _               _     _   _
+ ___ _ _| |_ ___ ___ ___|_|___| |_|_|___ ___
+|_ -| | | . |_ -|  _|  _| | . |  _| | . |   |
+|___|___|___|___|___|_| |_|  _|_| |_|___|_|_|
+                          |_|
+//(nid : 11186)
 */
 
 # prefill the webform form with user profil values
@@ -707,12 +712,3 @@ function materio_user_mandrill_mailsend_result($result) {
     }
   }
 }
-
-
-function materio_user_simplenews_subscriptions_multi_block_form_form_alter(&$form, &$form_state, $form_id){
-  dsm($form_id, 'form_id');
-  dsm($form, "form");
-  dsm($form_state, "form_state");
-
-}
-

File diff suppressed because it is too large
+ 38 - 37
sites/all/themes/gui/materiobasetheme/css/styles.css


+ 3 - 3
sites/all/themes/gui/materiobasetheme/js/script.js

@@ -1496,14 +1496,14 @@
     function initMembershipForm() {
 
       switch(window.location.hash){
-        case '#1':
+        case '#a':
           $('#edit-submitted-column-left-membership-options-1').attr('checked', 'checked');
           // $options.trigger('change');
           break;
-        case '#2':
+        case '#b':
           $('#edit-submitted-column-left-membership-options-2').attr('checked', 'checked');
           break;
-        case '#3':
+        case '#c':
           $('#edit-submitted-column-left-membership-options-3').attr('checked', 'checked');
           break;
         // default:

+ 3 - 21
sites/all/themes/gui/materiobasetheme/scss/styles.scss

@@ -788,12 +788,13 @@ $headerouterheight:$headerheight+$headerpaddingtop+$headerpaddingbottom;
   }
 
   .modal-content &{
-    padding: 0.5em 0.5em 5em 0.5em;
+    padding: 2em;
 
     width:400px;
     background-color: #fff;
     padding:5px;
     @include rounded(5px);
+    @include drop-shadow(0, 0, 7px, 0.4);
 
     #user-register-form{
       // hide honeypot field, because drupal.attachbehavior() doesn't work
@@ -2131,7 +2132,7 @@ body.page-node-11187{
     }
 
     #block-materio-user-user-register{
-      width:600px; margin: 0 auto;
+      width:600px; margin: 0 auto; padding:2em;
     }
   }
 
@@ -3019,25 +3020,6 @@ body.home-v2{
       .message-error{
         color:#b94a48; @include fs12;
       }
-
-      .modal-content &{
-        padding: 0.5em 0.5em 5em 0.5em;
-
-        width:400px;
-        background-color: #fff;
-        padding:5px;
-        @include rounded(5px);
-
-        #user-register-form{
-          // hide honeypot field, because drupal.attachbehavior() doesn't work
-          div.homepage-textfield{display:none;}
-
-          .description{
-            @include fs12;
-          }
-        }
-
-      }
     }
 
     &.showroom{

Some files were not shown because too many files changed in this diff