patternfly-sass 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/assets/fonts/patternfly/PatternFlyIcons-webfont.eot +0 -0
  4. data/assets/fonts/patternfly/PatternFlyIcons-webfont.svg +4 -2
  5. data/assets/fonts/patternfly/PatternFlyIcons-webfont.ttf +0 -0
  6. data/assets/fonts/patternfly/PatternFlyIcons-webfont.woff +0 -0
  7. data/assets/javascripts/patternfly.js +120 -0
  8. data/assets/javascripts/patternfly.min.js +1 -1
  9. data/assets/stylesheets/_patternfly.scss +5 -0
  10. data/assets/stylesheets/patternfly/_bootstrap-datepicker.scss +28 -1
  11. data/assets/stylesheets/patternfly/_footer.scss +19 -0
  12. data/assets/stylesheets/patternfly/_icons.scss +6 -0
  13. data/assets/stylesheets/patternfly/_layouts.scss +45 -0
  14. data/assets/stylesheets/patternfly/_nav-vertical-alt.scss +166 -0
  15. data/assets/stylesheets/patternfly/_navbar-alt.scss +128 -0
  16. data/assets/stylesheets/patternfly/_toolbar.scss +62 -0
  17. data/assets/stylesheets/patternfly/_variables.scss +35 -0
  18. data/bower.json +1 -1
  19. data/lib/patternfly-sass/version.rb +2 -2
  20. data/spec/compare_spec.rb +9 -20
  21. data/spec/html/bootstrap-datepicker.html +26 -0
  22. data/spec/html/dist/css/patternfly-additions.css +411 -9
  23. data/spec/html/dist/css/patternfly-additions.css.map +1 -1
  24. data/spec/html/dist/css/patternfly-additions.min.css +1 -1
  25. data/spec/html/dist/css/patternfly-additions.min.css.map +1 -1
  26. data/spec/html/dist/css/patternfly.css.map +1 -1
  27. data/spec/html/dist/css/patternfly.min.css.map +1 -1
  28. data/spec/html/icons.html +12 -0
  29. data/spec/html/index.html +20 -0
  30. data/spec/html/layout-alt-fixed-inner-scroll.html +350 -0
  31. data/spec/html/layout-alt-fixed-with-footer-inner-scroll.html +354 -0
  32. data/spec/html/layout-alt-fixed-with-footer.html +354 -0
  33. data/spec/html/layout-alt-fixed.html +350 -0
  34. data/spec/html/toolbar.html +190 -0
  35. metadata +17 -3
  36. data/TODO.md +0 -13
