Merge lp:~murazaki/ubuntu-fr-static/fix_compass into lp:ubuntu-fr-static

Proposed by Mehdi Benadel
Status: Needs review
Proposed branch: lp:~murazaki/ubuntu-fr-static/fix_compass
Merge into: lp:ubuntu-fr-static
Diff against target: 3257 lines (+3169/-0) (has conflicts)
15 files modified
.bzrignore (+1/-0)
README.TXT (+61/-0)
config.rb (+49/-0)
css/ubuntu-fr.css (+1253/-0)
layout.html (+131/-0)
normalize.html (+361/-0)
sass/_init.scss (+165/-0)
sass/_normalize-ubuntu.scss (+152/-0)
sass/_normalize.scss (+670/-0)
sass/_theme-ubuntu.scss (+21/-0)
sass/components/_footer.scss (+25/-0)
sass/components/_navbar.scss (+76/-0)
sass/components/_wireframes.scss (+24/-0)
sass/layouts/_responsive.scss (+120/-0)
sass/ubuntu-fr.scss (+60/-0)
Conflict adding file .bzrignore.  Moved existing file to .bzrignore.moved.
Conflict adding file css.  Moved existing file to css.moved.
Conflict adding file images.  Moved existing file to images.moved.
To merge this branch: bzr merge lp:~murazaki/ubuntu-fr-static/fix_compass
Reviewer Review Type Date Requested Status
Ubuntu-fr-webteam Pending
Review via email: mp+244667@code.launchpad.net

Description of the change

Support dernière version de Compass

To post a comment you must log in.
5. By Murazaki <email address hidden>

Ajout valeurs couleur+radius dans init

6. By Murazaki <email address hidden>

Fix lié à la mise à jour de compass (ajout _normalize.scss + fix zen_grid)

Unmerged revisions

6. By Murazaki <email address hidden>

Fix lié à la mise à jour de compass (ajout _normalize.scss + fix zen_grid)

5. By Murazaki <email address hidden>

Ajout valeurs couleur+radius dans init

4. By Murazaki <email address hidden>

Support dernière version de compass

3. By YoBoY

Définition des bases pour la navigation et le footer
Ajout du logo ubuntu-fr
Définition des classes dans les fichiers de test

2. By YoBoY

Rédaction des bases de travail dans le README
Définition des éléments de compilation dans le config.rb
Ajout des premiers fichiers SASS
Définition du style global dans ubuntu-fr.scss qui va agréger tous les fichiers
Import du fichier _normalize.scss et du fichier de test normalize.html
Définition des premiers paramètres dans _init.scss
Définition des éléments HTML de base dans _normalize-ubuntu.scss basés sur le thème officiel
Création des autres fichiers scss définit dans le fichier principal

1. By YoBoY

