mice 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cdec2f601633527932abed8efef95065e96741b1
4
- data.tar.gz: 7e6d1b1b7dc6a2b4f44146d25a6cebc6624fd243
3
+ metadata.gz: 018fae66b83dbc267e6b0725ff529b3169f2ee68
4
+ data.tar.gz: 3a86177e6bb5a8346ec0bcb4003b7d5abab57ce9
5
5
  SHA512:
6
- metadata.gz: d349f17f12326954e34e218795c47a07437ccbeec0ae689b4a379e2a1d60221a61a5880504caceaab974b081a44b137026146d773dad0cc8d92818fcbc2907d5
7
- data.tar.gz: 95204b5b5378324107bcbc1a617259e88cdacb9b60bd7c3c80d05cfec59bdb2a9de4bd10848658ee1e659059b06a60313f6f43edb576cad97be48399ff21e961
6
+ metadata.gz: 568900afa0be427313fcb3b898590ad081b0c706907e58fc6f319e2b084b89178f8b256aba2cc7536abe175ccf2c809b9e395906f944d18025d08564b6500684
7
+ data.tar.gz: d81336787153b825c2f90261096ce22e10a730af0c5c4aea373fb840598bb5a85263ed9c4f3099958a4df95333c8755882bf7ffd0125d503bb63abd57b041624
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mice (0.2.4)
4
+ mice (0.2.5)
5
5
  sass (~> 3.2)
6
6
 
7
7
  GEM
data/lib/mice/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mice
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
@@ -0,0 +1,26 @@
1
+ //
2
+ // Breadcrumbs
3
+ // --------------------------------------------------
4
+
5
+
6
+ .breadcrumb {
7
+ padding: $breadcrumb-padding-vertical $breadcrumb-padding-horizontal;
8
+ margin-bottom: $line-height-computed;
9
+ list-style: none;
10
+ background-color: $breadcrumb-background;
11
+ border-radius: $border-radius;
12
+
13
+ > li {
14
+ display: inline-block;
15
+
16
+ + li:before {
17
+ content: "#{$breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
18
+ padding: 0 5px;
19
+ color: $breadcrumb-color;
20
+ }
21
+ }
22
+
23
+ > .active {
24
+ color: $breadcrumb-active-color;
25
+ }
26
+ }
@@ -12,18 +12,17 @@
12
12
  float: right;
13
13
  }
14
14
 
15
- .menu{
16
- display: none;
17
- }
15
+ .menu{ display: none; }
18
16
 
19
17
  > li{
20
- // float: left;
18
+ position: relative;
21
19
 
22
20
  > a{
23
- display: block;
24
- position: relative;
25
- text-decoration: none;
26
- color: #666;
21
+ display: block;
22
+ padding: 0 15px;
23
+ position: relative;
24
+ text-decoration: none;
25
+ color: #666;
27
26
  position: relative;
28
27
  }
29
28
 
@@ -39,17 +39,10 @@
39
39
  }
40
40
 
41
41
  .menu{
42
- float: left;
43
- list-style: none;
44
- padding: 0;
45
- position: relative;
46
-
47
- .menu{
48
- display: none;
49
- }
42
+ float: left;
50
43
 
51
44
  > li{
52
- float: left;
45
+ float: left;
53
46
 
54
47
  > a{
55
48
  text-align: center;
@@ -6,15 +6,10 @@
6
6
  background-color: #FAFAFA;
7
7
 
8
8
  .menu{
9
- list-style: none;
10
- margin: 0;
11
- padding: 15px 0;
12
- position: relative;
9
+ padding: 15px 0;
13
10
 
14
11
  > li{
15
- line-height: 30px;
16
- padding: 0 15px;
17
- position: relative;
12
+ line-height: 30px;
18
13
 
19
14
  &:hover:not(.heading){
20
15
  background: rgba(0, 64, 84, 0.03);
@@ -23,48 +18,20 @@
23
18
  &.heading{
24
19
  text-transform: uppercase;
25
20
  padding-top: 30px;
21
+ border-bottom: 1px solid #CCC;
26
22
 
27
23
  a{ color: #333; }
28
-
29
- &:before{
30
- margin: 15px;
31
- content: '';
32
- position: absolute;
33
- top: 0;
34
- right: 0;
35
- left: 0;
36
- border-bottom: solid 1px #FFF;
37
- }
38
24
  }
39
25
 
40
26
  &.heading:first-of-type{
41
27
  padding-top: 0;
42
- &:before{
43
- display: none;
44
- }
45
- }
46
-
47
- > a{
48
- display: block;
49
- position: relative;
50
- text-decoration: none;
51
-
52
28
  }
53
29
 
54
30
  &.active{
55
31
  background: rgba(0, 64, 84, 0.05);
56
- a{
57
-
58
- &:before, &:after {
59
- border: none;
60
- }
61
- }
62
- & + li a:before {
63
- display: none;
64
- }
65
32
  }
66
33
  }
67
34
 
68
35
  }
69
36
 
70
- }
37
+ }
@@ -12,10 +12,8 @@
12
12
  display: block;
13
13
  position: relative;
14
14
  float: left;
15
- // Make the list-items overlay the bottom border
16
15
  margin-bottom: -1px;
17
16
 
18
- // Actual tabs (as links)
19
17
  > a {
20
18
  position: relative;
21
19
  display: block;
@@ -253,6 +253,21 @@ $tabs-justified-link-border-color: #ddd !default;
253
253
  $tabs-justified-active-link-border-color: $background-color !default;
254
254
 
255
255
 
256
+ // Breadcrumbs
257
+ // --------------------------------------------------
258
+ $breadcrumb-padding-vertical: 8px !default;
259
+ $breadcrumb-padding-horizontal: 15px !default;
260
+ //** Breadcrumb background color
261
+ $breadcrumb-background: #f5f5f5 !default;
262
+ //** Breadcrumb text color
263
+ $breadcrumb-color: #ccc !default;
264
+ //** Text color of current page in the breadcrumb
265
+ $breadcrumb-active-color: $gray-light !default;
266
+ //** Textual separator for between breadcrumb elements
267
+ $breadcrumb-separator: "/" !default;
268
+
269
+
270
+
256
271
  // Pagination
257
272
  // --------------------------------------------------
258
273
  $pagination-color: $link-color !default;
@@ -24,6 +24,7 @@
24
24
  @import "mice/tables";
25
25
 
26
26
  // Components
27
+ @import "mice/breadcrumbs";
27
28
  @import "mice/pagination";
28
29
  @import "mice/panels";
29
30
  @import "mice/media";
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mice
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - miclle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-05 00:00:00.000000000 Z
11
+ date: 2014-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -71,6 +71,7 @@ files:
71
71
  - vendor/assets/stylesheets/mice-mobile.scss
72
72
  - vendor/assets/stylesheets/mice.scss
73
73
  - vendor/assets/stylesheets/mice/_alerts.scss
74
+ - vendor/assets/stylesheets/mice/_breadcrumbs.scss
74
75
  - vendor/assets/stylesheets/mice/_buttons.scss
75
76
  - vendor/assets/stylesheets/mice/_callouts.scss
76
77
  - vendor/assets/stylesheets/mice/_close.scss