forked from mvcss/mvcss.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
116 lines (109 loc) · 4.55 KB
/
index.html
File metadata and controls
116 lines (109 loc) · 4.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE html>
<html lang='en'>
<head>
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
<meta charset='utf-8'>
<meta content='width=device-width, initial-scale=1.0' name='viewport'>
<title>Modules / MVCSS</title>
<meta content='MVCSS - A Sass-based CSS architecture for creating predictable and maintainable application style.' name='description'>
<link href="http://fonts.googleapis.com/css?family=Roboto+Slab:400,700,300" media="screen" rel="stylesheet" type="text/css" />
<link href="../assets/stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" />
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32794837-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body class='modules modules_index'>
<div class='l-controls'>
<a class='btn--a' href='https://github.com/mvcss/mvcss'>View Code →</a>
<p><a href="/changelog/">Changelog (v3.0.1)</a></p>
</div>
<a class='l-sidebar-toggle' href='#'>Navigation</a>
<aside class='l-sidebar'>
<header class='l-header'>
<div class='c-logo'>
<a href='/'><img width="100" height="110" alt="MVCSS" src="../assets/images/logo.svg" /></a>
<b>MVCSS <span>Version 3.0.1</span></b>
</div>
<p class='c-tagline'>A Sass-based CSS Architecture</p>
</header>
<nav class='l-nav'>
<ul>
<li><a href="/">About</a></li>
<li><a href="/application/">Application</a></li>
<li>
<a href="/core/">Core</a>
<ul>
<li><a href="/core/reset/">Reset</a></li>
<li><a href="/core/settings/">Settings</a></li>
<li><a href="/core/helpers/">Helpers</a></li>
<li><a href="/core/base/">Base</a></li>
<li><a href="/core/content/">Content</a></li>
<li><a href="/core/layout/">Layout</a></li>
</ul>
</li>
<li><a class="is-active" href="/modules/">Modules</a></li>
<li>
<a href="/styleguide/">Styleguide</a>
<ul>
<li><a href="/styleguide/basics/">Basics</a></li>
<li><a href="/styleguide/sass-specific/">Sass-specific</a></li>
<li><a href="/styleguide/naming/">Naming Conventions</a></li>
</ul>
</li>
<li><a href="/library/">Library</a></li>
</ul>
</nav>
<footer class='l-about'>
<b>Crafted with care by</b>
<a href="http://twitter.com/nickawalsh">Nick Walsh</a>
&
<a href="http://twitter.com/drewbarontini">Drew Barontini</a>
</footer>
</aside>
<main class='l-cell'>
<h1>Modules</h1>
<p>Modules in this context refer to any unit of style that can be found across multiple pages. <strong>Most of your styles should be found here</strong>. This draws from the OOCSS idea of separating everything into reusable chunks, making it second-nature if you're familiar with that method.</p>
<h2>Examples of Modules</h2>
<p>Here are some commonly occurring examples of modules:</p>
<ul>
<li>Modals</li>
<li>Buttons</li>
<li>Tooltips</li>
<li>Navigation</li>
<li>Re-appearing chunks of content, like a user info card or sidebar</li>
</ul>
</main>
<script>
var _gauges = _gauges || [];
(function() {
var t = document.createElement('script');
t.type = 'text/javascript';
t.async = true;
t.id = 'gauges-tracker';
t.setAttribute('data-site-id', '4fe1bcaa613f5d1bfe000020');
t.src = '//secure.gaug.es/track.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(t, s);
})();
</script>
<script src="http://code.jquery.com/jquery-1.9.1.min.js" type="text/javascript"></script>
<script>
(function() {
$(function() {
return $('.l-sidebar-toggle').on('click', function(e) {
e.preventDefault();
$(this).toggleClass('is-active');
return $('body').toggleClass('is-sidebar-toggled');
});
});
}).call(this);
</script>
</body>
</html>