Création du projet, des dossiers et des fichiers vide de base

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file '.bzrignore'
--- .bzrignore 1970-01-01 00:00:00 +0000
+++ .bzrignore 2014-12-13 16:21:44 +0000
@@ -0,0 +1,1 @@
1.sass-cache
02
=== renamed file '.bzrignore' => '.bzrignore.moved'
=== added file 'README.TXT'
--- README.TXT 1970-01-01 00:00:00 +0000
+++ README.TXT 2014-12-13 16:21:44 +0000
@@ -0,0 +1,61 @@
1====== Thème web des sites du domaine ubuntu-fr.org ======
2
3===== Thème Ubuntu =====
4
5Nous appuierons notre travail sur le thème Ubuntu officiel.
6
7 * https://code.launchpad.net/ubuntu-brand-guidelines
8
9Ce thème officiel est basé sur normalize (ce que nous reprendrons aussi) et une mise en page en grille de 12 colonnes non élastiques (ce que nous ne voulons pas sauf pour les grands écrans).
10
11Récupérer les fichiers du thème officiel :
12 bzr branch lp:ubuntu-brand-guidelines/guidelines-assets
13
14
15===== SASS, COMPASS et ZenGrid =====
16
17 * Site web de SASS : http://sass-lang.com/
18 * Site web de COMPASS : http://compass-style.org/
19 * Site web de ZenGrid : http://zengrids.com/
20
21**SASS** est pré-processeur CSS pensé comme une amélioration de CSS3 ajoutant des règles imbriquées, des variables, des fonctions, de l'héritage, et bien plus. Le tout est ensuite utilisé pour générer du CSS3 standard bien formaté.
22**COMPASS** est un framework pour SASS apportant diverses fonctions prédéfinies.
23**ZenGrid** est une extension pour SASS apportant un système de grilles de présentation.
24
25Pour installer tout ça :
26 sudo apt-get install ruby
27 sudo gem update
28 sudo gem install sass compass zen-grids
29
30Pendant le développement, pour générer automatiquement les CSS à chaque changement de fichiers :
31 compass watch
32
33Pour passer en production avec des fichiers CSS compressés :
34 Éditer le fichier config.rb et dé-commenter la ligne : #environment = :production
35 Effacer tous les CSS déjà créé : compass clean
36 Régénérer les CSS avec la commande : compass compile
37
38Cela génère les fichiers CSS qu'il nous faut, compressés et agrégés.
39
40
41===== SMACSS =====
42
43 * Site web de SMACSS : http://smacss.com/
44
45SMACSS est un guide d'écriture et d'organisation des différents fichiers .CSS afin de s'y retrouver plus facilement dans les différents éléments de mise en page.
46
475 catégories de fichiers :
48 Base - les styles de base
49 Layout - la mise en page des différents éléments ou groupes d'éléments
50 Module - les différents blocs réutilisables
51 State - description de l'apparence en fonction d'un contexte particulier (taille d'écran, page particulière, état d'un élément,…)
52 Theme - Ce qui est purement du thème (couleurs, fonds, etc…)
53
54Nos fichiers de travail .scss seront dans un de ces types
55
56
57===== Tests =====
58
59Les fichiers .html sont uniquement là pour tester les éléments de base css afin d'avoir un rendu rapide de nos modifications.
60
61
062
=== added file 'config.rb'
--- config.rb 1970-01-01 00:00:00 +0000
+++ config.rb 2014-12-13 16:21:44 +0000
@@ -0,0 +1,49 @@
1#
2# Ce fichier est destiné à l'intégration de Compass/Sass uniquement. Si vous
3# n'utilisez par Compass, vous pouvez le supprimer sans risque ou l'ignorer.
4#
5# Si vous voulez en apprendre plus sur Sass et Compass, lisez le fichier
6# sass/README.txt.
7#
8
9
10# Remplacez ce paramètre par :production quand c'est prêt pour la production.
11environment = :development
12#environment = :production
13
14# En développement, nous pouvons activer FireSass-compatible debug_info.
15firesass = false
16#firesass = true
17
18
19# Emplacement des éléments du thème.
20css_dir = "css"
21sass_dir = "sass"
22extensions_dir = "sass-extensions"
23images_dir = "images"
24javascripts_dir = "js"
25
26
27# Nécessite des greffons compass installés sur le système.
28#require 'breakpoint'
29require 'zen-grids'
30
31
32##
33## Vous n'avez probablement rien à modifier ci-dessous.
34##
35
36# Vous pouvez modifier le type de css généré (peux être modifier en ligne de commande):
37# output_style = :expanded ou :nested ou :compact ou :compressed
38output_style = (environment == :development) ? :expanded : :compressed
39
40# Pour permettre les chemins relatif grace aux fonctions d'assistance de compass.
41relative_assets = true
42
43# Pour désactiver les commentaires de debugage affichant l'emplacement original
44# des éléments, décommentez :
45# line_comments = false
46
47# Passez des options à sass. Pour le développement, nous activons FireSass-compatible
48# debug_info si la variable firesass est configurée à true.
49sass_options = (environment == :development && firesass == true) ? {:debug_info => true} : {}
050
=== added directory 'css'
=== renamed directory 'css' => 'css.moved'
=== added file 'css/ubuntu-fr.css'
--- css/ubuntu-fr.css 1970-01-01 00:00:00 +0000
+++ css/ubuntu-fr.css 2014-12-13 16:21:44 +0000
@@ -0,0 +1,1253 @@
1@charset "UTF-8";
2/**
3 * @file
4 * Les styles sont organisés en utilisant les principes SMACSS.
5 * @see http://smacss.com/book/
6 *
7 * Quand vous activez l'aggregation CSS dans admin/config/development/performance,
8 * tous ces fichiers @include sont combinés en un seul fichier.
9 */
10/**
11 * Importations et initialisations pour SASS
12 * - Composants
13 * - Variables
14 * - Modules Compass
15 * etc.
16 */
17/* ubuntu orange (used for text links also on any site except canonical) */
18/* used as background on pre text */
19/* canonical aubergine */
20/* light aubergine (consumer) */
21/* mid aubergine (both) */
22/* dark aubergine (enterprise) */
23/* warm grey */
24/* cool grey */
25/* light grey */
26/* red */
27/* yellow */
28/* green */
29/* cyan */
30/* red, for status that require immediate attention */
31/* grey, for disabled status or ones that don’t require attention */
32/* yellow, for status that require attention */
33/* blue, for status that don’t require action */
34/* green, for positive status */
35/* misc colours */
36/* This is the global link color, mainly used for links in content */
37/**
38 * BASE - Règles pour les éléments HTML
39 */
40/* Ce fichier est celui du projet normalize non modifié
41 * @see https://github.com/JohnAlbin/normalize.css-with-sass-or-compass
42 */
43/* normalize-scss 3.0.2+normalize.3.0.2 | MIT/GPLv2 License | bit.ly/normalize-scss */
44/**
45 * Establish a vertical rhythm unit using $base-font-size, $base-line-height,
46 * and $rhythm-unit variables. Also, correct text resizing oddly in IE 6/7 when
47 * body `font-size` is set using `em` units.
48 */
49/* line 106, ../../../../../../../../../var/lib/gems/1.9.1/gems/compass-core-1.0.1/stylesheets/compass/typography/_vertical_rhythm.scss */
50html {
51 font-size: 100%;
52 line-height: 1.5em;
53}
54
55/**
56 * 1. Set default font family to sans-serif.
57 * 2. Prevent iOS text size adjust after orientation change, without disabling
58 * user zoom.
59 */
60/* line 67, ../sass/_normalize.scss */
61html {
62 font-family: Ubuntu, Arial, "libra sans", sans-serif;
63 /* 1 */
64 -ms-text-size-adjust: 100%;
65 /* 2 */
66 -webkit-text-size-adjust: 100%;
67 /* 2 */
68}
69
70/**
71 * Remove default margin.
72 */
73/* line 79, ../sass/_normalize.scss */
74body {
75 margin: 0;
76}
77
78/* HTML5 display definitions
79 ========================================================================== */
80/**
81 * Correct `block` display not defined for any HTML5 element in IE 8/9.
82 * Correct `block` display not defined for `details` or `summary` in IE 10/11
83 * and Firefox.
84 * Correct `block` display not defined for `main` in IE 11.
85 */
86/* line 93, ../sass/_normalize.scss */
87article,
88aside,
89details,
90figcaption,
91figure,
92footer,
93header,
94hgroup,
95main,
96menu,
97nav,
98section,
99summary {
100 display: block;
101}
102
103/**
104 * 1. Correct `inline-block` display not defined in IE 8/9.
105 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
106 */
107/* line 114, ../sass/_normalize.scss */
108audio,
109canvas,
110progress,
111video {
112 display: inline-block;
113 /* 1 */
114 *display: inline;
115 *zoom: 1;
116 vertical-align: baseline;
117 /* 2 */
118}
119
120/**
121 * Prevent modern browsers from displaying `audio` without controls.
122 * Remove excess height in iOS 5 devices.
123 */
124/* line 133, ../sass/_normalize.scss */
125audio:not([controls]) {
126 display: none;
127 height: 0;
128}
129
130/**
131 * Address `[hidden]` styling not present in IE 8/9/10.
132 */
133/* line 143, ../sass/_normalize.scss */
134[hidden] {
135 display: none;
136}
137
138/**
139 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
140 */
141/* line 152, ../sass/_normalize.scss */
142template {
143 display: none;
144}
145
146/* Links
147 ========================================================================== */
148/**
149 * Remove the gray background color from active links in IE 10.
150 */
151/* line 164, ../sass/_normalize.scss */
152a {
153 background-color: transparent;
154}
155
156/**
157 * Improve readability when focused and also mouse hovered in all browsers.
158 */
159/* line 173, ../sass/_normalize.scss */
160a:active,
161a:hover {
162 outline: 0;
163}
164
165/* Text-level semantics
166 ========================================================================== */
167/**
168 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
169 */
170/* line 185, ../sass/_normalize.scss */
171abbr[title] {
172 border-bottom: 1px dotted;
173}
174
175/**
176 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
177 */
178/* line 193, ../sass/_normalize.scss */
179b,
180strong {
181 font-weight: bold;
182}
183
184/**
185 * Set 1 unit of vertical rhythm on the top and bottom margin.
186 */
187/* line 203, ../sass/_normalize.scss */
188blockquote {
189 margin: 1.5em 28px;
190}
191
192/**
193 * Address styling not present in Safari and Chrome.
194 */
195/* line 212, ../sass/_normalize.scss */
196dfn {
197 font-style: italic;
198}
199
200/**
201 * Address variable `h1` font-size and margin within `section` and `article`
202 * contexts in Firefox 4+, Safari, and Chrome.
203 */
204/* line 221, ../sass/_normalize.scss */
205h1 {
206 /* Set the font-size and line-height while keeping a proper vertical rhythm. */
207 font-size: 2.813em;
208 line-height: 1.59972em;
209 /* Set 1 unit of vertical rhythm on the top and bottom margins. */
210 margin-top: 0.53324em;
211 margin-bottom: 0.53324em;
212}
213
214/* line 236, ../sass/_normalize.scss */
215h2 {
216 font-size: 2em;
217 line-height: 1.5em;
218 margin-top: 0.75em;
219 margin-bottom: 0.75em;
220}
221
222/* line 242, ../sass/_normalize.scss */
223h3 {
224 font-size: 1.438em;
225 line-height: 2.08623em;
226 margin-top: 1.04312em;
227 margin-bottom: 1.04312em;
228}
229
230/* line 248, ../sass/_normalize.scss */
231h4 {
232 font-size: 1.219em;
233 line-height: 1.23052em;
234 margin-top: 1.23052em;
235 margin-bottom: 1.23052em;
236}
237
238/* line 254, ../sass/_normalize.scss */
239h5 {
240 font-size: 1em;
241 line-height: 1.5em;
242 margin-top: 1.5em;
243 margin-bottom: 1.5em;
244}
245
246/* line 260, ../sass/_normalize.scss */
247h6 {
248 font-size: 0.813em;
249 line-height: 1.84502em;
250 margin-top: 1.84502em;
251 margin-bottom: 1.84502em;
252}
253
254/**
255 * Address styling not present in IE 8/9.
256 */
257/* line 272, ../sass/_normalize.scss */
258mark {
259 background: #ff0;
260 color: #000;
261}
262
263/**
264 * Set 1 unit of vertical rhythm on the top and bottom margin.
265 */
266/* line 283, ../sass/_normalize.scss */
267p,
268pre {
269 margin: 1.5em 0;
270}
271
272/**
273 * Address inconsistent and variable font size in all browsers.
274 */
275/* line 293, ../sass/_normalize.scss */
276small {
277 font-size: 80%;
278}
279
280/**
281 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
282 */
283/* line 301, ../sass/_normalize.scss */
284sub,
285sup {
286 font-size: 75%;
287 line-height: 0;
288 position: relative;
289 vertical-align: baseline;
290}
291
292/* line 309, ../sass/_normalize.scss */
293sup {
294 top: -0.5em;
295}
296
297/* line 313, ../sass/_normalize.scss */
298sub {
299 bottom: -0.25em;
300}
301
302/* Lists
303 ========================================================================== */
304/**
305 * Address margins set differently in IE 6/7.
306 */
307/* line 325, ../sass/_normalize.scss */
308dl,
309menu,
310ol,
311ul {
312 margin: 1.5em 0;
313}
314
315/**
316 * Turn off margins on nested lists.
317 */
318/* line 339, ../sass/_normalize.scss */
319ol ol,
320ol ul,
321ul ol,
322ul ul {
323 margin: 0;
324}
325
326/* line 346, ../sass/_normalize.scss */
327dd {
328 margin: 0 0 0 28px;
329}
330
331/**
332 * Address paddings set differently in IE 6/7.
333 */
334/* line 354, ../sass/_normalize.scss */
335menu,
336ol,
337ul {
338 padding: 0 0 0 28px;
339}
340
341/**
342 * Correct list images handled incorrectly in IE 7.
343 */
344/* line 366, ../sass/_normalize.scss */
345nav ul,
346nav ol {
347 list-style: none;
348 list-style-image: none;
349}
350
351/* Embedded content
352 ========================================================================== */
353/**
354 * Remove border when inside `a` element in IE 8/9/10.
355 */
356/* line 381, ../sass/_normalize.scss */
357img {
358 border: 0;
359 /* Improve image quality when scaled in IE 7. */
360 -ms-interpolation-mode: bicubic;
361}
362
363/**
364 * Correct overflow not hidden in IE 9/10/11.
365 */
366/* line 394, ../sass/_normalize.scss */
367svg:not(:root) {
368 overflow: hidden;
369}
370
371/* Grouping content
372 ========================================================================== */
373/**
374 * Address margin not present in IE 8/9 and Safari.
375 */
376/* line 406, ../sass/_normalize.scss */
377figure {
378 margin: 1.5em 28px;
379}
380
381/**
382 * Address differences between Firefox and other browsers.
383 */
384/* line 415, ../sass/_normalize.scss */
385hr {
386 -moz-box-sizing: content-box;
387 -webkit-box-sizing: content-box;
388 box-sizing: content-box;
389 height: 0;
390}
391
392/**
393 * Contain overflow in all browsers.
394 */
395/* line 424, ../sass/_normalize.scss */
396pre {
397 overflow: auto;
398}
399
400/**
401 * Address odd `em`-unit font size rendering in all browsers.
402 */
403/* line 432, ../sass/_normalize.scss */
404code,
405kbd,
406pre,
407samp {
408 font-family: monospace, monospace;
409 font-size: 1em;
410}
411
412/* Forms
413 ========================================================================== */
414/**
415 * Known limitation: by default, Chrome and Safari on OS X allow very limited
416 * styling of `select`, unless a `border` property is set.
417 */
418/**
419 * Correct margin displayed oddly in IE 6/7.
420 */
421/* line 456, ../sass/_normalize.scss */
422form {
423 margin: 0;
424}
425
426/**
427 * 1. Correct color not being inherited.
428 * Known issue: affects color of disabled elements.
429 * 2. Correct font properties not being inherited.
430 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
431 * 4. Address `font-family` inconsistency between `textarea` and other form in IE 7
432 * 5. Improve appearance and consistency with IE 6/7.
433 */
434/* line 470, ../sass/_normalize.scss */
435button,
436input,
437optgroup,
438select,
439textarea {
440 color: inherit;
441 /* 1 */
442 font: inherit;
443 /* 2 */
444 margin: 0;
445 /* 3 */
446 *font-family: Ubuntu, Arial, "libra sans", sans-serif;
447 /* 4 */
448 *vertical-align: middle;
449 /* 5 */
450}
451
452/**
453 * Address `overflow` set to `hidden` in IE 8/9/10/11.
454 */
455/* line 488, ../sass/_normalize.scss */
456button {
457 overflow: visible;
458}
459
460/**
461 * Address inconsistent `text-transform` inheritance for `button` and `select`.
462 * All other form control elements do not inherit `text-transform` values.
463 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
464 * Correct `select` style inheritance in Firefox.
465 */
466/* line 499, ../sass/_normalize.scss */
467button,
468select {
469 text-transform: none;
470}
471
472/**
473 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
474 * and `video` controls.
475 * 2. Correct inability to style clickable `input` types in iOS.
476 * 3. Improve usability and consistency of cursor style between image-type
477 * `input` and others.
478 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
479 * Known issue: inner spacing remains in IE 6.
480 */
481/* line 514, ../sass/_normalize.scss */
482button,
483html input[type="button"],
484input[type="reset"],
485input[type="submit"] {
486 -webkit-appearance: button;
487 /* 2 */
488 cursor: pointer;
489 /* 3 */
490 *overflow: visible;
491 /* 4 */
492}
493
494/**
495 * Re-set default cursor for disabled elements.
496 */
497/* line 529, ../sass/_normalize.scss */
498button[disabled],
499html input[disabled] {
500 cursor: default;
501}
502
503/**
504 * Remove inner padding and border in Firefox 4+.
505 */
506/* line 538, ../sass/_normalize.scss */
507button::-moz-focus-inner,
508input::-moz-focus-inner {
509 border: 0;
510 padding: 0;
511}
512
513/**
514 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
515 * the UA stylesheet.
516 */
517/* line 549, ../sass/_normalize.scss */
518input {
519 line-height: normal;
520}
521
522/**
523 * It's recommended that you don't attempt to style these elements.
524 * Firefox's implementation doesn't respect box-sizing, padding, or width.
525 *
526 * 1. Address box sizing set to `content-box` in IE 8/9/10.
527 * 2. Remove excess padding in IE 8/9/10.
528 * 3. Remove excess padding in IE 7.
529 * Known issue: excess padding remains in IE 6.
530 */
531/* line 564, ../sass/_normalize.scss */
532input[type="checkbox"],
533input[type="radio"] {
534 -moz-box-sizing: border-box;
535 -webkit-box-sizing: border-box;
536 box-sizing: border-box;
537 /* 1 */
538 padding: 0;
539 /* 2 */
540 *height: 13px;
541 /* 3 */
542 *width: 13px;
543 /* 3 */
544}
545
546/**
547 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
548 * `font-size` values of the `input`, it causes the cursor style of the
549 * decrement button to change from `default` to `text`.
550 */
551/* line 581, ../sass/_normalize.scss */
552input[type="number"]::-webkit-inner-spin-button,
553input[type="number"]::-webkit-outer-spin-button {
554 height: auto;
555}
556
557/**
558 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
559 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
560 * (include `-moz` to future-proof).
561 */
562/* line 592, ../sass/_normalize.scss */
563input[type="search"] {
564 -webkit-appearance: textfield;
565 /* 1 */
566 -moz-box-sizing: content-box;
567 -webkit-box-sizing: content-box;
568 box-sizing: content-box;
569 /* 2 */
570 /**
571 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
572 * Safari (but not Chrome) clips the cancel button when the search input has
573 * padding (and `textfield` appearance).
574 */
575}
576/* line 602, ../sass/_normalize.scss */
577input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
578 -webkit-appearance: none;
579}
580
581/**
582 * Define consistent border, margin, and padding.
583 */
584/* line 612, ../sass/_normalize.scss */
585fieldset {
586 margin: 0 2px;
587 /* Apply borders and padding that keep the vertical rhythm. */
588 border-color: #c0c0c0;
589 border-top-width: 0.0625em;
590 border-top-style: solid;
591 padding-top: 0.4625em;
592 border-bottom-width: 0.0625em;
593 border-bottom-style: solid;
594 padding-bottom: 0.9125em;
595 border-left-width: 0.0625em;
596 border-left-style: solid;
597 padding-left: 0.875em;
598 border-right-width: 0.0625em;
599 border-right-style: solid;
600 padding-right: 0.875em;
601}
602
603/**
604 * 1. Correct `color` not being inherited in IE 8/9/10/11.
605 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
606 * 3. Correct alignment displayed oddly in IE 6/7.
607 */
608/* line 628, ../sass/_normalize.scss */
609legend {
610 border: 0;
611 /* 1 */
612 padding: 0;
613 /* 2 */
614 *margin-left: -7px;
615 /* 3 */
616}
617
618/**
619 * Remove default vertical scrollbar in IE 8/9/10/11.
620 */
621/* line 642, ../sass/_normalize.scss */
622textarea {
623 overflow: auto;
624}
625
626/**
627 * Don't inherit the `font-weight` (applied by a rule above).
628 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
629 */
630/* line 651, ../sass/_normalize.scss */
631optgroup {
632 font-weight: bold;
633}
634
635/* Tables
636 ========================================================================== */
637/**
638 * Remove most spacing between table cells.
639 */
640/* line 662, ../sass/_normalize.scss */
641table {
642 border-collapse: collapse;
643 border-spacing: 0;
644}
645
646/* line 667, ../sass/_normalize.scss */
647td,
648th {
649 padding: 0;
650}
651
652/* Les modifications apportées par le projet ubuntu */
653/**
654 * Personnalisation de base des éléments HTML5
655 *
656 * Complément du fichier normalize reprenant les éléments du thème officiel
657 *
658 */
659/* ===========================================================================
660 * Liens
661 * ===========================================================================*/
662/* line 12, ../sass/_normalize-ubuntu.scss */
663a:link, a:visited {
664 color: #dd4814;
665 text-decoration: none;
666}
667
668/* line 17, ../sass/_normalize-ubuntu.scss */
669a:hover, a:active, a:focus {
670 text-decoration: underline;
671}
672
673/* ===========================================================================
674 * Typography
675 * ===========================================================================*/
676/* line 26, ../sass/_normalize-ubuntu.scss */
677blockquote, q {
678 quotes: none;
679}
680
681/* line 30, ../sass/_normalize-ubuntu.scss */
682blockquote:before, blockquote:after,
683q:before, q:after {
684 content: "";
685 content: none;
686}
687
688/* line 36, ../sass/_normalize-ubuntu.scss */
689abbr, acronym {
690 cursor: help;
691}
692
693/* line 38, ../sass/_normalize-ubuntu.scss */
694h6 {
695 text-transform: uppercase;
696}
697
698/* line 42, ../sass/_normalize-ubuntu.scss */
699ins {
700 background: #fffbeb;
701 text-decoration: none;
702}
703
704/* line 47, ../sass/_normalize-ubuntu.scss */
705code,
706kbd,
707pre,
708samp {
709 font-family: "Ubuntu Mono", "Consolas", "Monaco", "Lucida Console", "Courier New", Courier, monospace, sans-serif;
710}
711
712/* ===========================================================================
713 * Formulaires
714 * ===========================================================================*/
715/* line 58, ../sass/_normalize-ubuntu.scss */
716fieldset {
717 -moz-border-radius: 4px;
718 -webkit-border-radius: 4px;
719 border-radius: 4px;
720 background-color: #EFEEEC;
721 border-top-width: 0em;
722 border-top-style: solid;
723 padding-top: 0.9375em;
724 border-bottom-width: 0em;
725 border-bottom-style: solid;
726 padding-bottom: 0.9375em;
727 border-left-width: 0em;
728 border-left-style: solid;
729 padding-left: 5.625em;
730 border-right-width: 0em;
731 border-right-style: solid;
732 padding-right: 1.2em;
733}
734
735/* line 67, ../sass/_normalize-ubuntu.scss */
736input,
737button,
738textarea {
739 -moz-border-radius: 4px;
740 -webkit-border-radius: 4px;
741 border-radius: 4px;
742 border: 1px solid #999999;
743 padding: 4px;
744}
745
746/* line 75, ../sass/_normalize-ubuntu.scss */
747input[type="text"],
748textarea {
749 display: block;
750}
751
752/* line 80, ../sass/_normalize-ubuntu.scss */
753input:focus,
754textarea:focus {
755 border: 1px solid #000;
756}
757
758/* line 85, ../sass/_normalize-ubuntu.scss */
759textarea[readonly='readonly'] {
760 color: #999;
761}
762
763/* line 89, ../sass/_normalize-ubuntu.scss */
764input[type="submit"],
765input[type="reset"],
766input[type="button"],
767button[type="submit"],
768button[type="reset"],
769button[type="button"] {
770 display: block;
771 padding: 10px 14px;
772 text-shadow: none;
773 width: auto;
774 margin-bottom: 0;
775}
776
777/* line 103, ../sass/_normalize-ubuntu.scss */
778input[type="submit"],
779button[type="submit"] {
780 background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RkNDgxNCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2MwM2YxMSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
781 background-size: 100%;
782 background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dd4814), color-stop(100%, #c03f11));
783 background-image: -moz-linear-gradient(#dd4814, #c03f11);
784 background-image: -webkit-linear-gradient(#dd4814, #c03f11);
785 background-image: linear-gradient(#dd4814, #c03f11);
786 -moz-box-shadow: none;
787 -webkit-box-shadow: none;
788 box-shadow: none;
789 color: #fff;
790 border: 0;
791}
792
793/* line 111, ../sass/_normalize-ubuntu.scss */
794button[type="submit"]:hover,
795input[type="submit"]:hover {
796 background: #dd4814;
797}
798
799/* line 116, ../sass/_normalize-ubuntu.scss */
800button[disabled],
801html input[disabled],
802button[disabled]:hover,
803html input[disabled]:hover {
804 background-color: #efefef;
805 background-image: none;
806 cursor: not-allowed;
807}
808
809/* line 125, ../sass/_normalize-ubuntu.scss */
810input[type="reset"] {
811 display: none;
812}
813
814/* line 129, ../sass/_normalize-ubuntu.scss */
815button[type="submit"] {
816 border: 0;
817 display: inline-block;
818 text-decoration: none;
819}
820
821/* line 135, ../sass/_normalize-ubuntu.scss */
822label {
823 cursor: pointer;
824 display: block;
825 margin-bottom: 4px;
826}
827
828/* line 141, ../sass/_normalize-ubuntu.scss */
829label span {
830 color: #df382c;
831}
832
833/* line 145, ../sass/_normalize-ubuntu.scss */
834input[type="checkbox"] + label,
835input[type="radio"] + label {
836 display: inline;
837 margin-left: 5px;
838 vertical-align: middle;
839 width: auto;
840}
841
842/**
843 * LAYOUT - Règles de mise en page
844 */
845/**
846 * @file
847 * Positionnement pour une mise en page « responsive »
848 *
849 * Définition des classes CSS pour créer une mise en page fluide.
850 * Cette mise en page utilise le plugin Zen Grids pour Compass : http://zengrids.com
851 */
852/* Nous allons déterminer une grille avec un nombre de colonnes variables en fonction
853 de la largeur de l'écran. Nous définirons une gouttière fixe entre ces colonnes. */
854/* Initialisation des variables. */
855/* If you need IE6/7 support for box-sizing: border-box (default), see _init.scss */
856/* You can generate more efficient CSS if you manually apply the
857 zen-grid-item-base mixin to all grid items from within a single ruleset. */
858/* On centre la page et on limite la largeur pour les résolutions trop grandes */
859/* line 26, ../sass/layouts/_responsive.scss */
860.content,
861.header,
862.top-nav,
863.footer {
864 margin-left: auto;
865 margin-right: auto;
866 max-width: 1200px;
867}
868
869/* Définition des éléments de type container */
870/* line 36, ../sass/layouts/_responsive.scss */
871.main {
872 padding-left: 10px;
873 padding-right: 10px;
874 -moz-box-sizing: border-box;
875 -webkit-box-sizing: border-box;
876 -ms-box-sizing: border-box;
877 box-sizing: border-box;
878 word-wrap: break-word;
879 padding-top: 0.75em;
880 padding-bottom: 2.25em;
881}
882
883@media all and (max-width: 727px) {
884 /* line 46, ../sass/layouts/_responsive.scss */
885 .main .top-nav {
886 height: 1.8em;
887 }
888 /* line 45, ../../../../../../../../../var/lib/gems/1.9.1/gems/zen-grids-1.4/stylesheets/zen/_grids.scss */
889 .main:before, .main:after {
890 content: "";
891 display: table;
892 }
893 /* line 50, ../../../../../../../../../var/lib/gems/1.9.1/gems/zen-grids-1.4/stylesheets/zen/_grids.scss */
894 .main:after {
895 clear: both;
896 }
897 /* line 50, ../sass/layouts/_responsive.scss */
898 .main .menu {
899 float: left;
900 width: 100%;
901 margin-left: 0%;
902 margin-right: -100%;
903 clear: both;
904 }
905 /* line 55, ../sass/layouts/_responsive.scss */
906 .main .login {
907 float: left;
908 width: 100%;
909 margin-left: 0%;
910 margin-right: -100%;
911 clear: both;
912 }
913
914 /* line 60, ../sass/layouts/_responsive.scss */
915 .footer-block li {
916 display: none;
917 }
918}
919@media all and (min-width: 728px) and (max-width: 1023px) {
920 /* line 68, ../sass/layouts/_responsive.scss */
921 .main .top-nav {
922 height: 1.8em;
923 }
924 /* line 45, ../../../../../../../../../var/lib/gems/1.9.1/gems/zen-grids-1.4/stylesheets/zen/_grids.scss */
925 .main:before, .main:after {
926 content: "";
927 display: table;
928 }
929 /* line 50, ../../../../../../../../../var/lib/gems/1.9.1/gems/zen-grids-1.4/stylesheets/zen/_grids.scss */
930 .main:after {
931 clear: both;
932 }
933 /* line 72, ../sass/layouts/_responsive.scss */
934 .main .menu {
935 float: left;
936 width: 83.33333%;
937 margin-left: 0%;
938 margin-right: -83.33333%;
939 }
940 /* line 75, ../sass/layouts/_responsive.scss */
941 .main .login {
942 float: left;
943 width: 16.66667%;
944 margin-left: 0%;
945 margin-right: -16.66667%;
946 text-align: right;
947 }
948
949 /* line 80, ../sass/layouts/_responsive.scss */
950 .footer-block {
951 float: left;
952 width: 200%;
953 }
954}
955@media all and (min-width: 1024px) {
956 /* line 88, ../sass/layouts/_responsive.scss */
957 .header {
958 padding-top: 0px;
959 padding-bottom: 0px;
960 height: 4.5em;
961 }
962
963 /* line 45, ../../../../../../../../../var/lib/gems/1.9.1/gems/zen-grids-1.4/stylesheets/zen/_grids.scss */
964 .main:before, .main:after {
965 content: "";
966 display: table;
967 }
968 /* line 50, ../../../../../../../../../var/lib/gems/1.9.1/gems/zen-grids-1.4/stylesheets/zen/_grids.scss */
969 .main:after {
970 clear: both;
971 }
972
973 /* line 96, ../sass/layouts/_responsive.scss */
974 .menu {
975 float: left;
976 width: 83.33333%;
977 margin-left: 0%;
978 margin-right: -83.33333%;
979 }
980
981 /* line 99, ../sass/layouts/_responsive.scss */
982 .login {
983 float: left;
984 width: 16.66667%;
985 margin-left: 0%;
986 margin-right: -16.66667%;
987 text-align: right;
988 }
989
990 /* line 103, ../sass/layouts/_responsive.scss */
991 .site-title {
992 margin: 0px;
993 float: left;
994 width: 16.66667%;
995 margin-left: 0%;
996 margin-right: -16.66667%;
997 }
998
999 /* line 107, ../sass/layouts/_responsive.scss */
1000 .sub-title {
1001 margin: 0px;
1002 padding-top: 0.6em;
1003 float: left;
1004 width: 16.66667%;
1005 margin-left: 16.66667%;
1006 margin-right: -33.33333%;
1007 }
1008
1009 /* line 112, ../sass/layouts/_responsive.scss */
1010 .header nav {
1011 float: left;
1012 width: 66.66667%;
1013 margin-left: 33.33333%;
1014 margin-right: -100%;
1015 clear: right;
1016 }
1017
1018 /* line 116, ../sass/layouts/_responsive.scss */
1019 .footer-block {
1020 float: left;
1021 width: 200%;
1022 }
1023}
1024/**
1025 * MODULES - Règles pour les éléménts basiques
1026 */
1027/**
1028 * @file
1029 * Navigation bar.
1030 */
1031/* line 5, ../sass/components/_navbar.scss */
1032.top-nav {
1033 padding-top: 0;
1034 padding-bottom: 0;
1035}
1036/* line 8, ../sass/components/_navbar.scss */
1037.top-nav .menu {
1038 margin: 0;
1039 padding: 0;
1040 border: 0;
1041 overflow: hidden;
1042 *zoom: 1;
1043}
1044/* line 62, ../../../../../../../../../var/lib/gems/1.9.1/gems/compass-core-1.0.1/stylesheets/compass/typography/lists/_horizontal-list.scss */
1045.top-nav .menu li {
1046 list-style-image: none;
1047 list-style-type: none;
1048 margin-left: 0;
1049 white-space: nowrap;
1050 float: left;
1051 padding-left: 4px;
1052 padding-right: 4px;
1053}
1054/* line 49, ../../../../../../../../../var/lib/gems/1.9.1/gems/compass-core-1.0.1/stylesheets/compass/typography/lists/_horizontal-list.scss */
1055.top-nav .menu li:first-child {
1056 padding-left: 0;
1057}
1058/* line 50, ../../../../../../../../../var/lib/gems/1.9.1/gems/compass-core-1.0.1/stylesheets/compass/typography/lists/_horizontal-list.scss */
1059.top-nav .menu li:last-child {
1060 padding-right: 0;
1061}
1062/* line 52, ../../../../../../../../../var/lib/gems/1.9.1/gems/compass-core-1.0.1/stylesheets/compass/typography/lists/_horizontal-list.scss */
1063.top-nav .menu li.last {
1064 padding-right: 0;
1065}
1066/* line 11, ../sass/components/_navbar.scss */
1067.top-nav .menu li:first-of-type a {
1068 margin-left: 0;
1069}
1070/* line 15, ../sass/components/_navbar.scss */
1071.top-nav a {
1072 -moz-transition: opacity 0.25s ease-in-out;
1073 -o-transition: opacity 0.25s ease-in-out;
1074 -webkit-transition: opacity 0.25s ease-in-out;
1075 transition: opacity 0.25s ease-in-out;
1076 color: white;
1077 text-decoration: none;
1078 font-size: 14.4px;
1079 font-weight: 300;
1080 line-height: 1.5em;
1081 border-top: 0.3em solid transparent;
1082 margin-right: 10px;
1083 margin-left: 10px;
1084 padding-bottom: 0.3em;
1085 display: block;
1086}
1087/* line 29, ../sass/components/_navbar.scss */
1088.top-nav a:hover {
1089 color: #dd4814;
1090}
1091/* line 33, ../sass/components/_navbar.scss */
1092.top-nav a.active {
1093 color: #dd4814;
1094 border-top: 0.3em solid #dd4814;
1095 opacity: 1;
1096}
1097
1098/* line 41, ../sass/components/_navbar.scss */
1099.header {
1100 padding-top: 0;
1101 padding-bottom: 0;
1102}
1103/* line 44, ../sass/components/_navbar.scss */
1104.header .sub-menu {
1105 margin: 0;
1106 padding: 0;
1107 border: 0;
1108 overflow: hidden;
1109 *zoom: 1;
1110 border-right: 1px solid #c64012;
1111}
1112/* line 62, ../../../../../../../../../var/lib/gems/1.9.1/gems/compass-core-1.0.1/stylesheets/compass/typography/lists/_horizontal-list.scss */
1113.header .sub-menu li {
1114 list-style-image: none;
1115 list-style-type: none;
1116 margin-left: 0;
1117 white-space: nowrap;
1118 float: left;
1119 padding-left: 4px;
1120 padding-right: 4px;
1121}
1122/* line 49, ../../../../../../../../../var/lib/gems/1.9.1/gems/compass-core-1.0.1/stylesheets/compass/typography/lists/_horizontal-list.scss */
1123.header .sub-menu li:first-child {
1124 padding-left: 0;
1125}
1126/* line 50, ../../../../../../../../../var/lib/gems/1.9.1/gems/compass-core-1.0.1/stylesheets/compass/typography/lists/_horizontal-list.scss */
1127.header .sub-menu li:last-child {
1128 padding-right: 0;
1129}
1130/* line 52, ../../../../../../../../../var/lib/gems/1.9.1/gems/compass-core-1.0.1/stylesheets/compass/typography/lists/_horizontal-list.scss */
1131.header .sub-menu li.last {
1132 padding-right: 0;
1133}
1134/* line 48, ../sass/components/_navbar.scss */
1135.header .sub-menu li {
1136 height: 4.5em;
1137 padding: 0px;
1138 border-left: 1px solid #c64012;
1139}
1140/* line 53, ../sass/components/_navbar.scss */
1141.header .sub-menu a {
1142 -moz-transition: opacity 0.25s ease-in-out;
1143 -o-transition: opacity 0.25s ease-in-out;
1144 -webkit-transition: opacity 0.25s ease-in-out;
1145 transition: opacity 0.25s ease-in-out;
1146 color: white;
1147 text-decoration: none;
1148 line-height: 4.5em;
1149 border-bottom: 0.3em solid transparent;
1150 padding-right: 10px;
1151 padding-left: 10px;
1152 padding-top: 0.75em;
1153 display: block;
1154 border-left: 1px solid #e05a2b;
1155}
1156/* line 66, ../sass/components/_navbar.scss */
1157.header .sub-menu a:hover {
1158 background-color: #e05a2b;
1159}
1160/* line 70, ../sass/components/_navbar.scss */
1161.header .sub-menu a.active {
1162 background-color: #b03910;
1163 opacity: 1;
1164}
1165
1166/**
1167 * @file
1168 * Navigation bar.
1169 */
1170/* line 5, ../sass/components/_footer.scss */
1171.footer {
1172 padding-top: 0;
1173 padding-bottom: 0;
1174 font-size: 12.8px;
1175}
1176/* line 9, ../sass/components/_footer.scss */
1177.footer li {
1178 list-style: none;
1179}
1180/* line 11, ../../../../../../../../../var/lib/gems/1.9.1/gems/compass-core-1.0.1/stylesheets/compass/typography/lists/_bullets.scss */
1181.footer li li {
1182 list-style-image: none;
1183 list-style-type: none;
1184 margin-left: 0;
1185}
1186/* line 11, ../sass/components/_footer.scss */
1187.footer li ul {
1188 padding-left: 0px;
1189 padding-left: 0px;
1190}
1191/* line 16, ../sass/components/_footer.scss */
1192.footer a {
1193 color: white;
1194}
1195/* line 19, ../sass/components/_footer.scss */
1196.footer h3 {
1197 margin-bottom: 0.3em;
1198}
1199
1200/* Ce module permet de mettre des bordures aux éléments principaux afin de mieux visualiser le positionnement, à désactiver en production */
1201/**
1202 * @file
1203 * Wireframes.
1204 */
1205/* line 6, ../sass/components/_wireframes.scss */
1206.with-wireframes footer,
1207.with-wireframes section,
1208.with-wireframes .main,
1209.with-wireframes .footer {
1210 outline: 1px solid #ccc;
1211}
1212
1213/**
1214 * THEMES - Règles pour les thèmes
1215 */
1216/* line 1, ../sass/_theme-ubuntu.scss */
1217.top-section {
1218 background-color: #333333;
1219 color: white;
1220}
1221
1222/* line 5, ../sass/_theme-ubuntu.scss */
1223.header-section {
1224 background-color: #dd4814;
1225 color: white;
1226 border-top: #b03910 1px solid;
1227}
1228
1229/* line 10, ../sass/_theme-ubuntu.scss */
1230.page-section {
1231 background-color: #f7f7f7;
1232}
1233
1234/* line 13, ../sass/_theme-ubuntu.scss */
1235.main-footer {
1236 background-color: #2c001e;
1237 color: white;
1238}
1239
1240/* line 18, ../sass/_theme-ubuntu.scss */
1241.site-title {
1242 -moz-background-size: contain;
1243 -o-background-size: contain;
1244 -webkit-background-size: contain;
1245 background-size: contain;
1246 text-indent: -119988px;
1247 overflow: hidden;
1248 text-align: left;
1249 text-transform: capitalize;
1250 background-image: url("../images/ubuntu-fr_orange_blanc.png");
1251 background-repeat: no-repeat;
1252 background-position: 50% 50%;
1253}
01254
=== added file 'doc.html'
=== added directory 'images'
=== added directory 'images-sources'
=== renamed directory 'images' => 'images.moved'
=== added file 'images/ubuntu-fr_orange_blanc.png'
1Binary files images/ubuntu-fr_orange_blanc.png 1970-01-01 00:00:00 +0000 and images/ubuntu-fr_orange_blanc.png 2014-12-13 16:21:44 +0000 differ1255Binary files images/ubuntu-fr_orange_blanc.png 1970-01-01 00:00:00 +0000 and images/ubuntu-fr_orange_blanc.png 2014-12-13 16:21:44 +0000 differ
=== added directory 'js'
=== added file 'layout.html'
--- layout.html 1970-01-01 00:00:00 +0000
+++ layout.html 2014-12-13 16:21:44 +0000
@@ -0,0 +1,131 @@
1<!DOCTYPE html>
2<html lang="fr">
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width">
6 <title>Exemple de mise en page</title>
7 <link rel="stylesheet" href="css/ubuntu-fr.css">
8 <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
9 <style>
10 #boxsize button,
11 #boxsize input,
12 #boxsize select,
13 #boxsize textarea {
14 width: 200px;
15 padding: 5px;
16 border: 1px solid #333;
17 }
18 </style>
19 </head>
20 <body class=".with-wireframes">
21
22 <section class="top-section">
23 <nav class="main top-nav">
24 <ul class="menu">
25 <li><a href="#">Découvrir Ubuntu</a></li>
26 <li><a href="#">Télécharger</a></li>
27 <li><a href="#" class="active">Actualités</a></li>
28 <li><a href="#">Documentation</a></li>
29 <li><a href="#">Forum</a></li>
30 <li><a href="#">Contact</a></li>
31 </ul>
32 <section class="login"><a href="#">Se connecter</a></section>
33 </nav>
34 </section>
35 <section class="header-section">
36 <header class="main header">
37 <h1 class="site-title">ubuntu-fr</h1>
38 <h2 class="sub-title">actualités</h2>
39 <nav>
40 <ul class="sub-menu">
41 <li><a href="#">Blogs</a></li>
42 <li><a href="#" class="active">Événements</a></li>
43 <li><a href="#">Traduire</a></li>
44 <li><a href="#">FCM</a></li>
45 </ul>
46 </nav>
47 </header>
48 </section>
49 <section class="page-section">
50 <section class="main content">
51Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin risus orci, ullamcorper non lacus sit amet, tristique adipiscing erat. In aliquet, ipsum eu pretium dignissim, nisl risus tristique ligula, nec facilisis tellus mauris ac risus. Sed tristique facilisis vestibulum. Pellentesque tincidunt tempus eros in dapibus. Pellentesque suscipit cursus odio. Suspendisse at nunc viverra, placerat ipsum eget, hendrerit mauris. Vestibulum vel quam non leo consequat sollicitudin. Nulla sit amet tincidunt felis, sit amet sodales massa. Quisque ultrices at tellus sit amet laoreet. Maecenas tristique suscipit est, non convallis nisl facilisis eu. Praesent placerat ornare imperdiet. Curabitur eget elementum enim. Nulla eu fermentum leo, vitae adipiscing quam.
52 </section>
53 </section>
54 <section class="main-footer">
55 <footer class="main footer">
56 <nav role="navigation">
57 <ul>
58 <li class="footer-block">
59 <h3><a href="#">Ubuntu</a></h2>
60 <ul>
61 <li><a href="#">Présentation</a></li>
62 <li><a href="#">Télécharger</a></li>
63 <li><a href="#">Fonctions</a></li>
64 <li><a href="#">Participer</a></li>
65 </ul>
66 </li>
67 <li class="footer-block">
68 <h3><a href="#">Actualités</a></h2>
69 <ul>
70 <li><a href="#">Blog</a></li>
71 <li><a href="#">Événements</a></li>
72 <li><a href="#">Planet</a></li>
73 <li><a href="#">Proposer un article</a></li>
74 <li><a href="#">Proposer un événement</a></li>
75 <li><a href="#">Participer au Planet</a></li>
76 </ul>
77 </li>
78 <li class="footer-block">
79 <h3><a href="#">Documentation</a></h2>
80 <ul>
81 <li><a href="#">Débutants</a></li>
82 <li><a href="#">Installer Ubuntu</a></li>
83 <li><a href="#">Participer</a></li>
84 </ul>
85 </li>
86 <li class="footer-block">
87 <h3><a href="#">Forum</a></h2>
88 <ul>
89 <li><a href="#">Règlements</a></li>
90 <li><a href="#">Poser une question</a></li>
91 </ul>
92 </li>
93 <li class="footer-block">
94 <h3><a href="#">ubuntu-fr</a></h2>
95 <ul>
96 <li><a href="#">Les utilisateurs</a></li>
97 <li><a href="#">Les contributeurs</a></li>
98 <li><a href="#">Participer</a></li>
99 <li><a href="#">L'association</a></li>
100 <li><a href="#">Nous soutenir</a></li>
101 </ul>
102 </li>
103 <li class="secondary-tv footer-block">
104 <h3><a href="/tv/">TV</a></h2>
105 <ul>
106 <li class="first"><a href="/tv">Overview</a></li>
107 <li><a href="/tv/experience">Experience</a></li>
108 <li><a href="/tv/industry">Industry</a></li>
109 <li><a href="/tv/contributors">Contributors</a></li>
110 <li><a href="/tv/features-and-specs">Features and specs</a></li>
111 <li><a href="/tv/commercial-info">Commercial info</a></li>
112 </ul>
113 </li>
114 <li class="secondary-management footer-block last-item">
115 <h3><a href="/management/">Management</a></h2>
116 <ul>
117 <li class="first"><a href="/management">Overview</a></li>
118 <li><a href="/management/landscape-features">Landscape features</a></li>
119 <li><a href="/management/working-with-landscape">Working with Landscape</a></li>
120 <li><a href="/management/return-on-investment">Return on investment</a></li>
121 <li><a href="/management/compliance">Compliance</a></li>
122 <li><a href="/management/ubuntu-advantage">Ubuntu Advantage</a></li>
123 </ul>
124 </li>
125 </ul>
126 </nav>
127 </footer>
128 </section>
129 </body>
130</html>
131
0132
=== added file 'normalize.html'
--- normalize.html 1970-01-01 00:00:00 +0000
+++ normalize.html 2014-12-13 16:21:44 +0000
@@ -0,0 +1,361 @@
1<!DOCTYPE html>
2<html lang="fr">
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width">
6 <title>Normalize CSS</title>
7 <link rel="stylesheet" href="css/ubuntu-fr.css">
8 <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
9 <style>
10 #boxsize button,
11 #boxsize input,
12 #boxsize select,
13 #boxsize textarea {
14 width: 200px;
15 padding: 5px;
16 border: 1px solid #333;
17 }
18 </style>
19 </head>
20 <body>
21 <h1>Heading 1</h1>
22 <h2>Heading 2</h2>
23 <h3>Heading 3</h3>
24 <h4>Heading 4</h4>
25 <h5>Heading 5</h5>
26 <h6>Heading 6</h6>
27
28 <section>
29 <h1>Heading 1 (in section)</h1>
30 <h2>Heading 2 (in section)</h2>
31 <h3>Heading 3 (in section)</h3>
32 <h4>Heading 4 (in section)</h4>
33 <h5>Heading 5 (in section)</h5>
34 <h6>Heading 6 (in section)</h6>
35 </section>
36
37 <article>
38 <h1>Heading 1 (in article)</h1>
39 <h2>Heading 2 (in article)</h2>
40 <h3>Heading 3 (in article)</h3>
41 <h4>Heading 4 (in article)</h4>
42 <h5>Heading 5 (in article)</h5>
43 <h6>Heading 6 (in article)</h6>
44 </article>
45
46 <header>
47 <hgroup>
48 <h1>Heading 1 (in hgroup)</h1>
49 <h2>Heading 2 (in hgroup)</h2>
50 </hgroup>
51 <nav>
52 <ul>
53 <li><a href="#">navigation item #1</a></li>
54 <li><a href="#">navigation item #2</a></li>
55 <li><a href="#">navigation item #3</a></li>
56 </ul>
57 </nav>
58 </header>
59
60 <h1>Text-level semantics</h1>
61
62 <p hidden>This should be hidden in all browsers, apart from IE6</p>
63
64 <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et m. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et m. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et m.</p>
65 <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et m. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et m. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et m.</p>
66
67 <address>Address: somewhere, world</address>
68
69 <hr>
70
71 <hr style="height:4px; border:solid #000; border-width:1px 0;">
72
73 <p>
74 The <a href="#">a element</a> example<br>
75 The <abbr>abbr element</abbr> and <abbr title="Title text">abbr element with title</abbr> examples<br>
76 The <b>b element</b> example<br>
77 The <cite>cite element</cite> example<br>
78 The <code>code element</code> example<br>
79 The <del>del element</del> example<br>
80 The <dfn>dfn element</dfn> and <dfn title="Title text">dfn element with title</dfn> examples<br>
81 The <em>em element</em> example<br>
82 The <i>i element</i> example<br>
83 The img element <img src="http://lorempixel.com/16/16" alt=""> example<br>
84 The <ins>ins element</ins> example<br>
85 The <kbd>kbd element</kbd> example<br>
86 The <mark>mark element</mark> example<br>
87 The <q>q element <q>inside</q> a q element</q> example<br>
88 The <s>s element</s> example<br>
89 The <samp>samp element</samp> example<br>
90 The <small>small element</small> example<br>
91 The <span>span element</span> example<br>
92 The <strong>strong element</strong> example<br>
93 The <sub>sub element</sub> example<br>
94 The <sup>sup element</sup> example<br>
95 The <u>u element</u> example<br>
96 The <var>var element</var> example
97 </p>
98
99 <h1>Template content</h1>
100 <template>
101 <h1>{{title}}</h1>
102 <content></content>
103 </template>
104
105 <h1>Embedded content</h1>
106
107 <h3>audio</h3>
108
109 <audio controls></audio>
110 <audio></audio>
111
112 <h3>img</h3>
113
114 <img src="http://lorempixel.com/100/100" alt="">
115 <a href="#"><img src="http://lorempixel.com/100/100" alt=""></a>
116
117 <h3>svg</h3>
118
119 <svg width="100px" height="100px">
120 <circle cx="100" cy="100" r="100" fill="#ff0000" />
121 </svg>
122
123 <h3>video</h3>
124
125 <video controls></video>
126 <video></video>
127
128 <h1>Interactive content</h1>
129
130 <h3>details / summary</h3>
131 <details>
132 <summary>More info</summary>
133 <p>Additional information</p>
134 <ul>
135 <li>Point 1</li>
136 <li>Point 2</li>
137 </ul>
138 </details>
139
140 <h1>Grouping content</h1>
141
142 <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et m.</p>
143
144 <h3>pre</h3>
145
146 <pre>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et me.</pre>
147
148 <pre><code>&lt;html>
149 &lt;head>
150 &lt;/head>
151 &lt;body>
152 &lt;div class="main"> &lt;div>
153 &lt;/body>
154&lt;/html></code></pre>
155
156 <h3>blockquote</h3>
157
158 <blockquote>
159 <p>Some sort of famous witty quote marked up with a &lt;blockquote> and a child &lt;p> element.</p>
160 </blockquote>
161
162 <blockquote>Even better philosophical quote marked up with just a &lt;blockquote> element.</blockquote>
163
164 <h3>ordered list</h3>
165
166 <ol>
167 <li>list item 1</li>
168 <li>list item 1
169 <ol>
170 <li>list item 2</li>
171 <li>list item 2
172 <ol>
173 <li>list item 3</li>
174 <li>list item 3</li>
175 </ol>
176 </li>
177 <li>list item 2</li>
178 <li>list item 2</li>
179 </ol>
180 </li>
181 <li>list item 1</li>
182 <li>list item 1</li>
183 </ol>
184
185 <h3>unordered list</h3>
186
187 <ul>
188 <li>list item 1</li>
189 <li>list item 1
190 <ul>
191 <li>list item 2</li>
192 <li>list item 2
193 <ul>
194 <li>list item 3</li>
195 <li>list item 3</li>
196 </ul>
197 </li>
198 <li>list item 2</li>
199 <li>list item 2</li>
200 </ul>
201 </li>
202 <li>list item 1</li>
203 <li>list item 1</li>
204 </ul>
205
206 <h3>description list</h3>
207
208 <dl>
209 <dt>Description name</dt>
210 <dd>Description value</dd>
211 <dt>Description name</dt>
212 <dd>Description value</dd>
213 <dd>Description value</dd>
214 <dt>Description name</dt>
215 <dt>Description name</dt>
216 <dd>Description value</dd>
217 </dl>
218
219 <h3>figure</h3>
220
221 <figure>
222 <img src="http://lorempixel.com/400/200" alt="">
223 <figcaption>Figcaption content</figcaption>
224 </figure>
225
226 <h1>Tabular data</h1>
227
228 <table>
229 <caption>Jimi Hendrix - albums</caption>
230 <thead>
231 <tr>
232 <th>Album</th>
233 <th>Year</th>
234 <th>Price</th>
235 </tr>
236 </thead>
237 <tfoot>
238 <tr>
239 <th>Album</th>
240 <th>Year</th>
241 <th>Price</th>
242 </tr>
243 </tfoot>
244 <tbody>
245 <tr>
246 <td>Are You Experienced</td>
247 <td>1967</td>
248 <td>$10.00</td>
249 </tr>
250 <tr>
251 <td>Axis: Bold as Love</td>
252 <td>1967</td>
253 <td>$12.00</td>
254 </tr>
255 <tr>
256 <td>Electric Ladyland</td>
257 <td>1968</td>
258 <td>$10.00</td>
259 </tr>
260 <tr>
261 <td>Band of Gypsys</td>
262 <td>1970</td>
263 <td>$12.00</td>
264 </tr>
265 </tbody>
266 </table>
267
268 <h1>Forms</h1>
269
270 <form>
271 <fieldset>
272 <legend>Inputs as descendents of labels (form legend). This doubles up as a long legend that can test word wrapping.</legend>
273 <p><label>Text input <input type="text" value="default value that goes on and on without stopping or punctuation"></label></p>
274 <p><label>Email input <input type="email"></label></p>
275 <p><label>Search input <input type="search"></label></p>
276 <p><label>Tel input <input type="tel"></label></p>
277 <p><label>URL input <input type="url" placeholder="http://"></label></p>
278 <p><label>Password input <input type="password" value="password"></label></p>
279 <p><label>File input <input type="file"></label></p>
280
281 <p><label>Radio input <input type="radio" name="rad"></label></p>
282 <p><label>Checkbox input <input type="checkbox"></label></p>
283 <p><label><input type="radio" name="rad"> Radio input</label></p>
284 <p><label><input type="checkbox"> Checkbox input</label></p>
285
286 <p><label>Select field <select><option>Option 01</option><option>Option 02</option></select></label></p>
287 <p><label>Textarea <textarea cols="30" rows="5" >Textarea text</textarea></label></p>
288 </fieldset>
289
290 <fieldset>
291 <legend>Inputs as siblings of labels</legend>
292 <p><label for="ic">Color input</label> <input type="color" id="ic" value="#000000"></p>
293 <p><label for="in">Number input</label> <input type="number" id="in" min="0" max="10" value="5"></p>
294 <p><label for="ir">Range input</label> <input type="range" id="ir" value="10"></p>
295 <p><label for="idd">Date input</label> <input type="date" id="idd" value="1970-01-01"></p>
296 <p><label for="idm">Month input</label> <input type="month" id="idm" value="1970-01"></p>
297 <p><label for="idw">Week input</label> <input type="week" id="idw" value="1970-W01"></p>
298 <p><label for="idt">Datetime input</label> <input type="datetime" id="idt" value="1970-01-01T00:00:00Z"></p>
299 <p><label for="idtl">Datetime-local input</label> <input type="datetime-local" id="idtl" value="1970-01-01T00:00"></p>
300
301 <p><label for="irb">Radio input</label> <input type="radio" id="irb" name="rad"></p>
302 <p><label for="icb">Checkbox input</label> <input type="checkbox" id="icb"></p>
303 <p><input type="radio" id="irb2" name="rad"> <label for="irb2">Radio input</label></p>
304 <p><input type="checkbox" id="icb2"> <label for="icb2">Checkbox input</label></p>
305
306 <p><label for="s">Select field</label> <select id="s"><option>Option 01</option><option>Option 02</option></select></p>
307 <p><label for="t">Textarea</label> <textarea id="t" cols="30" rows="5" >Textarea text</textarea></p>
308 </fieldset>
309
310 <fieldset>
311 <legend>Clickable inputs and buttons</legend>
312 <p><input type="image" src="http://lorempixel.com/90/24" alt="Image (input)"></p>
313 <p><input type="reset" value="Reset (input)"></p>
314 <p><input type="button" value="Button (input)"></p>
315 <p><input type="submit" value="Submit (input)"></p>
316 <p><input type="submit" value="Disabled (input)" disabled></p>
317
318
319 <p><button type="reset">Reset (button)</button></p>
320 <p><button type="button">Button (button)</button></p>
321 <p><button type="submit">Submit (button)</button></p>
322 <p><button type="submit" disabled>Disabled (button)</button></p>
323 </fieldset>
324
325 <fieldset id="boxsize">
326 <legend>box-sizing tests</legend>
327 <div><input type="text" value="text"></div>
328 <div><input type="email" value="email"></div>
329 <div><input type="search" value="search"></div>
330 <div><input type="url" value="http://example.com"></div>
331 <div><input type="password" value="password"></div>
332
333 <div><input type="color" value="#000000"></div>
334 <div><input type="number" value="5"></div>
335 <div><input type="range" value="10"></div>
336 <div><input type="date" value="1970-01-01"></div>
337 <div><input type="month" value="1970-01"></div>
338 <div><input type="week" value="1970-W01"></div>
339 <div><input type="datetime" value="1970-01-01T00:00:00Z"></div>
340 <div><input type="datetime-local" value="1970-01-01T00:00"></div>
341
342 <div><input type="radio"></div>
343 <div><input type="checkbox"></div>
344
345 <div><select><option>Option 01</option><option>Option 02</option></select></div>
346 <div><textarea cols="30" rows="5">Textarea text</textarea></div>
347
348 <div><input type="image" src="http://lorempixel.com/90/24" alt="Image (input)"></div>
349 <div><input type="reset" value="Reset (input)"></div>
350 <div><input type="button" value="Button (input)"></div>
351 <div><input type="submit" value="Submit (input)"></div>
352
353 <div><button type="reset">Reset (button)</button></div>
354 <div><button type="button">Button (button)</button></div>
355 <div><button type="submit">Submit (button)</button></div>
356 </fieldset>
357 </form>
358
359 </body>
360</html>
361
0362
=== added directory 'sass'
=== added file 'sass/_init.scss'
--- sass/_init.scss 1970-01-01 00:00:00 +0000
+++ sass/_init.scss 2014-12-13 16:21:44 +0000
@@ -0,0 +1,165 @@
1//
2// Initialisation
3//
4// Pour rendre plus simple l'utilisation des variables et des composants dans
5// les fichiers Sass de ce thème, chaque fichier .scss a une déclaration
6// @import "init". Et ce fichier _init.scss est en charge de l'intégration de
7// tous les autres composants nécessaires.
8//
9// Cette initialisation est organisé de cette façon :
10// - Variables Sass communes.
11// - Import des greffons Compass (composants Sass).
12// - Définition de nos propres composants personnalisé.
13//
14
15
16// =============================================================================
17// Paramètres
18// =============================================================================
19
20//
21// support des anciennes versions de IE
22//
23// Ces paramètres sont utilisées par plusieurs composants pour ajouter des règles
24// CSS complémentaires assurant la compatibilité avec des versions spécifiques
25// d'IE.
26//
27// IE6-7 don't support box-sizing: border-box. We can fix this in 1 of 3 ways:
28// - Drop support for IE 6/7. :-) Set $legacy-support-for-ie6
29// and $legacy-support-for-ie7 to false.
30// - (Preferred) Install the box-sizing polyfill and set the variable below to
31// the absolute path URL to the boxsizing.htc file.
32// @see https://github.com/Schepp/box-sizing-polyfill
33// $box-sizing-polyfill-path: "/path/to/boxsizing.htc";
34// - Use the same CSS unit for grid and gutter width in resonsive-sidebars.scss
35// (use px for both or use % for both) and set the box-sizing variable to content-box.
36//
37// Zen ne nécessite pas de traitement spécial pour IE8 ou plus récent. Mais
38// Compass utilise ce paramètre pour quelques cas particuliers. Voir la
39// documentation http://compass-style.org/reference/compass/support/
40$browser-minimum-versions: (ie : '8');
41
42// Utilisation non-stricte du fichier normalize
43$strict-normalize: false !default;
44
45//
46// Polices de caractère, espacements et tailles.
47//
48
49// L'extension vertical_rythm de Compass est un outil puissant pour définir un
50// rythme vertical pour la page entière.
51// @voir http://compass-style.org/reference/compass/typography/vertical_rhythm/
52
53$base-font-size: 16px; // La taille de police définie dans la balise html.
54$base-line-height: 24px; // hauteur de ligne définissant la base du rythme vertical.
55
56$h1-font-size: 2.813 * $base-font-size;
57$h2-font-size: 2 * $base-font-size;
58$h3-font-size: 1.438 * $base-font-size;
59$h4-font-size: 1.219 * $base-font-size;
60$h5-font-size: 1 * $base-font-size;
61$h6-font-size: 0.813 * $base-font-size;
62
63// The following font family declarations are based on the Microsoft core web
64// fonts which are common fonts available on most computer systems. The DejaVu
65// and Nimbus Sans fonts are commonly available on Linux systems where the MS
66// fonts are less common. Tahoma and Helvetica are also widely available.
67//
68// A user's web browser will look at the comma-separated list and will
69// attempt to use each font in turn until it finds one that is available
70// on the user's computer. The final "generic" font (sans-serif, serif or
71// monospace) hints at what type of font to use if the web browser doesn't
72// find any of the fonts in the list.
73
74// First, let's create some font stacks.
75$ubuntu-font: Ubuntu, Arial, "libra sans", sans-serif;
76$times-new-roman: "Times New Roman", Times, Georgia, "DejaVu Serif", serif;
77$times: Times, "Times New Roman", Georgia, "DejaVu Serif", serif;
78$georgia: Georgia, "Times New Roman", "DejaVu Serif", serif;
79
80$verdana: Verdana, Tahoma, "DejaVu Sans", sans-serif;
81$tahoma: Tahoma, Verdana, "DejaVu Sans", sans-serif;
82$helvetica: Helvetica, Arial, "Nimbus Sans L", sans-serif;
83$arial: Arial, Helvetica, "Nimbus Sans L", sans-serif;
84
85// For an explanation of why "sans-serif" is at the end of this list, see
86// http://meyerweb.com/eric/thoughts/2010/02/12/fixed-monospace-sizing/
87$courier: "Courier New", "DejaVu Sans Mono", monospace, sans-serif;
88$ubuntu-mono: "Ubuntu Mono", "Consolas", "Monaco", "Lucida Console", "Courier New", Courier, monospace, sans-serif;
89
90// Now create some variables for the font stacks we want to use on this site.
91$base-font-family: $ubuntu-font; // The font family set on the html element.
92$font-body: $ubuntu-font;
93$font-monospace: $ubuntu-mono;
94
95
96//
97// Couleurs, etc.
98//
99
100$ubuntu_orange: #dd4814; /* ubuntu orange (used for text links also on any site except canonical) */
101$light_orange: #fdf6f2; /* used as background on pre text */
102$canonical_aubergine: #772953; /* canonical aubergine */
103$light_aubergine: #77216f; /* light aubergine (consumer) */
104$mid_aubergine: #5e2750; /* mid aubergine (both) */
105$dark_aubergine: #2c001e; /* dark aubergine (enterprise) */
106$warm_grey: #aea79f; /* warm grey */
107$cool_grey: #333333; /* cool grey */
108$light_grey: #f7f7f7; /* light grey */
109
110// notifications
111$error: #df382c; /* red */
112$warning: #eca918; /* yellow */
113$success: #38b44a; /* green */
114$information: #19b6ee; /* cyan */
115
116// status - du negatif au positif
117$status_red: #df382c; /* red, for status that require immediate attention */
118$status_grey: #aea79f; /* grey, for disabled status or ones that don’t require attention */
119$status_yellow: #efb73e; /* yellow, for status that require attention */
120$status_blue: #19b6ee; /* blue, for status that don’t require action */
121$status_green: #38b44a; /* green, for positive status */
122
123/* misc colours */
124$box_solid_grey: #efefef;
125$box_border_grey: #999;
126$link_color: $ubuntu_orange; /* This is the global link color, mainly used for links in content */
127
128// The amount lists, blockquotes and comments are indented.
129$indent-amount: 28px;
130
131// Default border radius
132$default-border-radius: 4px;
133
134// The height of the navigation container.
135$nav-height: 2em;
136
137// Tab styling.
138$tabs-container-bg: #fff;
139$tabs-border: #bbb;
140
141
142// =============================================================================
143// Composants communs à tous les fichiers .scss.
144// =============================================================================
145
146// Add Compass' IE and vendor prefix support variables.
147@import "compass/support";
148// Better than Drupal's clearfix.
149@import "compass/utilities/general/clearfix";
150@import "compass/typography/lists/bullets";
151@import "compass/typography/lists/horizontal-list";
152@import "compass/typography/lists/inline-block-list";
153@import "compass/typography/text/replacement";
154// See http://compass-style.org/help/tutorials/spriting/
155@import "compass/utilities/sprites";
156// Use one CSS3 mixin instead of multiple vendor prefixes.
157@import "compass/css3";
158@import "compass/css3/images";
159@import "compass/css3/transition";
160@import "compass/css3/background-size";
161// Helps set up a vertical rhythm.
162@import "compass/typography/vertical_rhythm";
163// Add the Zen Grids responsive layout mixins.
164@import "zen";
165
0166
=== added file 'sass/_mixins.scss'
=== added file 'sass/_normalize-ubuntu.scss'
--- sass/_normalize-ubuntu.scss 1970-01-01 00:00:00 +0000
+++ sass/_normalize-ubuntu.scss 2014-12-13 16:21:44 +0000
@@ -0,0 +1,152 @@
1/**
2 * Personnalisation de base des éléments HTML5
3 *
4 * Complément du fichier normalize reprenant les éléments du thème officiel
5 *
6 */
7
8/* ===========================================================================
9 * Liens
10 * ===========================================================================*/
11
12a:link, a:visited {
13 color: $link_color;
14 text-decoration: none;
15}
16
17a:hover, a:active, a:focus {
18 text-decoration: underline;
19}
20
21
22/* ===========================================================================
23 * Typography
24 * ===========================================================================*/
25
26blockquote, q {
27 quotes: none;
28}
29
30blockquote:before, blockquote:after,
31q:before, q:after {
32 content: "";
33 content: none;
34}
35
36abbr, acronym { cursor: help; }
37
38h6 {
39 text-transform: uppercase;
40}
41
42ins {
43 background: #fffbeb;
44 text-decoration: none;
45}
46
47code,
48kbd,
49pre,
50samp {
51 font-family: $font-monospace;
52}
53
54/* ===========================================================================
55 * Formulaires
56 * ===========================================================================*/
57
58fieldset {
59 @include border-radius();
60 background-color: #EFEEEC;
61 @include apply-side-rhythm-border(top, $width: 0px, $lines: 0.625);
62 @include apply-side-rhythm-border(bottom, $width: 0px, $lines: 0.625);
63 @include apply-side-rhythm-border(left, $width: 0px, $lines: 3.75);
64 @include apply-side-rhythm-border(right, $width: 0px, $lines: 0.8);
65}
66
67input,
68button,
69textarea {
70 @include border-radius();
71 border: 1px solid #999999;
72 padding: 4px;
73}
74
75input[type="text"],
76textarea {
77 display: block;
78}
79
80input:focus,
81textarea:focus {
82 border: 1px solid #000;
83}
84
85textarea[readonly='readonly'] {
86 color: #999;
87}
88
89input[type="submit"],
90input[type="reset"],
91input[type="button"],
92button[type="submit"],
93button[type="reset"],
94button[type="button"] {
95 display: block;
96 padding: 10px 14px;
97 text-shadow: none;
98 width: auto;
99 margin-bottom: 0;
100}
101
102
103input[type="submit"],
104button[type="submit"] {
105 @include background-image(linear-gradient($ubuntu_orange, #c03f11));
106 @include box_shadow(none);
107 color: #fff;
108 border: 0;
109}
110
111button[type="submit"]:hover,
112input[type="submit"]:hover {
113 background: $ubuntu_orange;
114}
115
116button[disabled],
117html input[disabled],
118button[disabled]:hover,
119html input[disabled]:hover {
120 background-color: $box_solid_grey;
121 background-image: none;
122 cursor: not-allowed;
123}
124
125input[type="reset"] {
126 display: none;
127}
128
129button[type="submit"] {
130 border: 0;
131 display: inline-block;
132 text-decoration:none;
133}
134
135label {
136 cursor: pointer;
137 display: block;
138 margin-bottom: 4px;
139}
140
141label span {
142 color: $error;
143}
144
145input[type="checkbox"] + label,
146input[type="radio"] + label {
147 display: inline;
148 margin-left: 5px;
149 vertical-align: middle;
150 width: auto;
151}
152
0153
=== added file 'sass/_normalize.scss'
--- sass/_normalize.scss 1970-01-01 00:00:00 +0000
+++ sass/_normalize.scss 2014-12-13 16:21:44 +0000
@@ -0,0 +1,670 @@
1/* normalize-scss 3.0.2+normalize.3.0.2 | MIT/GPLv2 License | bit.ly/normalize-scss */
2
3
4// Variables and Imports
5//
6// If you have a base partial (or equivalent), you should move these lines to
7// that file. NOTE: Edit the lines to remove "!default".
8// @see http://compass-style.org/help/tutorials/best_practices/
9// =============================================================================
10
11// These 3 variables are copies of ones used in Compass' Vertical Rhythm module.
12
13 // The font size set on the root html element.
14 $base-font-size: 16px !default;
15
16 // The base line height determines the basic unit of vertical rhythm.
17 $base-line-height: 24px !default;
18
19 // The length unit in which to output vertical rhythm values.
20 // Supported values: px, em, rem.
21 $rhythm-unit: 'em' !default;
22
23 // Note: This project also makes use of variables from Compass' support
24 // module. Documentation for this can be found on the wiki at:
25 // https://github.com/JohnAlbin/normalize-scss/wiki
26
27
28// Set this to true to force CSS output to exactly match normalize.css.
29$strict-normalize: true !default;
30
31// The default font family.
32$base-font-family: sans-serif !default;
33
34// The font sizes for h1-h6.
35$h1-font-size: 2 * $base-font-size !default;
36$h2-font-size: 1.5 * $base-font-size !default;
37$h3-font-size: 1.17 * $base-font-size !default;
38$h4-font-size: 1 * $base-font-size !default;
39$h5-font-size: 0.83 * $base-font-size !default;
40$h6-font-size: 0.67 * $base-font-size !default;
41
42// The amount lists and blockquotes are indented.
43$indent-amount: 40px !default;
44
45// After the default variables are set, import the required Compass partials.
46@import "compass/support";
47@import "compass/css3/box-sizing";
48@import "compass/typography/vertical_rhythm";
49
50
51@if not $strict-normalize or support-legacy-browser(ie, "7") {
52 /**
53 * Establish a vertical rhythm unit using $base-font-size, $base-line-height,
54 * and $rhythm-unit variables. Also, correct text resizing oddly in IE 6/7 when
55 * body `font-size` is set using `em` units.
56 */
57
58 @include establish-baseline();
59}
60
61/**
62 * 1. Set default font family to sans-serif.
63 * 2. Prevent iOS text size adjust after orientation change, without disabling
64 * user zoom.
65 */
66
67html {
68 font-family: $base-font-family; /* 1 */
69 -ms-text-size-adjust: 100%; /* 2 */
70 -webkit-text-size-adjust: 100%; /* 2 */
71 // Show a background image that can be used to debug your alignments.
72 // @include debug-vertical-alignment();
73}
74
75/**
76 * Remove default margin.
77 */
78
79body {
80 margin: 0;
81}
82
83/* HTML5 display definitions
84 ========================================================================== */
85
86/**
87 * Correct `block` display not defined for any HTML5 element in IE 8/9.
88 * Correct `block` display not defined for `details` or `summary` in IE 10/11
89 * and Firefox.
90 * Correct `block` display not defined for `main` in IE 11.
91 */
92
93article,
94aside,
95details,
96figcaption,
97figure,
98footer,
99header,
100hgroup,
101main,
102menu,
103nav,
104section,
105summary {
106 display: block;
107}
108
109/**
110 * 1. Correct `inline-block` display not defined in IE 8/9.
111 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
112 */
113
114audio,
115canvas,
116progress,
117video {
118 @if support-legacy-browser(ie, "9") {
119 display: inline-block; /* 1 */
120 @if support-legacy-browser(ie, "7") {
121 *display: inline;
122 *zoom: 1;
123 }
124 }
125 vertical-align: baseline; /* 2 */
126}
127
128/**
129 * Prevent modern browsers from displaying `audio` without controls.
130 * Remove excess height in iOS 5 devices.
131 */
132
133audio:not([controls]) {
134 display: none;
135 height: 0;
136}
137
138@if support-legacy-browser(ie, "10") {
139 /**
140 * Address `[hidden]` styling not present in IE 8/9/10.
141 */
142
143 [hidden] {
144 display: none;
145 }
146}
147
148/**
149 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
150 */
151
152template {
153 display: none;
154}
155
156/* Links
157 ========================================================================== */
158
159@if support-legacy-browser(ie, "10") {
160 /**
161 * Remove the gray background color from active links in IE 10.
162 */
163
164 a {
165 background-color: transparent;
166 }
167}
168
169/**
170 * Improve readability when focused and also mouse hovered in all browsers.
171 */
172
173a:active,
174a:hover {
175 outline: 0;
176}
177
178/* Text-level semantics
179 ========================================================================== */
180
181/**
182 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
183 */
184
185abbr[title] {
186 border-bottom: 1px dotted;
187}
188
189/**
190 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
191 */
192
193b,
194strong {
195 font-weight: bold;
196}
197
198@if not $strict-normalize or support-legacy-browser(ie, "7") {
199 /**
200 * Set 1 unit of vertical rhythm on the top and bottom margin.
201 */
202
203 blockquote {
204 @include output-rhythm(margin, rhythm(1) $indent-amount);
205 }
206}
207
208/**
209 * Address styling not present in Safari and Chrome.
210 */
211
212dfn {
213 font-style: italic;
214}
215
216/**
217 * Address variable `h1` font-size and margin within `section` and `article`
218 * contexts in Firefox 4+, Safari, and Chrome.
219 */
220
221h1 {
222 /* Set the font-size and line-height while keeping a proper vertical rhythm. */
223 @if not $strict-normalize or support-legacy-browser(ie, "7") {
224 @include adjust-font-size-to( $h1-font-size );
225 }
226 @else {
227 font-size: if($rhythm-unit == "px", $h1-font-size, ($h1-font-size / $base-font-size)#{$rhythm-unit});
228 }
229
230 /* Set 1 unit of vertical rhythm on the top and bottom margins. */
231 @include leader(1, $h1-font-size);
232 @include trailer(1, $h1-font-size);
233}
234
235@if not $strict-normalize or support-legacy-browser(ie, "7") {
236 h2 {
237 @include adjust-font-size-to( $h2-font-size );
238 @include leader(1, $h2-font-size);
239 @include trailer(1, $h2-font-size);
240 }
241
242 h3 {
243 @include adjust-font-size-to( $h3-font-size );
244 @include leader(1, $h3-font-size);
245 @include trailer(1, $h3-font-size);
246 }
247
248 h4 {
249 @include adjust-font-size-to( $h4-font-size );
250 @include leader(1, $h4-font-size);
251 @include trailer(1, $h4-font-size);
252 }
253
254 h5 {
255 @include adjust-font-size-to( $h5-font-size );
256 @include leader(1, $h5-font-size);
257 @include trailer(1, $h5-font-size);
258 }
259
260 h6 {
261 @include adjust-font-size-to( $h6-font-size );
262 @include leader(1, $h6-font-size);
263 @include trailer(1, $h6-font-size);
264 }
265}
266
267@if support-legacy-browser(ie, "9") {
268 /**
269 * Address styling not present in IE 8/9.
270 */
271
272 mark {
273 background: #ff0;
274 color: #000;
275 }
276}
277
278@if not $strict-normalize or support-legacy-browser(ie, "7") {
279 /**
280 * Set 1 unit of vertical rhythm on the top and bottom margin.
281 */
282
283 p,
284 pre {
285 @include output-rhythm(margin, rhythm(1) 0);
286 }
287}
288
289/**
290 * Address inconsistent and variable font size in all browsers.
291 */
292
293small {
294 font-size: 80%;
295}
296
297/**
298 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
299 */
300
301sub,
302sup {
303 font-size: 75%;
304 line-height: 0;
305 position: relative;
306 vertical-align: baseline;
307}
308
309sup {
310 top: -0.5em;
311}
312
313sub {
314 bottom: -0.25em;
315}
316
317@if not $strict-normalize or support-legacy-browser(ie, "7") {
318 /* Lists
319 ========================================================================== */
320
321 /**
322 * Address margins set differently in IE 6/7.
323 */
324
325 dl,
326 menu,
327 ol,
328 ul {
329 @include output-rhythm(margin, rhythm(1) 0);
330 }
331
332 @if not $strict-normalize {
333 /**
334 * Turn off margins on nested lists.
335 */
336
337 ol,
338 ul {
339 ol,
340 ul {
341 margin: 0;
342 }
343 }
344 }
345
346 dd {
347 margin: 0 0 0 $indent-amount;
348 }
349
350 /**
351 * Address paddings set differently in IE 6/7.
352 */
353
354 menu,
355 ol,
356 ul {
357 padding: 0 0 0 $indent-amount;
358 }
359}
360
361@if support-legacy-browser(ie, "7") {
362 /**
363 * Correct list images handled incorrectly in IE 7.
364 */
365
366 nav ul,
367 nav ol {
368 list-style: none;
369 list-style-image: none;
370 }
371}
372
373/* Embedded content
374 ========================================================================== */
375
376@if support-legacy-browser(ie, "10") {
377 /**
378 * Remove border when inside `a` element in IE 8/9/10.
379 */
380
381 img {
382 border: 0;
383 @if support-legacy-browser(ie, "7") {
384 /* Improve image quality when scaled in IE 7. */
385 -ms-interpolation-mode: bicubic;
386 }
387 }
388}
389
390/**
391 * Correct overflow not hidden in IE 9/10/11.
392 */
393
394svg:not(:root) {
395 overflow: hidden;
396}
397
398/* Grouping content
399 ========================================================================== */
400
401@if support-legacy-browser(ie, "9") or support-legacy-browser(safari, "6") {
402 /**
403 * Address margin not present in IE 8/9 and Safari.
404 */
405
406 figure {
407 @include output-rhythm(margin, rhythm(1) $indent-amount);
408 }
409}
410
411/**
412 * Address differences between Firefox and other browsers.
413 */
414
415hr {
416 @include box-sizing(content-box);
417 height: 0;
418}
419
420/**
421 * Contain overflow in all browsers.
422 */
423
424pre {
425 overflow: auto;
426}
427
428/**
429 * Address odd `em`-unit font size rendering in all browsers.
430 */
431
432code,
433kbd,
434pre,
435samp {
436 font-family: monospace, monospace;
437 @if support-legacy-browser(ie, "6") {
438 _font-family: 'courier new', monospace;
439 }
440 font-size: 1em;
441}
442
443/* Forms
444 ========================================================================== */
445
446/**
447 * Known limitation: by default, Chrome and Safari on OS X allow very limited
448 * styling of `select`, unless a `border` property is set.
449 */
450
451@if support-legacy-browser(ie, "7") {
452 /**
453 * Correct margin displayed oddly in IE 6/7.
454 */
455
456 form {
457 margin: 0;
458 }
459}
460
461/**
462 * 1. Correct color not being inherited.
463 * Known issue: affects color of disabled elements.
464 * 2. Correct font properties not being inherited.
465 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
466 * 4. Address `font-family` inconsistency between `textarea` and other form in IE 7
467 * 5. Improve appearance and consistency with IE 6/7.
468 */
469
470button,
471input,
472optgroup,
473select,
474textarea {
475 color: inherit; /* 1 */
476 font: inherit; /* 2 */
477 margin: 0; /* 3 */
478 @if support-legacy-browser(ie, "7") {
479 *font-family: $base-font-family; /* 4 */
480 *vertical-align: middle; /* 5 */
481 }
482}
483
484/**
485 * Address `overflow` set to `hidden` in IE 8/9/10/11.
486 */
487
488button {
489 overflow: visible;
490}
491
492/**
493 * Address inconsistent `text-transform` inheritance for `button` and `select`.
494 * All other form control elements do not inherit `text-transform` values.
495 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
496 * Correct `select` style inheritance in Firefox.
497 */
498
499button,
500select {
501 text-transform: none;
502}
503
504/**
505 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
506 * and `video` controls.
507 * 2. Correct inability to style clickable `input` types in iOS.
508 * 3. Improve usability and consistency of cursor style between image-type
509 * `input` and others.
510 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
511 * Known issue: inner spacing remains in IE 6.
512 */
513
514button,
515html input[type="button"], /* 1 */
516input[type="reset"],
517input[type="submit"] {
518 -webkit-appearance: button; /* 2 */
519 cursor: pointer; /* 3 */
520 @if support-legacy-browser(ie, "7") {
521 *overflow: visible; /* 4 */
522 }
523}
524
525/**
526 * Re-set default cursor for disabled elements.
527 */
528
529button[disabled],
530html input[disabled] {
531 cursor: default;
532}
533
534/**
535 * Remove inner padding and border in Firefox 4+.
536 */
537
538button::-moz-focus-inner,
539input::-moz-focus-inner {
540 border: 0;
541 padding: 0;
542}
543
544/**
545 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
546 * the UA stylesheet.
547 */
548
549input {
550 line-height: normal;
551}
552
553@if support-legacy-browser(ie, "10") {
554 /**
555 * It's recommended that you don't attempt to style these elements.
556 * Firefox's implementation doesn't respect box-sizing, padding, or width.
557 *
558 * 1. Address box sizing set to `content-box` in IE 8/9/10.
559 * 2. Remove excess padding in IE 8/9/10.
560 * 3. Remove excess padding in IE 7.
561 * Known issue: excess padding remains in IE 6.
562 */
563
564 input[type="checkbox"],
565 input[type="radio"] {
566 @include box-sizing(border-box); /* 1 */
567 padding: 0; /* 2 */
568 @if support-legacy-browser(ie, "7") {
569 *height: 13px; /* 3 */
570 *width: 13px; /* 3 */
571 }
572 }
573}
574
575/**
576 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
577 * `font-size` values of the `input`, it causes the cursor style of the
578 * decrement button to change from `default` to `text`.
579 */
580
581input[type="number"]::-webkit-inner-spin-button,
582input[type="number"]::-webkit-outer-spin-button {
583 height: auto;
584}
585
586/**
587 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
588 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
589 * (include `-moz` to future-proof).
590 */
591
592input[type="search"] {
593 -webkit-appearance: textfield; /* 1 */
594 @include box-sizing(content-box); /* 2 */
595
596 /**
597 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
598 * Safari (but not Chrome) clips the cancel button when the search input has
599 * padding (and `textfield` appearance).
600 */
601
602 &::-webkit-search-cancel-button,
603 &::-webkit-search-decoration {
604 -webkit-appearance: none;
605 }
606}
607
608/**
609 * Define consistent border, margin, and padding.
610 */
611
612fieldset {
613 margin: 0 2px;
614 /* Apply borders and padding that keep the vertical rhythm. */
615 border-color: #c0c0c0;
616 @include apply-side-rhythm-border(top, $width: 1px, $lines: 0.35 );
617 @include apply-side-rhythm-border(bottom, $width: 1px, $lines: 0.65 );
618 @include apply-side-rhythm-border(left, $width: 1px, $lines: 0.625);
619 @include apply-side-rhythm-border(right, $width: 1px, $lines: 0.625);
620}
621
622/**
623 * 1. Correct `color` not being inherited in IE 8/9/10/11.
624 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
625 * 3. Correct alignment displayed oddly in IE 6/7.
626 */
627
628legend {
629 @if support-legacy-browser(ie, "11") {
630 border: 0; /* 1 */
631 }
632 padding: 0; /* 2 */
633 @if support-legacy-browser(ie, "7") {
634 *margin-left: -7px; /* 3 */
635 }
636}
637
638/**
639 * Remove default vertical scrollbar in IE 8/9/10/11.
640 */
641
642textarea {
643 overflow: auto;
644}
645
646/**
647 * Don't inherit the `font-weight` (applied by a rule above).
648 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
649 */
650
651optgroup {
652 font-weight: bold;
653}
654
655/* Tables
656 ========================================================================== */
657
658/**
659 * Remove most spacing between table cells.
660 */
661
662table {
663 border-collapse: collapse;
664 border-spacing: 0;
665}
666
667td,
668th {
669 padding: 0;
670}
0671
=== added file 'sass/_theme-ubuntu.scss'
--- sass/_theme-ubuntu.scss 1970-01-01 00:00:00 +0000
+++ sass/_theme-ubuntu.scss 2014-12-13 16:21:44 +0000
@@ -0,0 +1,21 @@
1.top-section {
2 background-color: $cool_grey;
3 color: white;
4}
5.header-section {
6 background-color: $ubuntu_orange;
7 color: white;
8 border-top: shade($ubuntu_orange, 20%) 1px solid;
9}
10.page-section {
11 background-color: $light_grey;
12}
13.main-footer {
14 background-color: $dark_aubergine;
15 color: white;
16}
17
18.site-title {
19 @include background-size(contain);
20 @include replace-text(url("../images/ubuntu-fr_orange_blanc.png"));
21}
022
=== added directory 'sass/components'
=== added file 'sass/components/_footer.scss'
--- sass/components/_footer.scss 1970-01-01 00:00:00 +0000
+++ sass/components/_footer.scss 2014-12-13 16:21:44 +0000
@@ -0,0 +1,25 @@
1/**
2 * @file
3 * Navigation bar.
4 */
5.footer {
6 padding-top: 0;
7 padding-bottom: 0;
8 font-size: 0.8 * $base-font-size;
9 li {
10 @include no-bullets;
11 ul {
12 padding-left: 0px;
13 padding-left: 0px;
14 }
15 }
16 a {
17 color: white;
18 }
19 h3 {
20 margin-bottom: rhythm(0.2);
21 }
22
23 }
24
25
026
=== added file 'sass/components/_navbar.scss'
--- sass/components/_navbar.scss 1970-01-01 00:00:00 +0000
+++ sass/components/_navbar.scss 2014-12-13 16:21:44 +0000
@@ -0,0 +1,76 @@
1/**
2 * @file
3 * Navigation bar.
4 */
5.top-nav {
6 padding-top: 0;
7 padding-bottom: 0;
8 .menu {
9 @include horizontal-list;
10
11 li:first-of-type a {
12 margin-left: 0;
13 }
14 }
15 a {
16 @include single-transition (opacity, 0.25s, ease-in-out);
17
18 color: white;
19 text-decoration: none;
20 font-size: 0.90 * $base-font-size;
21 font-weight: 300;
22 line-height: rhythm();
23 border-top: rhythm(0.2) solid transparent;
24 margin-right: 0.5 * $zen-gutter-width;
25 margin-left: 0.5 * $zen-gutter-width;
26 padding-bottom: rhythm(0.2);
27 display: block;
28
29 &:hover {
30 color: #dd4814;
31 }
32
33 &.active {
34 color: #dd4814;
35 border-top: rhythm(0.2) solid #dd4814;
36 opacity: 1;
37 }
38 }
39}
40
41.header {
42 padding-top: 0;
43 padding-bottom: 0;
44 .sub-menu {
45 @include horizontal-list();
46 border-right: 1px solid shade($ubuntu_orange, 10%);
47
48 li {
49 height: rhythm(3);
50 padding: 0px;
51 border-left: 1px solid shade($ubuntu_orange, 10%);
52 }
53 a {
54 @include single-transition (opacity, 0.25s, ease-in-out);
55
56 color: white;
57 text-decoration: none;
58 line-height: rhythm(3);
59 border-bottom: rhythm(0.2) solid transparent;
60 padding-right: 0.5 * $zen-gutter-width;
61 padding-left: 0.5 * $zen-gutter-width;
62 padding-top: rhythm(0.5);
63 display: block;
64 border-left: 1px solid tint($ubuntu_orange, 10%);
65
66 &:hover {
67 background-color: tint($ubuntu_orange, 10%);
68 }
69
70 &.active {
71 background-color: shade($ubuntu_orange, 20%);
72 opacity: 1;
73 }
74 }
75 }
76}
077
=== added file 'sass/components/_wireframes.scss'
--- sass/components/_wireframes.scss 1970-01-01 00:00:00 +0000
+++ sass/components/_wireframes.scss 2014-12-13 16:21:44 +0000
@@ -0,0 +1,24 @@
1/**
2 * @file
3 * Wireframes.
4 */
5
6%wireframe {
7 outline: 1px solid #ccc;
8
9 @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
10 .lt-ie8 & {
11 /* IE6/7 do not support the outline property. */
12 border: 1px solid #ccc;
13 }
14 }
15}
16
17.with-wireframes {
18 footer,
19 section,
20 .main,
21 .footer {
22 @extend %wireframe;
23 }
24}
025
=== added directory 'sass/layouts'
=== added file 'sass/layouts/_responsive.scss'
--- sass/layouts/_responsive.scss 1970-01-01 00:00:00 +0000
+++ sass/layouts/_responsive.scss 2014-12-13 16:21:44 +0000
@@ -0,0 +1,120 @@
1/**
2 * @file
3 * Positionnement pour une mise en page « responsive »
4 *
5 * Définition des classes CSS pour créer une mise en page fluide.
6 * Cette mise en page utilise le plugin Zen Grids pour Compass : http://zengrids.com
7 */
8
9/* Nous allons déterminer une grille avec un nombre de colonnes variables en fonction
10 de la largeur de l'écran. Nous définirons une gouttière fixe entre ces colonnes. */
11
12/* Initialisation des variables. */
13$zen-column-count: 1;
14$zen-gutter-width: 20px;
15
16/* If you need IE6/7 support for box-sizing: border-box (default), see _init.scss */
17//$zen-box-sizing: content-box;
18
19/* You can generate more efficient CSS if you manually apply the
20 zen-grid-item-base mixin to all grid items from within a single ruleset. */
21$zen-auto-include-item-base: false;
22// $zen-auto-include-flow-item-base: false;
23
24
25/* On centre la page et on limite la largeur pour les résolutions trop grandes */
26.content,
27.header,
28.top-nav,
29.footer {
30 margin-left: auto;
31 margin-right: auto;
32 max-width: 1200px;
33}
34
35/* Définition des éléments de type container */
36.main {
37 @include zen-grid-item-base();
38 padding-top: rhythm(0.5);
39 padding-bottom: rhythm(1.5);
40
41}
42
43@media all and (max-width: 727px) {
44 $zen-column-count: 1;
45 .main {
46 .top-nav {
47 height: rhythm(1.2);
48 }
49 @include zen-grid-container();
50 .menu {
51 @include zen-grid-item(1, 1, $zen-float-direction, $zen-column-count);
52 @include zen-clear(both);
53
54 }
55 .login {
56 @include zen-grid-item(1, 1, $zen-float-direction, $zen-column-count);
57 @include zen-clear(both);
58 }
59 }
60 .footer-block li {
61 display: none;
62 }
63}
64
65@media all and (min-width: 728px) and (max-width: 1023px) {
66 $zen-column-count: 6;
67 .main {
68 .top-nav {
69 height: rhythm(1.2);
70 }
71 @include zen-grid-container();
72 .menu {
73 @include zen-grid-item(5, 1, $zen-float-direction, $zen-column-count);
74 }
75 .login {
76 @include zen-grid-item(1, 1, $zen-float-direction, $zen-column-count);
77 text-align: right;
78 }
79 }
80 .footer-block {
81 @include zen-float();
82 width: zen-grid-item-width(2);
83 }
84}
85@media all and (min-width: 1024px) {
86 $zen-column-count: 12;
87
88 .header {
89 padding-top: 0px;
90 padding-bottom: 0px;
91 height: rhythm(3);
92 }
93 .main {
94 @include zen-grid-container();
95 }
96 .menu {
97 @include zen-grid-item(10, 1, $zen-float-direction, $zen-column-count);
98 }
99 .login {
100 @include zen-grid-item(2, 1, $zen-float-direction, $zen-column-count);
101 text-align: right;
102 }
103 .site-title {
104 margin: 0px;
105 @include zen-grid-item(2, 1, $zen-float-direction, $zen-column-count);
106 }
107 .sub-title {
108 margin: 0px;
109 padding-top: rhythm(.4);
110 @include zen-grid-item(2, 3, $zen-float-direction, $zen-column-count);
111 }
112 .header nav {
113 @include zen-grid-item(8, 5, $zen-float-direction, $zen-column-count);
114 @include zen-clear(right);
115 }
116 .footer-block {
117 @include zen-float();
118 width: zen-grid-item-width(2);
119 }
120}
0121
=== added file 'sass/ubuntu-fr.scss'
--- sass/ubuntu-fr.scss 1970-01-01 00:00:00 +0000
+++ sass/ubuntu-fr.scss 2014-12-13 16:21:44 +0000
@@ -0,0 +1,60 @@
1/**
2 * @file
3 * Les styles sont organisés en utilisant les principes SMACSS.
4 * @see http://smacss.com/book/
5 *
6 * Quand vous activez l'aggregation CSS dans admin/config/development/performance,
7 * tous ces fichiers @include sont combinés en un seul fichier.
8 */
9
10
11/**
12 * Importations et initialisations pour SASS
13 * - Composants
14 * - Variables
15 * - Modules Compass
16 * etc.
17 */
18 @import "init";
19
20
21
22/**
23 * BASE - Règles pour les éléments HTML
24 */
25 /* Ce fichier est celui du projet normalize non modifié
26 * @see https://github.com/JohnAlbin/normalize.css-with-sass-or-compass
27 */
28 @import "normalize";
29 /* Les modifications apportées par le projet ubuntu */
30 @import "normalize-ubuntu";
31
32
33
34/**
35 * LAYOUT - Règles de mise en page
36 */
37
38 @import "layouts/responsive";
39
40
41
42/**
43 * MODULES - Règles pour les éléménts basiques
44 */
45 @import "mixins";
46 @import "components/navbar";
47 @import "components/footer";
48
49
50 /* Ce module permet de mettre des bordures aux éléments principaux afin de mieux visualiser le positionnement, à désactiver en production */
51 @import "components/wireframes";
52
53
54
55/**
56 * THEMES - Règles pour les thèmes
57 */
58
59 @import "theme-ubuntu";
60

Subscribers

People subscribed via source and target branches