@@ -0,0 +1,190 @@
1
+ <!DOCTYPE html>
2
+ <!--[if IE 9]><html class="ie9"><![endif]-->
3
+ <!--[if gt IE 9]><!-->
4
+ <html>
5
+ <!--<![endif]-->
6
+ <head>
7
+ <title>Toolbar - PatternFly</title>
8
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
9
+ <link rel="shortcut icon" href="../dist/img/favicon.ico">
10
+ <!-- iPad retina icon -->
11
+ <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../dist/img/apple-touch-icon-precomposed-152.png">
12
+ <!-- iPad retina icon (iOS < 7) -->
13
+ <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../dist/img/apple-touch-icon-precomposed-144.png">
14
+ <!-- iPad non-retina icon -->
15
+ <link rel="apple-touch-icon-precomposed" sizes="76x76" href="../dist/img/apple-touch-icon-precomposed-76.png">
16
+ <!-- iPad non-retina icon (iOS < 7) -->
17
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="../dist/img/apple-touch-icon-precomposed-72.png">
18
+ <!-- iPhone 6 Plus icon -->
19
+ <link rel="apple-touch-icon-precomposed" sizes="120x120" href="../dist/img/apple-touch-icon-precomposed-180.png">
20
+ <!-- iPhone retina icon (iOS < 7) -->
21
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../dist/img/apple-touch-icon-precomposed-114.png">
22
+ <!-- iPhone non-retina icon (iOS < 7) -->
23
+ <link rel="apple-touch-icon-precomposed" sizes="57x57" href="../dist/img/apple-touch-icon-precomposed-57.png">
24
+ <link href="../dist/css/patternfly.min.css" rel="stylesheet" media="screen, print">
25
+ <link href="../dist/css/patternfly-additions.min.css" rel="stylesheet" media="screen, print">
26
+ <link href="tests.css" rel="stylesheet" media="screen, print">
27
+ <script src="../components/jquery/dist/jquery.min.js"></script>
28
+ <script src="../components/bootstrap/dist/js/bootstrap.min.js"></script>
29
+ <script src="../dist/js/patternfly.min.js"></script>
30
+ </head>
31
+ <body>
32
+ <div class="container">
33
+ <div class="page-header">
34
+ <h1>Toolbar</h1>
35
+ </div>
36
+ <div class="alert alert-warning">
37
+ <span class="pficon pficon-warning-triangle-o"></span>
38
+ These examples are included for development testing purposes. For official documentation, see <a href="https://www.patternfly.org" class="alert-link">https://www.patternfly.org</a> and <a href="http://getbootstrap.com" class="alert-link">http://getbootstrap.com</a>.
39
+ </div>
40
+ <hr>
41
+ <h2>Toolbar</h2>
42
+
43
+ <nav class="navbar navbar-default navbar-pf" role="navigation">
44
+ <div class="navbar-header">
45
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-1">
46
+ <span class="sr-only">Toggle navigation</span>
47
+ <span class="icon-bar"></span>
48
+ <span class="icon-bar"></span>
49
+ <span class="icon-bar"></span>
50
+ </button>
51
+ <a class="navbar-brand" href="/">
52
+ <img src="../dist/img/brand.svg" alt="PatternFly Enterprise Application" />
53
+ </a>
54
+ </div>
55
+ <div class="collapse navbar-collapse navbar-collapse-1">
56
+ <ul class="nav navbar-nav navbar-utility">
57
+ <li>
58
+ <a href="#">Status</a>
59
+ </li>
60
+ <li class="dropdown">
61
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">
62
+ <span class="pficon pficon-user"></span>
63
+ Brian Johnson <b class="caret"></b>
64
+ </a>
65
+ <ul class="dropdown-menu">
66
+ <li>
67
+ <a href="#">Link</a>
68
+ </li>
69
+ <li>
70
+ <a href="#">Another link</a>
71
+ </li>
72
+ <li>
73
+ <a href="#">Something else here</a>
74
+ </li>
75
+ <li class="divider"></li>
76
+ <li class="dropdown-submenu">
77
+ <a tabindex="-1" href="#">More options</a>
78
+ <ul class="dropdown-menu">
79
+ <li>
80
+ <a href="#">Link</a>
81
+ </li>
82
+ <li>
83
+ <a href="#">Another link</a>
84
+ </li>
85
+ <li>
86
+ <a href="#">Something else here</a>
87
+ </li>
88
+ <li class="divider"></li>
89
+ <li class="dropdown-header">Nav header</li>
90
+ <li>
91
+ <a href="#">Separated link</a>
92
+ </li>
93
+ <li class="divider"></li>
94
+ <li>
95
+ <a href="#">One more separated link</a>
96
+ </li>
97
+ </ul>
98
+ </li>
99
+ <li class="divider"></li>
100
+ <li>
101
+ <a href="#">One more separated link</a>
102
+ </li>
103
+ </ul>
104
+ </li>
105
+ </ul>
106
+ <ul class="nav navbar-nav navbar-primary">
107
+ <li>
108
+ <a href="#">First Link</a>
109
+ </li>
110
+ <li>
111
+ <a href="#">Another Link</a>
112
+ </li>
113
+ <li>
114
+ <a href="#">And Another</a>
115
+ </li>
116
+ <li>
117
+ <a href="#">As a General Rule</a>
118
+ </li>
119
+ <li>
120
+ <a href="#">Five to Seven Links</a>
121
+ </li>
122
+ <li>
123
+ <a href="#">Is Good</a>
124
+ </li>
125
+ </ul>
126
+ </div>
127
+ </nav>
128
+
129
+ <div class="container-fluid">
130
+ <div class="row toolbar-pf">
131
+ <div class="col-sm-12">
132
+ <div class="toolbar-pf-view-selector pull-right">
133
+ <ul class="list-inline">
134
+ <li><a href="#"><i class="fa fa-th"></i></a></li>
135
+ <li class="active"><a href="#"><i class="fa fa-th-large"></i></a></li>
136
+ <li><a href="#"><i class="fa fa-th-list"></i></a></li>
137
+ </ul>
138
+ </div>
139
+ <form>
140
+ <div class="form-group">
141
+ <label class="sr-only" for="filter">Name</label>
142
+ <div class="input-group">
143
+ <div class="input-group-btn">
144
+ <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Name <span class="caret"></span></button>
145
+ <ul class="dropdown-menu">
146
+ <li><a href="#">Action</a></li>
147
+ <li><a href="#">Another action</a></li>
148
+ <li><a href="#">Something else here</a></li>
149
+ <li role="separator" class="divider"></li>
150
+ <li><a href="#">Separated link</a></li>
151
+ </ul>
152
+ </div><!-- /btn-group -->
153
+ <input type="text" class="form-control" id="filter" placeholder="Filter By Name...">
154
+ </div><!-- /input-group -->
155
+ </div>
156
+ </form>
157
+ <div class="row toolbar-pf-results">
158
+ <div class="col-sm-12">
159
+ <h5>40 Results</h5>
160
+ <p>Active filters:</p>
161
+ <ul class="list-inline">
162
+ <li>
163
+ <span class="label label-info">
164
+ Name: nameofthething
165
+ <a href="#"><span class="pficon pficon-close"></span></a>
166
+ </span>
167
+ </li>
168
+ <li>
169
+ <span class="label label-info">
170
+ Name: nameofthething
171
+ <a href="#"><span class="pficon pficon-close"></span></a>
172
+ </span>
173
+ </li>
174
+ <li>
175
+ <span class="label label-info">
176
+ Name: nameofthething
177
+ <a href="#"><span class="pficon pficon-close"></span></a>
178
+ </span>
179
+ </li>
180
+ </ul>
181
+ <p><a href="#">Clear All Filters</a></p>
182
+ </div><!-- /col -->
183
+ </div><!-- /row -->
184
+ </div><!-- /col -->
185
+ </div><!-- /row -->
186
+ </div><!-- /container -->
187
+
188
+ </div><!-- /container -->
189
+ </body>
190
+ </html>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: patternfly-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dávid Halász
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-09-01 00:00:00.000000000 Z
12
+ date: 2015-09-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass
@@ -305,7 +305,6 @@ files:
305
305
  - LICENSE.txt
