mice 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/mice/version.rb +1 -1
- data/vendor/assets/stylesheets/mice.scss +6 -1
- data/vendor/assets/stylesheets/mice/_buttons.scss +4 -4
- data/vendor/assets/stylesheets/mice/_components.scss +76 -0
- data/vendor/assets/stylesheets/mice/_sidebar.scss +2 -0
- data/vendor/assets/stylesheets/mice/_tables.scss +144 -0
- data/vendor/assets/stylesheets/mice/_typography.scss +5 -0
- data/vendor/assets/stylesheets/mice/_variables.scss +20 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 393ef895d95278ed2a12369c04fa9539e682d3c2
|
4
|
+
data.tar.gz: a1cf22f2d911f22dd6c970d249710d1fa3b8fd91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0dfebe4c8eb53ebd62a1152bdccfa52210f25da9884c2831d0b607be367dcfefb91b5397a1d54520aa7381c41beae94f77b4622e7702892e4c1c4e7c655c579
|
7
|
+
data.tar.gz: af279a7940d6c27f8dfc4a157daee876db595b56045a5c18d4b970508a65f4afcd67fd4c6982459d93dd00181fcba1981fc2ccf26f25f575c4b7433b4162fc0d
|
data/Gemfile.lock
CHANGED
data/lib/mice/version.rb
CHANGED
@@ -73,10 +73,10 @@ button, .button{
|
|
73
73
|
text-decoration: none;
|
74
74
|
}
|
75
75
|
|
76
|
-
&:active,
|
77
|
-
&.active {
|
78
|
-
|
79
|
-
}
|
76
|
+
// &:active,
|
77
|
+
// &.active {
|
78
|
+
// // @include box-shadow(inset 0 3px 5px rgba(0, 0, 0, .125));
|
79
|
+
// }
|
80
80
|
|
81
81
|
&.disabled,
|
82
82
|
&[disabled] {
|
@@ -0,0 +1,76 @@
|
|
1
|
+
//
|
2
|
+
// Components
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
.timeline{
|
6
|
+
position: relative;
|
7
|
+
margin-top: 20px;
|
8
|
+
margin-bottom: 10px;
|
9
|
+
|
10
|
+
&:before{
|
11
|
+
display: block;
|
12
|
+
content: '';
|
13
|
+
width: 100%;
|
14
|
+
height: 2px;
|
15
|
+
position: absolute;
|
16
|
+
left: 0;
|
17
|
+
z-index: 10;
|
18
|
+
top: 30px;
|
19
|
+
background-color: #EBEBEB;
|
20
|
+
}
|
21
|
+
|
22
|
+
> ul, > ol{
|
23
|
+
padding: 0;
|
24
|
+
margin: 0;
|
25
|
+
overflow: hidden;
|
26
|
+
text-align: justify;
|
27
|
+
line-height: 0;
|
28
|
+
|
29
|
+
&:after{
|
30
|
+
display: inline-block;
|
31
|
+
content: '';
|
32
|
+
height: 0;
|
33
|
+
width: 100%;
|
34
|
+
overflow: hidden;
|
35
|
+
visibility: hidden;
|
36
|
+
}
|
37
|
+
|
38
|
+
> li{
|
39
|
+
display: inline-block;
|
40
|
+
text-align: center;
|
41
|
+
cursor: pointer;
|
42
|
+
position: relative;
|
43
|
+
z-index: 11;
|
44
|
+
height: 60px;
|
45
|
+
width: 60px;
|
46
|
+
border-radius: 50%;
|
47
|
+
overflow: hidden;
|
48
|
+
background-color: #FFF;
|
49
|
+
box-shadow: 0 0 0 2px #F8862C inset;
|
50
|
+
-webkit-transition: all 0.25s ease;
|
51
|
+
transition: all 0.25s ease;
|
52
|
+
|
53
|
+
&:hover {
|
54
|
+
box-shadow: 0 0 0 30px #F8862C inset;
|
55
|
+
color: #FFF;
|
56
|
+
}
|
57
|
+
|
58
|
+
&.active {
|
59
|
+
box-shadow: none;
|
60
|
+
background-color: #F8862C;
|
61
|
+
color: #FFF;
|
62
|
+
}
|
63
|
+
|
64
|
+
> .title{
|
65
|
+
display: block;
|
66
|
+
width: 100%;
|
67
|
+
height: 20px;
|
68
|
+
font-size: 14px;
|
69
|
+
line-height: 60px;
|
70
|
+
position: absolute;
|
71
|
+
left: 0;
|
72
|
+
top: 0;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
@@ -0,0 +1,144 @@
|
|
1
|
+
// Tables
|
2
|
+
// --------------------------------------------------
|
3
|
+
|
4
|
+
table{
|
5
|
+
display: table;
|
6
|
+
width: 100%;
|
7
|
+
max-width: 100%;
|
8
|
+
margin-bottom: 15px;
|
9
|
+
border-collapse: collapse;
|
10
|
+
border-spacing: 0;
|
11
|
+
background-color: $table-background;
|
12
|
+
}
|
13
|
+
|
14
|
+
table > thead,
|
15
|
+
table > tbody,
|
16
|
+
table > tfoot{
|
17
|
+
> tr {
|
18
|
+
&.active > th, th.active , &.active > td, td.active { background-color: $table-background-active; }
|
19
|
+
&.primary > th, th.primary, &.primary > td, td.primary { background-color: lighten($brand-primary, 32%) }
|
20
|
+
&.success > th, th.success, &.success > td, td.success { background-color: lighten($brand-success, 32%) }
|
21
|
+
&.info > th, th.info , &.info > td, td.info { background-color: lighten($brand-info, 32%) }
|
22
|
+
&.warning > th, th.warning, &.warning > td, td.warning { background-color: lighten($brand-warning, 32%) }
|
23
|
+
&.danger > th, th.danger , &.danger > td, td.danger { background-color: lighten($brand-danger, 32%) }
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
table > thead,
|
28
|
+
table > tbody,
|
29
|
+
table > tfoot{
|
30
|
+
> tr{
|
31
|
+
> th, > td{
|
32
|
+
border-collapse: collapse;
|
33
|
+
padding: $table-cell-padding;
|
34
|
+
border: none;
|
35
|
+
border-bottom: 1px solid $table-border-color;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
table > thead > tr > td,
|
41
|
+
table > thead > tr > th,
|
42
|
+
table > tbody > tr > th,
|
43
|
+
table > tfoot > tr > td,
|
44
|
+
table > tfoot > tr > th{
|
45
|
+
font-weight: bold;
|
46
|
+
text-align: left
|
47
|
+
}
|
48
|
+
|
49
|
+
table{
|
50
|
+
|
51
|
+
// Condensed table
|
52
|
+
// -------------------------
|
53
|
+
&.condensed{
|
54
|
+
> thead,
|
55
|
+
> tbody,
|
56
|
+
> tfoot{
|
57
|
+
> tr{
|
58
|
+
> th, > td{
|
59
|
+
padding: $table-condensed-cell-padding;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
// Bordered
|
66
|
+
// -------------------------
|
67
|
+
&.bordered {
|
68
|
+
&, > thead, > tbody, > tfoot {
|
69
|
+
tr{
|
70
|
+
> th, > td{
|
71
|
+
border: 1px solid $table-border-color;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
// Striped
|
78
|
+
// -------------------------
|
79
|
+
&.striped > tbody > tr:nth-child(odd) {
|
80
|
+
> th, > td {
|
81
|
+
background-color: $table-background-accent;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
// Hover
|
86
|
+
// -------------------------
|
87
|
+
&.hover > tbody > tr:hover {
|
88
|
+
> th, > td {
|
89
|
+
background-color: $table-background-hover;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
}
|
94
|
+
|
95
|
+
|
96
|
+
// Responsive Table
|
97
|
+
// --------------------------------------------------
|
98
|
+
.table.responsive{
|
99
|
+
width: 100%;
|
100
|
+
overflow-y: hidden;
|
101
|
+
overflow-x: scroll;
|
102
|
+
-ms-overflow-style: -ms-autohiding-scrollbar;
|
103
|
+
-webkit-overflow-scrolling: touch;
|
104
|
+
border: 1px solid $table-border-color;
|
105
|
+
|
106
|
+
> table{
|
107
|
+
margin-bottom: 0;
|
108
|
+
|
109
|
+
&.bordered{
|
110
|
+
border: none;
|
111
|
+
|
112
|
+
> thead,
|
113
|
+
> tbody,
|
114
|
+
> tfoot {
|
115
|
+
> tr {
|
116
|
+
> th:first-child, > td:first-child { border-left: 0; }
|
117
|
+
> th:last-child, > td:last-child { border-right: 0; }
|
118
|
+
}
|
119
|
+
}
|
120
|
+
|
121
|
+
> thead,
|
122
|
+
> tbody {
|
123
|
+
> tr:first-child {
|
124
|
+
> th, > td { border-top: 0; }
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
> thead,
|
130
|
+
> tbody,
|
131
|
+
> tfoot {
|
132
|
+
> tr {
|
133
|
+
> th, > td { white-space: nowrap; }
|
134
|
+
}
|
135
|
+
}
|
136
|
+
|
137
|
+
> *:last-child {
|
138
|
+
> tr:last-child {
|
139
|
+
> th, > td{ border-bottom: none; }
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
}
|
144
|
+
}
|
@@ -127,3 +127,23 @@ $button-danger-background: $brand-danger !default;
|
|
127
127
|
$button-danger-border: darken($button-danger-background, 5%) !default;
|
128
128
|
|
129
129
|
|
130
|
+
//== Tables
|
131
|
+
//
|
132
|
+
//## Customizes the `table` component with basic values, each used across all table variations.
|
133
|
+
|
134
|
+
//** Padding for `<th>`s and `<td>`s.
|
135
|
+
$table-cell-padding: 8px !default;
|
136
|
+
//** Padding for cells in `.table-condensed`.
|
137
|
+
$table-condensed-cell-padding: 5px !default;
|
138
|
+
|
139
|
+
//** Default background color used for all tables.
|
140
|
+
$table-background: transparent !default;
|
141
|
+
//** Background color used for `.table-striped`.
|
142
|
+
$table-background-accent: #f9f9f9 !default;
|
143
|
+
//** Background color used for `.table-hover`.
|
144
|
+
$table-background-hover: #f5f5f5 !default;
|
145
|
+
$table-background-active: $table-background-hover !default;
|
146
|
+
|
147
|
+
//** Border color for table and cell borders.
|
148
|
+
$table-border-color: #ddd !default;
|
149
|
+
|
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.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- miclle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -54,6 +54,7 @@ files:
|
|
54
54
|
- vendor/assets/javascripts/mice/jquery.min.map
|
55
55
|
- vendor/assets/stylesheets/mice.scss
|
56
56
|
- vendor/assets/stylesheets/mice/_buttons.scss
|
57
|
+
- vendor/assets/stylesheets/mice/_components.scss
|
57
58
|
- vendor/assets/stylesheets/mice/_grid.scss
|
58
59
|
- vendor/assets/stylesheets/mice/_icons.scss
|
59
60
|
- vendor/assets/stylesheets/mice/_menu.scss
|
@@ -61,6 +62,7 @@ files:
|
|
61
62
|
- vendor/assets/stylesheets/mice/_normalize.scss
|
62
63
|
- vendor/assets/stylesheets/mice/_scaffolding.scss
|
63
64
|
- vendor/assets/stylesheets/mice/_sidebar.scss
|
65
|
+
- vendor/assets/stylesheets/mice/_tables.scss
|
64
66
|
- vendor/assets/stylesheets/mice/_typography.scss
|
65
67
|
- vendor/assets/stylesheets/mice/_variables.scss
|
66
68
|
homepage: https://github.com/miclle/mice
|