Projet

Général

Profil

Révision cc7b6b59

Ajouté par Julien Enselme il y a presque 10 ans

Add theme 'responsive'

Voir les différences:

drupal7/sites/all/themes/responsive/LICENSE.txt
1
                    GNU GENERAL PUBLIC LICENSE
2
                       Version 2, June 1991
3

  
4
 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6
 Everyone is permitted to copy and distribute verbatim copies
7
 of this license document, but changing it is not allowed.
8

  
9
                            Preamble
10

  
11
  The licenses for most software are designed to take away your
12
freedom to share and change it.  By contrast, the GNU General Public
13
License is intended to guarantee your freedom to share and change free
14
software--to make sure the software is free for all its users.  This
15
General Public License applies to most of the Free Software
16
Foundation's software and to any other program whose authors commit to
17
using it.  (Some other Free Software Foundation software is covered by
18
the GNU Lesser General Public License instead.)  You can apply it to
19
your programs, too.
20

  
21
  When we speak of free software, we are referring to freedom, not
22
price.  Our General Public Licenses are designed to make sure that you
23
have the freedom to distribute copies of free software (and charge for
24
this service if you wish), that you receive source code or can get it
25
if you want it, that you can change the software or use pieces of it
26
in new free programs; and that you know you can do these things.
27

  
28
  To protect your rights, we need to make restrictions that forbid
29
anyone to deny you these rights or to ask you to surrender the rights.
30
These restrictions translate to certain responsibilities for you if you
31
distribute copies of the software, or if you modify it.
32

  
33
  For example, if you distribute copies of such a program, whether
34
gratis or for a fee, you must give the recipients all the rights that
35
you have.  You must make sure that they, too, receive or can get the
36
source code.  And you must show them these terms so they know their
37
rights.
38

  
39
  We protect your rights with two steps: (1) copyright the software, and
40
(2) offer you this license which gives you legal permission to copy,
41
distribute and/or modify the software.
42

  
43
  Also, for each author's protection and ours, we want to make certain
44
that everyone understands that there is no warranty for this free
45
software.  If the software is modified by someone else and passed on, we
46
want its recipients to know that what they have is not the original, so
47
that any problems introduced by others will not reflect on the original
48
authors' reputations.
49

  
50
  Finally, any free program is threatened constantly by software
51
patents.  We wish to avoid the danger that redistributors of a free
52
program will individually obtain patent licenses, in effect making the
53
program proprietary.  To prevent this, we have made it clear that any
54
patent must be licensed for everyone's free use or not licensed at all.
55

  
56
  The precise terms and conditions for copying, distribution and
57
modification follow.
58

  
59
                    GNU GENERAL PUBLIC LICENSE
60
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61

  
62
  0. This License applies to any program or other work which contains
63
a notice placed by the copyright holder saying it may be distributed
64
under the terms of this General Public License.  The "Program", below,
65
refers to any such program or work, and a "work based on the Program"
66
means either the Program or any derivative work under copyright law:
67
that is to say, a work containing the Program or a portion of it,
68
either verbatim or with modifications and/or translated into another
69
language.  (Hereinafter, translation is included without limitation in
70
the term "modification".)  Each licensee is addressed as "you".
71

  
72
Activities other than copying, distribution and modification are not
73
covered by this License; they are outside its scope.  The act of
74
running the Program is not restricted, and the output from the Program
75
is covered only if its contents constitute a work based on the
76
Program (independent of having been made by running the Program).
77
Whether that is true depends on what the Program does.
78

  
79
  1. You may copy and distribute verbatim copies of the Program's
80
source code as you receive it, in any medium, provided that you
81
conspicuously and appropriately publish on each copy an appropriate
82
copyright notice and disclaimer of warranty; keep intact all the
83
notices that refer to this License and to the absence of any warranty;
84
and give any other recipients of the Program a copy of this License
85
along with the Program.
86

  
87
You may charge a fee for the physical act of transferring a copy, and
88
you may at your option offer warranty protection in exchange for a fee.
89

  
90
  2. You may modify your copy or copies of the Program or any portion
91
of it, thus forming a work based on the Program, and copy and
92
distribute such modifications or work under the terms of Section 1
93
above, provided that you also meet all of these conditions:
94

  
95
    a) You must cause the modified files to carry prominent notices
96
    stating that you changed the files and the date of any change.
97

  
98
    b) You must cause any work that you distribute or publish, that in
99
    whole or in part contains or is derived from the Program or any
100
    part thereof, to be licensed as a whole at no charge to all third
101
    parties under the terms of this License.
102

  
103
    c) If the modified program normally reads commands interactively
104
    when run, you must cause it, when started running for such
105
    interactive use in the most ordinary way, to print or display an
106
    announcement including an appropriate copyright notice and a
107
    notice that there is no warranty (or else, saying that you provide
108
    a warranty) and that users may redistribute the program under
109
    these conditions, and telling the user how to view a copy of this
110
    License.  (Exception: if the Program itself is interactive but
111
    does not normally print such an announcement, your work based on
112
    the Program is not required to print an announcement.)
113

  
114
These requirements apply to the modified work as a whole.  If
115
identifiable sections of that work are not derived from the Program,
116
and can be reasonably considered independent and separate works in
117
themselves, then this License, and its terms, do not apply to those
118
sections when you distribute them as separate works.  But when you
119
distribute the same sections as part of a whole which is a work based
120
on the Program, the distribution of the whole must be on the terms of
121
this License, whose permissions for other licensees extend to the
122
entire whole, and thus to each and every part regardless of who wrote it.
123

  
124
Thus, it is not the intent of this section to claim rights or contest
125
your rights to work written entirely by you; rather, the intent is to
126
exercise the right to control the distribution of derivative or
127
collective works based on the Program.
128

  
129
In addition, mere aggregation of another work not based on the Program
130
with the Program (or with a work based on the Program) on a volume of
131
a storage or distribution medium does not bring the other work under
132
the scope of this License.
133

  
134
  3. You may copy and distribute the Program (or a work based on it,
135
under Section 2) in object code or executable form under the terms of
136
Sections 1 and 2 above provided that you also do one of the following:
137

  
138
    a) Accompany it with the complete corresponding machine-readable
139
    source code, which must be distributed under the terms of Sections
140
    1 and 2 above on a medium customarily used for software interchange; or,
141

  
142
    b) Accompany it with a written offer, valid for at least three
143
    years, to give any third party, for a charge no more than your
144
    cost of physically performing source distribution, a complete
145
    machine-readable copy of the corresponding source code, to be
146
    distributed under the terms of Sections 1 and 2 above on a medium
147
    customarily used for software interchange; or,
148

  
149
    c) Accompany it with the information you received as to the offer
150
    to distribute corresponding source code.  (This alternative is
151
    allowed only for noncommercial distribution and only if you
152
    received the program in object code or executable form with such
153
    an offer, in accord with Subsection b above.)
154

  
155
The source code for a work means the preferred form of the work for
156
making modifications to it.  For an executable work, complete source
157
code means all the source code for all modules it contains, plus any
158
associated interface definition files, plus the scripts used to
159
control compilation and installation of the executable.  However, as a
160
special exception, the source code distributed need not include
161
anything that is normally distributed (in either source or binary
162
form) with the major components (compiler, kernel, and so on) of the
163
operating system on which the executable runs, unless that component
164
itself accompanies the executable.
165

  
166
If distribution of executable or object code is made by offering
167
access to copy from a designated place, then offering equivalent
168
access to copy the source code from the same place counts as
169
distribution of the source code, even though third parties are not
170
compelled to copy the source along with the object code.
171

  
172
  4. You may not copy, modify, sublicense, or distribute the Program
173
except as expressly provided under this License.  Any attempt
174
otherwise to copy, modify, sublicense or distribute the Program is
175
void, and will automatically terminate your rights under this License.
176
However, parties who have received copies, or rights, from you under
177
this License will not have their licenses terminated so long as such
178
parties remain in full compliance.
179

  
180
  5. You are not required to accept this License, since you have not