306
306
  - README.md
307
307
  - Rakefile
308
- - TODO.md
309
308
  - assets/fonts/patternfly/OpenSans-Bold-webfont.eot
310
309
  - assets/fonts/patternfly/OpenSans-Bold-webfont.svg
311
310
  - assets/fonts/patternfly/OpenSans-Bold-webfont.ttf
@@ -388,15 +387,19 @@ files:
388
387
  - assets/stylesheets/patternfly/_ext-bootstrap-select.scss
389
388
  - assets/stylesheets/patternfly/_ext-c3.scss
390
389
  - assets/stylesheets/patternfly/_fonts.scss
390
+ - assets/stylesheets/patternfly/_footer.scss
391
391
  - assets/stylesheets/patternfly/_forms.scss
392
392
  - assets/stylesheets/patternfly/_icons.scss
393
393
  - assets/stylesheets/patternfly/_infotip.scss
394
394
  - assets/stylesheets/patternfly/_labels.scss
395
+ - assets/stylesheets/patternfly/_layouts.scss
395
396
  - assets/stylesheets/patternfly/_list-group.scss
396
397
  - assets/stylesheets/patternfly/_login.scss
397
398
  - assets/stylesheets/patternfly/_mixin_overrides.scss
398
399
  - assets/stylesheets/patternfly/_mixins.scss
399
400
  - assets/stylesheets/patternfly/_modals.scss
401
+ - assets/stylesheets/patternfly/_nav-vertical-alt.scss
402
+ - assets/stylesheets/patternfly/_navbar-alt.scss
400
403
  - assets/stylesheets/patternfly/_navbar.scss
401
404
  - assets/stylesheets/patternfly/_pager.scss
402
405
  - assets/stylesheets/patternfly/_pagination.scss
@@ -409,6 +412,7 @@ files:
409
412
  - assets/stylesheets/patternfly/_syntax-highlighting.scss
410
413
  - assets/stylesheets/patternfly/_tables.scss
411
414
  - assets/stylesheets/patternfly/_tabs.scss
415
+ - assets/stylesheets/patternfly/_toolbar.scss
412
416
  - assets/stylesheets/patternfly/_tooltip.scss
413
417
  - assets/stylesheets/patternfly/_type.scss
414
418
  - assets/stylesheets/patternfly/_variables.scss
@@ -456,6 +460,10 @@ files:
456
460
  - spec/html/index.html
457
461
  - spec/html/infotip.html
458
462
  - spec/html/labels.html
463
+ - spec/html/layout-alt-fixed-inner-scroll.html
464
+ - spec/html/layout-alt-fixed-with-footer-inner-scroll.html
465
+ - spec/html/layout-alt-fixed-with-footer.html
466
+ - spec/html/layout-alt-fixed.html
459
467
  - spec/html/list-group.html
460
468
  - spec/html/login.html
461
469
  - spec/html/main.html
@@ -471,6 +479,7 @@ files:
471
479
  - spec/html/tables.html
472
480
  - spec/html/tabs.html
473
481
  - spec/html/tests.css
482
+ - spec/html/toolbar.html
474
483
  - spec/html/tooltip.html
475
484
  - spec/html/typography-2.css
476
485
  - spec/html/typography-2.html
@@ -541,6 +550,10 @@ test_files:
541
550
  - spec/html/index.html
542
551
  - spec/html/infotip.html
543
552
  - spec/html/labels.html
553
+ - spec/html/layout-alt-fixed-inner-scroll.html
554
+ - spec/html/layout-alt-fixed-with-footer-inner-scroll.html
555
+ - spec/html/layout-alt-fixed-with-footer.html
556
+ - spec/html/layout-alt-fixed.html
544
557
  - spec/html/list-group.html
545
558
  - spec/html/login.html
546
559
  - spec/html/main.html
@@ -556,6 +569,7 @@ test_files:
556
569
  - spec/html/tables.html
557
570
  - spec/html/tabs.html
558
571
  - spec/html/tests.css
572
+ - spec/html/toolbar.html
559
573
  - spec/html/tooltip.html
560
574
  - spec/html/typography-2.css
561
575
  - spec/html/typography-2.html
data/TODO.md DELETED
@@ -1,13 +0,0 @@
1
- * Work with git revs instead of branches.
2
- * Get mixins straight:
3
-
4
- Should be like
5
-
6
- import bootstrap-mixins;
7
- import patternfly-mixins;
8
-
9
- import bootstrap-component-1;
10
- ...
11
- import bootstrap-component-n;
12
-
13
- import patternfly stuff;