181
signed it.  However, nothing else grants you permission to modify or
182
distribute the Program or its derivative works.  These actions are
183
prohibited by law if you do not accept this License.  Therefore, by
184
modifying or distributing the Program (or any work based on the
185
Program), you indicate your acceptance of this License to do so, and
186
all its terms and conditions for copying, distributing or modifying
187
the Program or works based on it.
188

  
189
  6. Each time you redistribute the Program (or any work based on the
190
Program), the recipient automatically receives a license from the
191
original licensor to copy, distribute or modify the Program subject to
192
these terms and conditions.  You may not impose any further
193
restrictions on the recipients' exercise of the rights granted herein.
194
You are not responsible for enforcing compliance by third parties to
195
this License.
196

  
197
  7. If, as a consequence of a court judgment or allegation of patent
198
infringement or for any other reason (not limited to patent issues),
199
conditions are imposed on you (whether by court order, agreement or
200
otherwise) that contradict the conditions of this License, they do not
201
excuse you from the conditions of this License.  If you cannot
202
distribute so as to satisfy simultaneously your obligations under this
203
License and any other pertinent obligations, then as a consequence you
204
may not distribute the Program at all.  For example, if a patent
205
license would not permit royalty-free redistribution of the Program by
206
all those who receive copies directly or indirectly through you, then
207
the only way you could satisfy both it and this License would be to
208
refrain entirely from distribution of the Program.
209

  
210
If any portion of this section is held invalid or unenforceable under
211
any particular circumstance, the balance of the section is intended to
212
apply and the section as a whole is intended to apply in other
213
circumstances.
214

  
215
It is not the purpose of this section to induce you to infringe any
216
patents or other property right claims or to contest validity of any
217
such claims; this section has the sole purpose of protecting the
218
integrity of the free software distribution system, which is
219
implemented by public license practices.  Many people have made
220
generous contributions to the wide range of software distributed
221
through that system in reliance on consistent application of that
222
system; it is up to the author/donor to decide if he or she is willing
223
to distribute software through any other system and a licensee cannot
224
impose that choice.
225

  
226
This section is intended to make thoroughly clear what is believed to
227
be a consequence of the rest of this License.
228

  
229
  8. If the distribution and/or use of the Program is restricted in
230
certain countries either by patents or by copyrighted interfaces, the
231
original copyright holder who places the Program under this License
232
may add an explicit geographical distribution limitation excluding
233
those countries, so that distribution is permitted only in or among
234
countries not thus excluded.  In such case, this License incorporates
235
the limitation as if written in the body of this License.
236

  
237
  9. The Free Software Foundation may publish revised and/or new versions
238
of the General Public License from time to time.  Such new versions will
239
be similar in spirit to the present version, but may differ in detail to
240
address new problems or concerns.
241

  
242
Each version is given a distinguishing version number.  If the Program
243
specifies a version number of this License which applies to it and "any
244
later version", you have the option of following the terms and conditions
245
either of that version or of any later version published by the Free
246
Software Foundation.  If the Program does not specify a version number of
247
this License, you may choose any version ever published by the Free Software
248
Foundation.
249

  
250
  10. If you wish to incorporate parts of the Program into other free
251
programs whose distribution conditions are different, write to the author
252
to ask for permission.  For software which is copyrighted by the Free
253
Software Foundation, write to the Free Software Foundation; we sometimes
254
make exceptions for this.  Our decision will be guided by the two goals
255
of preserving the free status of all derivatives of our free software and
256
of promoting the sharing and reuse of software generally.
257

  
258
                            NO WARRANTY
259

  
260
  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
REPAIR OR CORRECTION.
269

  
270
  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
POSSIBILITY OF SUCH DAMAGES.
279

  
280
                     END OF TERMS AND CONDITIONS
281

  
282
            How to Apply These Terms to Your New Programs
283

  
284
  If you develop a new program, and you want it to be of the greatest
285
possible use to the public, the best way to achieve this is to make it
286
free software which everyone can redistribute and change under these terms.
287

  
288
  To do so, attach the following notices to the program.  It is safest
289
to attach them to the start of each source file to most effectively
290
convey the exclusion of warranty; and each file should have at least
291
the "copyright" line and a pointer to where the full notice is found.
292

  
293
    <one line to give the program's name and a brief idea of what it does.>
294
    Copyright (C) <year>  <name of author>
295

  
296
    This program is free software; you can redistribute it and/or modify
297
    it under the terms of the GNU General Public License as published by
298
    the Free Software Foundation; either version 2 of the License, or
299
    (at your option) any later version.
300

  
301
    This program is distributed in the hope that it will be useful,
302
    but WITHOUT ANY WARRANTY; without even the implied warranty of
303
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
304
    GNU General Public License for more details.
305

  
306
    You should have received a copy of the GNU General Public License along
307
    with this program; if not, write to the Free Software Foundation, Inc.,
308
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309

  
310
Also add information on how to contact you by electronic and paper mail.
311

  
312
If the program is interactive, make it output a short notice like this
313
when it starts in an interactive mode:
314

  
315
    Gnomovision version 69, Copyright (C) year name of author
316
    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317
    This is free software, and you are welcome to redistribute it
318
    under certain conditions; type `show c' for details.
319

  
320
The hypothetical commands `show w' and `show c' should show the appropriate
321
parts of the General Public License.  Of course, the commands you use may
322
be called something other than `show w' and `show c'; they could even be
323
mouse-clicks or menu items--whatever suits your program.
324

  
325
You should also get your employer (if you work as a programmer) or your
326
school, if any, to sign a "copyright disclaimer" for the program, if
327
necessary.  Here is a sample; alter the names:
328

  
329
  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330
  `Gnomovision' (which makes passes at compilers) written by James Hacker.
331

  
332
  <signature of Ty Coon>, 1 April 1989
333
  Ty Coon, President of Vice
334

  
335
This General Public License does not permit incorporating your program into
336
proprietary programs.  If your program is a subroutine library, you may
337
consider it more useful to permit linking proprietary applications with the
338
library.  If this is what you want to do, use the GNU Lesser General
339
Public License instead of this License.
drupal7/sites/all/themes/responsive/README.txt
1
About Premium Responsive Theme
2
====================
3
Premium Responsive is a drupal responsive theme. The theme is not dependent on
4
any core theme. Its very light weight for fast loading with modern look.
5
  Color module integration
6
  Responsive support for all devices
7
  Simple and clean design
8
  Drupal standards compliant
9
  Implementation of a Flexi-Slideshow
10
  Multi-level drop-down menus
11
  Use of Google Web Fonts
12
  Footer with 4 regions
13
  A total of 10 regions
14
  Compatible and tested on IE7, IE8, IE9+, Opera, Firefox, Chrome browsers
15

  
16
Browser compatibility:
17
=====================
18
The theme has been tested on following browsers. IE7+, Firefox, Google Chrome,
19
Opera, Android Phone and Tablet, iPhone, iPad Browsers
20

  
21
Drupal compatibility:
22
=====================
23
This theme is compatible with Drupal 7.x.x
24

  
25
Developed by
26
============
27
www.devsaran.com
28

  
29
Help and Support Us
30
=====================
31
Please consider a small donation 
32
Paypal ID : donation@devsaran.com
drupal7/sites/all/themes/responsive/color/color.inc
1
<?php
2

  
3
$info = array(
4
  'fields' => array(
5
    'main_bkgrd'          => t('Main background'),
6
    'head_bkgrd'          => t('Header Background'),
7
    'sidebar_title'       => t('Sidebar Title Background'),
8
    'bottom_bkgrd'        => t('Bottom Background'),
9
    'copy_bkgrd'          => t('Copyright Background'),
10
    'link'                => t('Links'),
11
    'link_hover'          => t('Links Hover'),
12
    'button_bk'           => t('Button Background'),
13
    'button_bk_hover'     => t('Button Background Hover'),
14
    'submenu_bk'          => t('Sub Menu Background'),
15
    'submenu_bk_hover'    => t('Sub Menu Background Hover'),
16
  ),
17
  'schemes' => array(
18
    'default' => array(
19
      'title' => t('Default'),
20
      'colors' => array(
21
        'main_bkgrd'      => '#dedcd9',
22
        'head_bkgrd'      => '#214467',
23
        'sidebar_title'   => '#214468',
24
        'bottom_bkgrd'    => '#4e4554',
25
        'copy_bkgrd'      => '#3e3742',
26
        'link'            => '#1c6ea0',
27
        'link_hover'      => '#42a9be',
28
        'button_bk'       => '#5aa2ef',
29
        'button_bk_hover' => '#454444',
30
        'submenu_bk'      => '#152d43',
31
        'submenu_bk_hover'=> '#01152a',
32
      ),
33
    ),
34
    'purple' => array(
35
      'title' => t('Purple'),
36
      'colors' => array(
37
        'main_bkgrd'      => '#d6bbca',
38
        'head_bkgrd'      => '#6c3551',
39
        'sidebar_title'   => '#6c3552',
40
        'bottom_bkgrd'    => '#3f1c4c',
41
        'copy_bkgrd'      => '#1e041f',
42
        'link'            => '#1c6ea0',
43
        'link_hover'      => '#42a9be',
44
        'button_bk'       => '#5aa2ef',
45
        'button_bk_hover' => '#454444',
46
        'submenu_bk'      => '#381042',
47
        'submenu_bk_hover'=> '#1e041c',
48
      ),
49
    ),
50
    'green' => array(
51
      'title' => t('Green'),
52
      'colors' => array(
53
        'main_bkgrd'      => '#b8cdbe',
54
        'head_bkgrd'      => '#3f6a4d',
55
        'sidebar_title'   => '#3f6a4e',
56
        'bottom_bkgrd'    => '#243d18',
57
        'copy_bkgrd'      => '#0b1b07',
58
        'link'            => '#1c6ea0',
59
        'link_hover'      => '#42a9be',
60
        'button_bk'       => '#5aa2ef',
61
        'button_bk_hover' => '#454444',
62
        'submenu_bk'      => '#223B16',
63
        'submenu_bk_hover'=> '#0b1b08',
64
      ),
65
    ),
66
  ),
67
  'css' => array(
68
    'color/colors.css',
69
  ),
70
  'copy' => array(
71
    'logo.png',
72
  ),
73
  'gradients' => array(),
74
  'fill' => array(),
75
  'slices' => array(),
76
  'blend_target' => '#ffffff',
77
  'preview_image' => 'color/color-preview.png',
78
  'preview_css' => 'color/preview.css',
79
  'base_image' => 'color/base.png',
80
);
drupal7/sites/all/themes/responsive/color/colors.css
1
body {
2
  background: #dedcd9;
3
}
4

  
5
a {
6
  color: #1c6ea0;
7
}
8

  
9
a:hover {
10
  color: #42a9be;
11
}
12

  
13
#headright {
14
  background: #214467;
15
}
16

  
17
#main-menu li li a,
18
#main-menu li li a:link,
19
#main-menu li li a:visited {
20
  background-color: #152d43;
21
}
22

  
23
#main-menu li li a:hover,
24
#main-menu li li a:active {
25
  background: #01152a;
26
}
27

  
28
.sidebar .block > h2 {
29
  background: #214468;
30
}
31

  
32
#bottom {
33
  background: #4e4554;
34
}
35

  
36
#copyright {
37
  background: #3e3742;
38
}
39

  
40
.form-submit{
41
  background-color: #5aa2ef;
42
}
43

  
44
.form-submit:hover{
45
  background: #454444;
46
}
drupal7/sites/all/themes/responsive/color/preview.css
1
/* color_scheme_form - kill it, its not needed and too hard to support */
2
#color_scheme_form h2,
3
#color_scheme_form #preview {
4
  display: none;
5
}
6
#color_scheme_form .form-item-scheme label,
7
#color_scheme_form .color-form #palette label {
8
  width: 17em;
9
}
10
#color_scheme_form .color-form  #palette .form-item {
11
  width: 25em;
12
}
13
#color_scheme_form #palette .unlocked {
14
  background-position: 50% -22px;
15
}
16
#color_scheme_form #palette .hook {
17
  float: right;
18
  margin-top: -1.5em;
19
}
20
#color_scheme_form #palette .lock {
21
  float: right;
22
  left: 1em;
23
  top: -3.5em;
24
}
drupal7/sites/all/themes/responsive/css/layout.css
1
/*
2
* Skeleton V1.1
3
* Copyright 2011, Dave Gamache
4
* www.getskeleton.com
5
* Free to use under the MIT license.
6
* http://www.opensource.org/licenses/mit-license.php
7
* 8/17/2011
8
*/
9

  
10
/* Table of Content
11
==================================================
12
	#Site Styles
13
	#Page Styles
14
	#Media Queries
15
	#Font-Face */
16

  
17
/* #Site Styles
18
================================================== */
19

  
20
/* #Page Styles
21
================================================== */
22

  
23
/* #Media Queries
24
================================================== */
25

  
26
	/* Smaller than standard 960 (devices and browsers) */
27
	@media only screen and (max-width: 959px) {}
28

  
29
	/* Tablet Portrait size to standard 960 (devices and browsers) */
30
	@media only screen and (min-width: 768px) and (max-width: 959px) {}
31

  
32
	/* All Mobile Sizes (devices and browser) */
33
	@media only screen and (max-width: 767px) {}
34

  
35
	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
36
	@media only screen and (min-width: 480px) and (max-width: 767px) {
37
		
38
		#headright{
39
			margin:0px 0px!important;
40
			width:420px;
41
		}
42
		
43
		#logo{
44
			width:420px;
45
			margin-left:0px;
46
		}
47
		
48
		#front-welcome h2{
49
			font-size:18px!important;
50
		}
51
    
52
    #front-welcome p{
53
     font-size:15px!important;
54
		}
55
		
56
		#mobileMenu_mm1{
57
			width:380px;
58
		}
59
		
60
	}
61

  
62
	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
63
	@media only screen and (max-width: 479px) {
64
		
65
		#headright{
66
			margin:0px 0px!important;
67
			width:300px;
68
		}
69
		
70
		#logo{
71
			width:300px;
72
			margin-left:0px;
73
		}
74
		
75
		#front-welcome h2 {
76
			font-size:18px!important;
77
		}
78
    
79
    #front-welcome p{
80
			font-size:15px!important;
81
		}
82
		
83
		#mobileMenu_mm1{
84
			width:260px;
85
		}
86
		
87
	}
drupal7/sites/all/themes/responsive/css/responsive-style.css
1
/*
2
Theme Name: WP-Skeleton
3
Theme URI: https://github.com/wycks/WP-Skeleton-Theme
4
Author: Wycks
5
Author URI: wpsecure.net
6
Description: Responsive Bare Bones framework based on Dave Gamache's getskeleton.com 
7
Version: 1.0
8
License: http://www.opensource.org/licenses/mit-license.php.
9
Tags: Responsive, grid, mobile, framework, bare-bones, white, minimal
10

  
11
This theme, like WordPress, is licensed under the GPL.
12
Use it to make something cool, have fun, and share what you've learned with others.
13
*/
14

  
15
/* Table of Contents
16
==================================================
17
    #Base 960 Grid
18
    #Tablet (Portrait)
19
    #Mobile (Portrait)
20
    #Mobile (Landscape)
21
    #Clearing */
22

  
23

  
24

  
25
/* #Base 960 Grid
26
================================================== */
27

  
28
    .container                                  { position: relative; width: 960px; margin: 0 auto; padding: 0; }
29
    .column, .columns                           { float: left; display: inline; margin-left: 10px; margin-right: 10px; }
30
    .row                                        { margin-bottom: 20px; }
31

  
32
    /* Nested Column Classes */
33
    .column.alpha, .columns.alpha               { margin-left: 0; }
34
    .column.omega, .columns.omega               { margin-right: 0; }
35

  
36
    /* Base Grid */
37
    .container .one.column                      { width: 40px;  }
38
    .container .two.columns                     { width: 100px; }
39
    .container .three.columns                   { width: 160px; }
40
    .container .four.columns                    { width: 220px; }
41
    .container .five.columns                    { width: 280px; }
42
    .container .six.columns                     { width: 340px; }
43
    .container .seven.columns                   { width: 400px; }
44
    .container .eight.columns                   { width: 460px; }
45
    .container .nine.columns                    { width: 520px; }
46
    .container .ten.columns                     { width: 580px; }
47
    .container .eleven.columns                  { width: 640px; }
48
    .container .twelve.columns                  { width: 700px; }
49
    .container .thirteen.columns                { width: 760px; }
50
    .container .fourteen.columns                { width: 820px; }
51
    .container .fifteen.columns                 { width: 880px; }
52
    .container .sixteen.columns                 { width: 940px; }
53

  
54
    .container .one-third.column                { width: 300px; }
55
    .container .two-thirds.column               { width: 620px; }
56

  
57
    /* Offsets */
58
    .container .offset-by-one                   { padding-left: 60px;  }
59
    .container .offset-by-two                   { padding-left: 120px; }
60
    .container .offset-by-three                 { padding-left: 180px; }
61
    .container .offset-by-four                  { padding-left: 240px; }
62
    .container .offset-by-five                  { padding-left: 300px; }
63
    .container .offset-by-six                   { padding-left: 360px; }
64
    .container .offset-by-seven                 { padding-left: 420px; }
65
    .container .offset-by-eight                 { padding-left: 480px; }
66
    .container .offset-by-nine                  { padding-left: 540px; }
67
    .container .offset-by-ten                   { padding-left: 600px; }
68
    .container .offset-by-eleven                { padding-left: 660px; }
69
    .container .offset-by-twelve                { padding-left: 720px; }
70
    .container .offset-by-thirteen              { padding-left: 780px; }
71
    .container .offset-by-fourteen              { padding-left: 840px; }
72
    .container .offset-by-fifteen               { padding-left: 900px; }
73

  
74

  
75

  
76
/* #Tablet (Portrait)
77
================================================== */
78

  
79
    /* Note: Design for a width of 768px */
80

  
81
    @media only screen and (min-width: 768px) and (max-width: 959px) {
82
        .container                                  { width: 768px; }
83
        .container .column,
84
        .container .columns                         { margin-left: 10px; margin-right: 10px;  }
85
        .column.alpha, .columns.alpha               { margin-left: 0; margin-right: 10px; }
86
        .column.omega, .columns.omega               { margin-right: 0; margin-left: 10px; }
87

  
88
        .container .one.column                      { width: 28px; }
89
        .container .two.columns                     { width: 76px; }
90
        .container .three.columns                   { width: 124px; }
91
        .container .four.columns                    { width: 172px; }
92
        .container .five.columns                    { width: 220px; }
93
        .container .six.columns                     { width: 268px; }
94
        .container .seven.columns                   { width: 316px; }
95
        .container .eight.columns                   { width: 364px; }
96
        .container .nine.columns                    { width: 412px; }
97
        .container .ten.columns                     { width: 460px; }
98
        .container .eleven.columns                  { width: 508px; }
99
        .container .twelve.columns                  { width: 556px; }
100
        .container .thirteen.columns                { width: 604px; }
101
        .container .fourteen.columns                { width: 652px; }
102
        .container .fifteen.columns                 { width: 700px; }
103
        .container .sixteen.columns                 { width: 748px; }
104

  
105
        .container .one-third.column                { width: 236px; }
106
        .container .two-thirds.column               { width: 492px; }
107

  
108
        /* Offsets */
109
        .container .offset-by-one                   { padding-left: 48px; }
110
        .container .offset-by-two                   { padding-left: 96px; }
111
        .container .offset-by-three                 { padding-left: 144px; }
112
        .container .offset-by-four                  { padding-left: 192px; }
113
        .container .offset-by-five                  { padding-left: 240px; }
114
        .container .offset-by-six                   { padding-left: 288px; }
115
        .container .offset-by-seven                 { padding-left: 336px; }
116
        .container .offset-by-eight                 { padding-left: 348px; }
117
        .container .offset-by-nine                  { padding-left: 432px; }
118
        .container .offset-by-ten                   { padding-left: 480px; }
119
        .container .offset-by-eleven                { padding-left: 528px; }
120
        .container .offset-by-twelve                { padding-left: 576px; }
121
        .container .offset-by-thirteen              { padding-left: 624px; }
122
        .container .offset-by-fourteen              { padding-left: 672px; }
123
        .container .offset-by-fifteen               { padding-left: 720px; }
124
    }
125

  
126

  
127
/*  #Mobile (Portrait)
128
================================================== */
129

  
130
    /* Note: Design for a width of 320px */
131

  
132
    @media only screen and (max-width: 767px) {
133
        .container { width: 300px; }
134
        .columns, .column { margin: 0 10px; }
135

  
136
        .container .one.column,
137
        .container .two.columns,
138
        .container .three.columns,
139
        .container .four.columns,
140
        .container .five.columns,
141
        .container .six.columns,
142
        .container .seven.columns,
143
        .container .eight.columns,
144
        .container .nine.columns,
145
        .container .ten.columns,
146
        .container .eleven.columns,
147
        .container .twelve.columns,
148
        .container .thirteen.columns,
149
        .container .fourteen.columns,
150
        .container .fifteen.columns,
151
        .container .sixteen.columns,
152
        .container .one-third.column,
153
        .container .two-thirds.column  { width: 280px; }
154

  
155
        /* Offsets */
156
        .container .offset-by-one,
157
        .container .offset-by-two,
158
        .container .offset-by-three,
159
        .container .offset-by-four,
160
        .container .offset-by-five,
161
        .container .offset-by-six,
162
        .container .offset-by-seven,
163
        .container .offset-by-eight,
164
        .container .offset-by-nine,
165
        .container .offset-by-ten,
166
        .container .offset-by-eleven,
167
        .container .offset-by-twelve,
168
        .container .offset-by-thirteen,
169
        .container .offset-by-fourteen,
170
        .container .offset-by-fifteen { padding-left: 0; }
171
        
172
       
173

  
174
    }
175

  
176

  
177
/* #Mobile (Landscape)
178
================================================== */
179

  
180
    /* Note: Design for a width of 480px */
181

  
182
    @media only screen and (min-width: 480px) and (max-width: 767px) {
183
        .container { width: 420px; }
184
        .columns, .column { margin: 0 10px; }
185

  
186
        .container .one.column,
187
        .container .two.columns,
188
        .container .three.columns,
189
        .container .four.columns,
190
        .container .five.columns,
191
        .container .six.columns,
192
        .container .seven.columns,
193
        .container .eight.columns,
194
        .container .nine.columns,
195
        .container .ten.columns,
196
        .container .eleven.columns,
197
        .container .twelve.columns,
198
        .container .thirteen.columns,
199
        .container .fourteen.columns,
200
        .container .fifteen.columns,
201
        .container .sixteen.columns,
202
        .container .one-third.column,
203
        .container .two-thirds.column { width: 400px; }
204
        
205
    }
206

  
207

  
208
/* #Clearing
209
================================================== */
210

  
211
    /* Self Clearing Goodness */
212
    .container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
213

  
214
    /* Use clearfix class on parent to clear nested columns,
215
    or wrap each row of columns in a <div class="row"> */
216
    .clearfix:before,
217
    .clearfix:after,
218
    .row:before,
219
    .row:after {
220
      content: '\0020';
221
      display: block;
222
      overflow: hidden;
223
      visibility: hidden;
224
      width: 0;
225
      height: 0; }
226
    .row:after,
227
    .clearfix:after {
228
      clear: both; }
229
    .row,
230
    .clearfix {
231
      zoom: 1; }
232

  
233
    /* You can also use a <br class="clear" /> to clear columns */
234
    .clear {
235
      clear: both;
236
      display: block;
237
      overflow: hidden;
238
      visibility: hidden;
239
      width: 0;
240
      height: 0;
241
    }
242

  
243
	img.scale-with-grid {
244
		max-width: 100%;
245
		height: auto; }
drupal7/sites/all/themes/responsive/flexslider.css
1
/*
2
 * jQuery FlexSlider v1.8
3
 * http://www.woothemes.com/flexslider/
4
 *
5
 * Copyright 2012 WooThemes
6
 * Free to use under the MIT license.
7
 * http://www.opensource.org/licenses/mit-license.php
8
 */
9

  
10
/* Browser Resets */
11
.flex-container a:active,
12
.flexslider a:active,
13
.flex-container a:focus,
14
.flexslider a:focus  {outline: none;}
15
.slides,
16
.flex-control-nav,
17
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}
18

  
19
/* FlexSlider Necessary Styles
20
*********************************/
21
.flexslider {margin: 0; padding: 0;}
22
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
23
.flexslider .slides img {max-width: 100%; display: block;}
24
.flex-pauseplay span {text-transform: capitalize;}
25

  
26
/* Clearfix for the .slides element */
27
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
28
html[xmlns] .slides {display: block;}
29
* html .slides {height: 1%;}
30

  
31
/* No JavaScript Fallback */
32
/* If you are not using another script, such as Modernizr, make sure you
33
 * include js that eliminates this class on page load */
34
.no-js .slides > li:first-child {display: block;}
35

  
36

  
37
/* FlexSlider Default Theme
38
*********************************/
39
.flexslider {background: #fff;  position: relative; -webkit-border-radius: 5px; -moz-border-radius: 5px; -o-border-radius: 5px; border-radius: 5px; zoom: 1;}
40
.flexslider .slides {zoom: 1;}
41
.flexslider .slides > li {position: relative;}
42
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
43
.flex-container {zoom: 1; position: relative;}
44

  
45
/* Caption style */
46
/* IE rgba() hack */
47
.flex-caption {background:url(images/trans.png);}
48
.flex-caption {width: 96%; padding: 2% 2%; margin: 0; position: absolute; left: 0; bottom: 0; background: rgba(f,f,f,.3); color: #fff;  font-size: 14px; line-height: 22px;}
49
.flex-caption h3{  font-weight:400; color:#fff; margin-bottom:5px;}
50
.flex-caption p{margin: 0;}
51
/* Direction Nav */
52
.flex-direction-nav { height: 0; }
53
.flex-direction-nav li a {width: 32px; height: 32px; margin: -16px 0 0; display: block; background: url(images/directionbg.png) no-repeat; position: absolute; bottom: 20px; cursor: pointer; text-indent: -999em;}
54
.flex-direction-nav li .next {background-position: -32px 0; right: 20px;}
55
.flex-direction-nav li .prev {right: 60px;}
56
.flex-direction-nav li .disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}
57

  
58
/* Control Nav */
59
.flex-control-nav {width: 100%; position: absolute; bottom: -30px; text-align: center;}
60
.flex-control-nav li {margin: 0 0 0 5px; display: inline-block; zoom: 1; *display: inline;}
61
.flex-control-nav li:first-child {margin: 0;}
62
.flex-control-nav li a {width: 13px; height: 13px; display: block; background: url(theme/bg_control_nav.png) no-repeat; cursor: pointer; text-indent: -999em;}
63
.flex-control-nav li a:hover {background-position: 0 -13px;}
64
.flex-control-nav li a.active {background-position: 0 -26px; cursor: default;}
drupal7/sites/all/themes/responsive/js/custom.js
1
jQuery(document).ready(function() {
2

  
3
	jQuery('#main-menu ul.menu').mobileMenu();
4
	
5

  
6
/* Navigation */
7
	jQuery('#main-menu ul.menu').superfish({ 
8
		delay:       500,								// 0.1 second delay on mouseout 
9
		animation:   {opacity:'show',height:'show'},	// fade-in and slide-down animation 
10
		dropShadows: true								// disable drop shadows 
11
	});	
12

  
13
});
drupal7/sites/all/themes/responsive/js/jquery.flexslider-min.js
1
/*
2
 * jQuery FlexSlider v1.8
3
 * http://flex.madebymufffin.com
4
 * Copyright 2011, Tyler Smith
5
 */
6
(function(a){a.flexslider=function(c,b){var d=c;d.init=function(){d.vars=a.extend({},a.flexslider.defaults,b);d.data("flexslider",true);d.container=a(".slides",d);d.slides=a(".slides > li",d);d.count=d.slides.length;d.animating=false;d.currentSlide=d.vars.slideToStart;d.animatingTo=d.currentSlide;d.atEnd=(d.currentSlide==0)?true:false;d.eventType=("ontouchstart" in document.documentElement)?"touchstart":"click";d.cloneCount=0;d.cloneOffset=0;d.manualPause=false;d.vertical=(d.vars.slideDirection=="vertical");d.prop=(d.vertical)?"top":"marginLeft";d.args={};d.transitions="webkitTransition" in document.body.style;if(d.transitions){d.prop="-webkit-transform"}if(d.vars.controlsContainer!=""){d.controlsContainer=a(d.vars.controlsContainer).eq(a(".slides").index(d.container));d.containerExists=d.controlsContainer.length>0}if(d.vars.manualControls!=""){d.manualControls=a(d.vars.manualControls,((d.containerExists)?d.controlsContainer:d));d.manualExists=d.manualControls.length>0}if(d.vars.randomize){d.slides.sort(function(){return(Math.round(Math.random())-0.5)});d.container.empty().append(d.slides)}if(d.vars.animation.toLowerCase()=="slide"){if(d.transitions){d.setTransition(0)}d.css({overflow:"hidden"});if(d.vars.animationLoop){d.cloneCount=2;d.cloneOffset=1;d.container.append(d.slides.filter(":first").clone().addClass("clone")).prepend(d.slides.filter(":last").clone().addClass("clone"))}d.newSlides=a(".slides > li",d);var m=(-1*(d.currentSlide+d.cloneOffset));if(d.vertical){d.newSlides.css({display:"block",width:"100%","float":"left"});d.container.height((d.count+d.cloneCount)*200+"%").css("position","absolute").width("100%");setTimeout(function(){d.css({position:"relative"}).height(d.slides.filter(":first").height());d.args[d.prop]=(d.transitions)?"translate3d(0,"+m*d.height()+"px,0)":m*d.height()+"px";d.container.css(d.args)},100)}else{d.args[d.prop]=(d.transitions)?"translate3d("+m*d.width()+"px,0,0)":m*d.width()+"px";d.container.width((d.count+d.cloneCount)*200+"%").css(d.args);setTimeout(function(){d.newSlides.width(d.width()).css({"float":"left",display:"block"})},100)}}else{d.transitions=false;d.slides.css({width:"100%","float":"left",marginRight:"-100%"}).eq(d.currentSlide).fadeIn(d.vars.animationDuration)}if(d.vars.controlNav){if(d.manualExists){d.controlNav=d.manualControls}else{var e=a('<ol class="flex-control-nav"></ol>');var s=1;for(var t=0;t<d.count;t++){e.append("<li><a>"+s+"</a></li>");s++}if(d.containerExists){a(d.controlsContainer).append(e);d.controlNav=a(".flex-control-nav li a",d.controlsContainer)}else{d.append(e);d.controlNav=a(".flex-control-nav li a",d)}}d.controlNav.eq(d.currentSlide).addClass("active");d.controlNav.bind(d.eventType,function(i){i.preventDefault();if(!a(this).hasClass("active")){(d.controlNav.index(a(this))>d.currentSlide)?d.direction="next":d.direction="prev";d.flexAnimate(d.controlNav.index(a(this)),d.vars.pauseOnAction)}})}if(d.vars.directionNav){var v=a('<ul class="flex-direction-nav"><li><a class="prev" href="#">'+d.vars.prevText+'</a></li><li><a class="next" href="#">'+d.vars.nextText+"</a></li></ul>");if(d.containerExists){a(d.controlsContainer).append(v);d.directionNav=a(".flex-direction-nav li a",d.controlsContainer)}else{d.append(v);d.directionNav=a(".flex-direction-nav li a",d)}if(!d.vars.animationLoop){if(d.currentSlide==0){d.directionNav.filter(".prev").addClass("disabled")}else{if(d.currentSlide==d.count-1){d.directionNav.filter(".next").addClass("disabled")}}}d.directionNav.bind(d.eventType,function(i){i.preventDefault();var j=(a(this).hasClass("next"))?d.getTarget("next"):d.getTarget("prev");if(d.canAdvance(j)){d.flexAnimate(j,d.vars.pauseOnAction)}})}if(d.vars.keyboardNav&&a("ul.slides").length==1){function h(i){if(d.animating){return}else{if(i.keyCode!=39&&i.keyCode!=37){return}else{if(i.keyCode==39){var j=d.getTarget("next")}else{if(i.keyCode==37){var j=d.getTarget("prev")}}if(d.canAdvance(j)){d.flexAnimate(j,d.vars.pauseOnAction)}}}}a(document).bind("keyup",h)}if(d.vars.mousewheel){d.mousewheelEvent=(/Firefox/i.test(navigator.userAgent))?"DOMMouseScroll":"mousewheel";d.bind(d.mousewheelEvent,function(y){y.preventDefault();y=y?y:window.event;var i=y.detail?y.detail*-1:y.wheelDelta/40,j=(i<0)?d.getTarget("next"):d.getTarget("prev");if(d.canAdvance(j)){d.flexAnimate(j,d.vars.pauseOnAction)}})}if(d.vars.slideshow){if(d.vars.pauseOnHover&&d.vars.slideshow){d.hover(function(){d.pause()},function(){if(!d.manualPause){d.resume()}})}d.animatedSlides=setInterval(d.animateSlides,d.vars.slideshowSpeed)}if(d.vars.pausePlay){var q=a('<div class="flex-pauseplay"><span></span></div>');if(d.containerExists){d.controlsContainer.append(q);d.pausePlay=a(".flex-pauseplay span",d.controlsContainer)}else{d.append(q);d.pausePlay=a(".flex-pauseplay span",d)}var n=(d.vars.slideshow)?"pause":"play";d.pausePlay.addClass(n).text((n=="pause")?d.vars.pauseText:d.vars.playText);d.pausePlay.bind(d.eventType,function(i){i.preventDefault();if(a(this).hasClass("pause")){d.pause();d.manualPause=true}else{d.resume();d.manualPause=false}})}if("ontouchstart" in document.documentElement){var w,u,l,r,o,x,p=false;d.each(function(){if("ontouchstart" in document.documentElement){this.addEventListener("touchstart",g,false)}});function g(i){if(d.animating){i.preventDefault()}else{if(i.touches.length==1){d.pause();r=(d.vertical)?d.height():d.width();x=Number(new Date());l=(d.vertical)?(d.currentSlide+d.cloneOffset)*d.height():(d.currentSlide+d.cloneOffset)*d.width();w=(d.vertical)?i.touches[0].pageY:i.touches[0].pageX;u=(d.vertical)?i.touches[0].pageX:i.touches[0].pageY;d.setTransition(0);this.addEventListener("touchmove",k,false);this.addEventListener("touchend",f,false)}}}function k(i){o=(d.vertical)?w-i.touches[0].pageY:w-i.touches[0].pageX;p=(d.vertical)?(Math.abs(o)<Math.abs(i.touches[0].pageX-u)):(Math.abs(o)<Math.abs(i.touches[0].pageY-u));if(!p){i.preventDefault();if(d.vars.animation=="slide"&&d.transitions){if(!d.vars.animationLoop){o=o/((d.currentSlide==0&&o<0||d.currentSlide==d.count-1&&o>0)?(Math.abs(o)/r+2):1)}d.args[d.prop]=(d.vertical)?"translate3d(0,"+(-l-o)+"px,0)":"translate3d("+(-l-o)+"px,0,0)";d.container.css(d.args)}}}function f(j){d.animating=false;if(d.animatingTo==d.currentSlide&&!p&&!(o==null)){var i=(o>0)?d.getTarget("next"):d.getTarget("prev");if(d.canAdvance(i)&&Number(new Date())-x<550&&Math.abs(o)>20||Math.abs(o)>r/2){d.flexAnimate(i,d.vars.pauseOnAction)}else{d.flexAnimate(d.currentSlide,d.vars.pauseOnAction)}}this.removeEventListener("touchmove",k,false);this.removeEventListener("touchend",f,false);w=null;u=null;o=null;l=null}}if(d.vars.animation.toLowerCase()=="slide"){a(window).resize(function(){if(!d.animating){if(d.vertical){d.height(d.slides.filter(":first").height());d.args[d.prop]=(-1*(d.currentSlide+d.cloneOffset))*d.slides.filter(":first").height()+"px";if(d.transitions){d.setTransition(0);d.args[d.prop]=(d.vertical)?"translate3d(0,"+d.args[d.prop]+",0)":"translate3d("+d.args[d.prop]+",0,0)"}d.container.css(d.args)}else{d.newSlides.width(d.width());d.args[d.prop]=(-1*(d.currentSlide+d.cloneOffset))*d.width()+"px";if(d.transitions){d.setTransition(0);d.args[d.prop]=(d.vertical)?"translate3d(0,"+d.args[d.prop]+",0)":"translate3d("+d.args[d.prop]+",0,0)"}d.container.css(d.args)}}})}d.vars.start(d)};d.flexAnimate=function(g,f){if(!d.animating){d.animating=true;d.animatingTo=g;d.vars.before(d);if(f){d.pause()}if(d.vars.controlNav){d.controlNav.removeClass("active").eq(g).addClass("active")}d.atEnd=(g==0||g==d.count-1)?true:false;if(!d.vars.animationLoop&&d.vars.directionNav){if(g==0){d.directionNav.removeClass("disabled").filter(".prev").addClass("disabled")}else{if(g==d.count-1){d.directionNav.removeClass("disabled").filter(".next").addClass("disabled")}else{d.directionNav.removeClass("disabled")}}}if(!d.vars.animationLoop&&g==d.count-1){d.pause();d.vars.end(d)}if(d.vars.animation.toLowerCase()=="slide"){var e=(d.vertical)?d.slides.filter(":first").height():d.slides.filter(":first").width();if(d.currentSlide==0&&g==d.count-1&&d.vars.animationLoop&&d.direction!="next"){d.slideString="0px"}else{if(d.currentSlide==d.count-1&&g==0&&d.vars.animationLoop&&d.direction!="prev"){d.slideString=(-1*(d.count+1))*e+"px"}else{d.slideString=(-1*(g+d.cloneOffset))*e+"px"}}d.args[d.prop]=d.slideString;if(d.transitions){d.setTransition(d.vars.animationDuration);d.args[d.prop]=(d.vertical)?"translate3d(0,"+d.slideString+",0)":"translate3d("+d.slideString+",0,0)";d.container.css(d.args).one("webkitTransitionEnd transitionend",function(){d.wrapup(e)})}else{d.container.animate(d.args,d.vars.animationDuration,function(){d.wrapup(e)})}}else{d.slides.eq(d.currentSlide).fadeOut(d.vars.animationDuration);d.slides.eq(g).fadeIn(d.vars.animationDuration,function(){d.wrapup()})}}};d.wrapup=function(e){if(d.vars.animation=="slide"){if(d.currentSlide==0&&d.animatingTo==d.count-1&&d.vars.animationLoop){d.args[d.prop]=(-1*d.count)*e+"px";if(d.transitions){d.setTransition(0);d.args[d.prop]=(d.vertical)?"translate3d(0,"+d.args[d.prop]+",0)":"translate3d("+d.args[d.prop]+",0,0)"}d.container.css(d.args)}else{if(d.currentSlide==d.count-1&&d.animatingTo==0&&d.vars.animationLoop){d.args[d.prop]=-1*e+"px";if(d.transitions){d.setTransition(0);d.args[d.prop]=(d.vertical)?"translate3d(0,"+d.args[d.prop]+",0)":"translate3d("+d.args[d.prop]+",0,0)"}d.container.css(d.args)}}}d.animating=false;d.currentSlide=d.animatingTo;d.vars.after(d)};d.animateSlides=function(){if(!d.animating){d.flexAnimate(d.getTarget("next"))}};d.pause=function(){clearInterval(d.animatedSlides);if(d.vars.pausePlay){d.pausePlay.removeClass("pause").addClass("play").text(d.vars.playText)}};d.resume=function(){d.animatedSlides=setInterval(d.animateSlides,d.vars.slideshowSpeed);if(d.vars.pausePlay){d.pausePlay.removeClass("play").addClass("pause").text(d.vars.pauseText)}};d.canAdvance=function(e){if(!d.vars.animationLoop&&d.atEnd){if(d.currentSlide==0&&e==d.count-1&&d.direction!="next"){return false}else{if(d.currentSlide==d.count-1&&e==0&&d.direction=="next"){return false}else{return true}}}else{return true}};d.getTarget=function(e){d.direction=e;if(e=="next"){return(d.currentSlide==d.count-1)?0:d.currentSlide+1}else{return(d.currentSlide==0)?d.count-1:d.currentSlide-1}};d.setTransition=function(e){d.container.css({"-webkit-transition-duration":(e/1000)+"s"})};d.init()};a.flexslider.defaults={animation:"fade",slideDirection:"horizontal",slideshow:true,slideshowSpeed:7000,animationDuration:600,directionNav:true,controlNav:true,keyboardNav:true,mousewheel:false,prevText:"Previous",nextText:"Next",pausePlay:false,pauseText:"Pause",playText:"Play",randomize:false,slideToStart:0,animationLoop:true,pauseOnAction:true,pauseOnHover:false,controlsContainer:"",manualControls:"",start:function(){},before:function(){},after:function(){},end:function(){}};a.fn.flexslider=function(b){return this.each(function(){if(a(this).find(".slides li").length==1){a(this).find(".slides li").fadeIn(400)}else{if(a(this).data("flexslider")!=true){new a.flexslider(a(this),b)}}})}})(jQuery);
drupal7/sites/all/themes/responsive/js/jquery.mobilemenu.js
1
(function($){
2

  
3
  //variable for storing the menu count when no ID is present
4
  var menuCount = 0;
5
  
6
  //plugin code
7
  $.fn.mobileMenu = function(options){
8
    
9
    //plugin's default options
10
    var settings = {
11
      switchWidth: 750,
12
      topOptionText: 'Select menu item',
13
      indentString: '&nbsp;&nbsp;&nbsp;'
14
    };
15
    
16
    
17
    //function to check if selector matches a list
18
    function isList($this){
19
      return $this.is('ul, ol');
20
    }
21
  
22
  
23
    //function to decide if mobile or not
24
    function isMobile(){
25
      return ($(window).width() < settings.switchWidth);
26
    }
27
    
28
    
29
    //check if dropdown exists for the current element
30
    function menuExists($this){
31
      
32
      //if the list has an ID, use it to give the menu an ID
33
      if($this.attr('id')){
34
        return ($('#mobileMenu_'+$this.attr('id')).length > 0);
35
      } 
36
      
37
      //otherwise, give the list and select elements a generated ID
38
      else {
39
        menuCount++;
40
        $this.attr('id', 'mm'+menuCount);
41
        return ($('#mobileMenu_mm'+menuCount).length > 0);
42
      }
43
    }
44
    
45
    
46
    //change page on mobile menu selection
47
    function goToPage($this){
48
      if($this.val() !== null){document.location.href = $this.val()}
49
    }
50
    
51
    
52
    //show the mobile menu
53
    function showMenu($this){
54
      $this.css('display', 'none');
55
      $('#mobileMenu_'+$this.attr('id')).show();
56
    }
57
    
58
    
59
    //hide the mobile menu
60
    function hideMenu($this){
61
      $this.css('display', '');
62
      $('#mobileMenu_'+$this.attr('id')).hide();
63
    }
64
    
65
    
66
    //create the mobile menu
67
    function createMenu($this){
68
      if(isList($this)){
69
                
70
        //generate select element as a string to append via jQuery
71
        var selectString = '<select id="mobileMenu_'+$this.attr('id')+'" class="mobileMenu">';
72
        
73
        //create first option (no value)
74
        selectString += '<option value="">'+settings.topOptionText+'</option>';
75
        
76
        //loop through list items
77
        $this.find('li').each(function(){
78
          
79
          //when sub-item, indent
80
          var levelStr = '';
81
          var len = $(this).parents('ul, ol').length;
82
          for(i=1;i<len;i++){levelStr += settings.indentString;}
83
          
84
          //get url and text for option
85
          var link = $(this).find('a:first-child').attr('href');
86
          var text = levelStr + $(this).clone().children('ul, ol').remove().end().text();
87
          
88
          //add option
89
          selectString += '<option value="'+link+'">'+text+'</option>';
90
        });
91
        
92
        selectString += '</select>';
93
        
94
        //append select element to ul/ol's container
95
        $this.parent().append(selectString);
96
        
97
        //add change event handler for mobile menu
98
        $('#mobileMenu_'+$this.attr('id')).change(function(){
99
          goToPage($(this));
100
        });
101
        
102
        //hide current menu, show mobile menu
103
        showMenu($this);
104
      } else {
105
        alert('mobileMenu will only work with UL or OL elements!');
106
      }
107
    }
108
    
109
    
110
    //plugin functionality
111
    function run($this){
112
      
113
      //menu doesn't exist
114
      if(isMobile() && !menuExists($this)){
115
        createMenu($this);
116
      }
117
      
118
      //menu already exists
119
      else if(isMobile() && menuExists($this)){
120
        showMenu($this);
121
      }
122
      
123
      //not mobile browser
124
      else if(!isMobile() && menuExists($this)){
125
        hideMenu($this);
126
      }
127

  
128
    }
129
    
130
    //run plugin on each matched ul/ol
131
    //maintain chainability by returning "this"
132
    return this.each(function() {
133
      
134
      //override the default settings if user provides some
135
      if(options){$.extend(settings, options);}
136
      
137
      //cache "this"
138
      var $this = $(this);
139
    
140
      //bind event to browser resize
141
      $(window).resize(function(){run($this);});
142

  
143
      //run plugin
144
      run($this);
145

  
146
    });
147
    
148
  };
149
  
150
})(jQuery);
drupal7/sites/all/themes/responsive/js/slide.js
1
jQuery(document).ready(function() {
2

  
3
/* Slider */	
4
	
5
 jQuery('.flexslider').flexslider({
6
  controlNav: false,
7
  directionNav:true,
8
  animation: "fade",              //String: Select your animation type, "fade" or "slide"
9
  slideshow: true                //Boolean: Animate slider automatically
10
  });
11

  
12
});
drupal7/sites/all/themes/responsive/js/superfish.js
1
/*
2
 * Superfish v1.4.8 - jQuery menu widget
3
 * Copyright (c) 2008 Joel Birch
4
 *
5
 * Dual licensed under the MIT and GPL licenses:
6
 * 	http://www.opensource.org/licenses/mit-license.php
7
 * 	http://www.gnu.org/licenses/gpl.html
8
 *
9
 * CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt
10
 */
11
(function($){$.fn.superfish=function(op){var sf=$.fn.superfish,c=sf.c,$arrow=$(['<span class="',c.arrowClass,'"> &#xbb;</span>'].join("")),over=function(){var $$=$(this),menu=getMenu($$);clearTimeout(menu.sfTimer);$$.showSuperfishUl().siblings().hideSuperfishUl();},out=function(){var $$=$(this),menu=getMenu($$),o=sf.op;clearTimeout(menu.sfTimer);menu.sfTimer=setTimeout(function(){o.retainPath=($.inArray($$[0],o.$path)>-1);$$.hideSuperfishUl();if(o.$path.length&&$$.parents(["li.",o.hoverClass].join("")).length<1){over.call(o.$path);}},o.delay);},getMenu=function($menu){var menu=$menu.parents(["ul.",c.menuClass,":first"].join(""))[0];sf.op=sf.o[menu.serial];return menu;},addArrow=function($a){$a.addClass(c.anchorClass).append($arrow.clone());};return this.each(function(){var s=this.serial=sf.o.length;var o=$.extend({},sf.defaults,op);o.$path=$("li."+o.pathClass,this).slice(0,o.pathLevels).each(function(){$(this).addClass([o.hoverClass,c.bcClass].join(" ")).filter("li:has(ul)").removeClass(o.pathClass);});sf.o[s]=sf.op=o;$("li:has(ul)",this)[($.fn.hoverIntent&&!o.disableHI)?"hoverIntent":"hover"](over,out).each(function(){if(o.autoArrows){addArrow($(">a:first-child",this));}}).not("."+c.bcClass).hideSuperfishUl();var $a=$("a",this);$a.each(function(i){var $li=$a.eq(i).parents("li");$a.eq(i).focus(function(){over.call($li);}).blur(function(){out.call($li);});});o.onInit.call(this);}).each(function(){var menuClasses=[c.menuClass];if(sf.op.dropShadows&&!($.browser.msie&&$.browser.version<7)){menuClasses.push(c.shadowClass);}$(this).addClass(menuClasses.join(" "));});};var sf=$.fn.superfish;sf.o=[];sf.op={};sf.IE7fix=function(){var o=sf.op;if($.browser.msie&&$.browser.version>6&&o.dropShadows&&o.animation.opacity!=undefined){this.toggleClass(sf.c.shadowClass+"-off");}};sf.c={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",arrowClass:"sf-sub-indicator",shadowClass:"sf-shadow"};sf.defaults={hoverClass:"sfHover",pathClass:"overideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},speed:"normal",autoArrows:true,dropShadows:true,disableHI:false,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};$.fn.extend({hideSuperfishUl:function(){var o=sf.op,not=(o.retainPath===true)?o.$path:"";o.retainPath=false;var $ul=$(["li.",o.hoverClass].join(""),this).add(this).not(not).removeClass(o.hoverClass).find(">ul").hide().css("visibility","hidden");o.onHide.call($ul);return this;},showSuperfishUl:function(){var o=sf.op,sh=sf.c.shadowClass+"-off",$ul=this.addClass(o.hoverClass).find(">ul:hidden").css("visibility","visible");sf.IE7fix.call($ul);o.onBeforeShow.call($ul);$ul.animate(o.animation,o.speed,function(){sf.IE7fix.call($ul);o.onShow.call($ul);});return this;}});})(jQuery);
drupal7/sites/all/themes/responsive/responsive.info
1
name = Premium Responsive
2
description = Premium Responsive is a responsive Drupal 7 theme. Developed by <a href="http://www.devsaran.com" target="_blank">Devsaran.com</a>.
3
core = 7.x
4
engine = phptemplate
5
stylesheets[all][] = css/responsive-style.css
6
stylesheets[all][] = css/layout.css
7
stylesheets[all][] = flexslider.css
8
stylesheets[all][] = style.css
9
stylesheets[all][] = color/colors.css
10
scripts[] = js/jquery.mobilemenu.js
11
scripts[] = js/superfish.js
12
scripts[] = js/custom.js
13
regions[sidebar_first]  = First Sidebar
14
regions[header]         = Header
15
regions[front_welcome]  = Front Welcome
16
regions[content]        = Content
17
regions[content_top]    = Content Top
18
regions[help]           = Help
19
regions[footer]         = Footer
20
regions[footer_first]   = First Bottom
21
regions[footer_second]  = Second Bottom
22
regions[footer_third]   = Third Bottom
23
regions[footer_fourth]  = Fourth Bottom
24
features[] = logo
25
features[] = name
26
features[] = slogan
27
features[] = node_user_picture
28
features[] = comment_user_picture
29
features[] = comment_user_verification
30
features[] = favicon
31
features[] = main_menu
32
features[] = secondary_menu
33
settings[breadcrumbs]  = 1
34
settings[slideshow_display]  = 1
35
settings[slide1_desc]  = "About us"
36
settings[slide2_desc]  = "Our Product"
37
settings[slide3_desc]  = "Our Service"
38
settings[slide1_url]  = "node/1"
39
settings[slide2_url]  = "node/2"
40
settings[slide3_url]  = "node/3"
41
settings[socialicon_display]  = 1
42
settings[twitter_url]  = "http://www.twitter.com/saranquardz"
43
settings[facebook_url]  = "http://www.facebook.com/saran.tech"
44
settings[googleplus_url]  = "https://plus.google.com/u/0/118427729176204518525"
45
settings[linkedin_url]  = "http://in.linkedin.com/in/devsaran"
46
; Information added by drupal.org packaging script on 2013-09-02
47
version = "7.x-1.7"
48
core = "7.x"
49
project = "responsive"
50
datestamp = "1378144928"
51

  
drupal7/sites/all/themes/responsive/style.css
1
/* www.devsaran.com */
2

  
3
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700,800,300);
4
@import url(http://fonts.googleapis.com/css?family=Bitter:400,700);
5

  
6

  
7
/* Deafults */
8

  
9
/* Default Style
10
--------------------------------*/
11
html, body, div, span, object, iframe,
12
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
13
abbr, address, cite, code,
14
del, dfn, em, img, ins, kbd, q, samp,
15
small, strong, sub, sup, var,
16
b, i,
17
dl, dt, dd, ol, ul, li,
18
fieldset, form, label, legend,
19
table, caption, tbody, tfoot, thead, tr, th, td,
20
article, aside, canvas, details, figcaption, figure, 
21
footer, header, hgroup, menu, nav, section, summary,
22
time, mark, audio, video {
23
  margin:0;
24
  padding:0;
25
  border:0;
26
  outline:0;
27
  font-size:100%;
28
  vertical-align:baseline;
29
  background:transparent;
30
}
31

  
32
article,aside,details,figcaption,figure,
33
footer,header,hgroup,menu,nav,section { 
34
  display:block;
35
}
36

  
37
nav ul {
38
  list-style:none;
39
}
40

  
41
blockquote, q {
42
  quotes:none;
43
	border: 1px solid #bbbbbb;
44
	background: #d8d8d8 url(images/quote.png) no-repeat;
45
	padding: 10px 5px 5px 47px;
46
	text-shadow: 1px 1px #fff;
47
	margin: 5px 0;
48
	border-radius: 7px;
49
}
50

  
51
blockquote:before, blockquote:after,
52
q:before, q:after {
53
  content:'';
54
  content:none;
55
}
56

  
57
pre {
58
  background: #d8d8d8;
59
  text-shadow: 1px 1px #fff;
60
  border: 1px solid #bbbbbb;
61
  padding: 7px;
62
  margin: 5px 0;
63
  border-radius: 7px;
64
}
65

  
66
code {
67
  background: #d8d8d8;
68
  text-shadow: 1px 1px #fff;
69
  border: 1px solid #bbbbbb;
70
  display: block;
71
  padding: 7px;
72
  margin: 5px 0;
73
  border-radius: 7px;
74
}
75

  
76
ins {
77
  background-color:#fdfc9b;
78
  text-decoration:none;
79
}
80

  
81
mark {
82
  background-color:#fdfc9b;
83
  font-style:italic;
84
  font-weight:bold;
85
}
86

  
87
del {
88
  text-decoration: line-through;
89
}
90

  
91
abbr[title], dfn[title] {
92
  border-bottom:1px dotted;
93
  cursor:help;
94
}
95

  
96
hr {
97
  height:1px;
98
  background: #9f9f9f;
99
  margin: 7px 0;
100
  border: none;
101
	clear: both;
102
	float: none;
103
	width: 100%;
104
}
105

  
106
input, select {
107
  vertical-align:middle;
108
}
109

  
110
select {
111
  border-radius: 4px;
112
  border: 1px solid #ACACAC;
113
  padding: 3px 4px;
114
}
115

  
116
.remove-margin {
117
  margin-right: 0 !important;
118
}
119

  
120
fieldset {
121
  border: 1px solid #ccc;
122
  margin: 0 0 1.4615em;
123
  padding: 1.5385em;
124
}
125

  
126
table {
127
  border-collapse:collapse;
128
  border-spacing:0;
129
  margin-bottom: 15px;
130
  width: 100%;
131
}
132

  
133
th, tr, td {
134
  vertical-align: middle;
135
}
136

  
137
.sticky-header th, .sticky-table th {
138
  border-bottom: 3px solid #ccc;
139
  padding-right: 1em;
140
  text-align: left;
141
}
142

  
143

  
144
table {
145
  background: #ececec;
146
  border: 1px solid #bbbbbb;
147
}
148

  
149
th {
150
  background: #dbdbdb;
151
  padding: 5px 4px;
152
  text-shadow: 1px 1px #fff;
153
  border-right: 1px solid #c8c7c7;
154
  color:#333;
155
}
156

  
157
td {
... Ce différentiel a été tronqué car il excède la taille maximale pouvant être affichée.

Formats disponibles : Unified diff