Skip to content

Commit

Permalink
Merge pull request #165 from picturepan2/feature/0.2.9
Browse files Browse the repository at this point in the history
Feature/0.2.9
  • Loading branch information
picturepan2 authored Mar 11, 2017
2 parents b8401cd + 589c7d8 commit ee309ce
Show file tree
Hide file tree
Showing 23 changed files with 501 additions and 193 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ You can compile your custom version of Spectre.css. Read [the documentation](htt
- [Flexbox-grid](http://picturepan2.github.io/spectre/layout.html#grid) - flexbox based responsive grid system
- [Responsive](http://picturepan2.github.io/spectre/layout.html#responsive) - responsive grid and utilities
- [Navbar](http://picturepan2.github.io/spectre/layout.html#navbar) - layout container that appears in the header of apps and websites
- [Panels](http://picturepan2.github.io/spectre/layout.html#panels) - flexible view container layout with auto-expand content section
- [Empty states](http://picturepan2.github.io/spectre/layout.html#empty) - empty states/blank slates for first time use, empty data and error screens

#### Components
Expand All @@ -59,7 +60,7 @@ You can compile your custom version of Spectre.css. Read [the documentation](htt
- [Badges](http://picturepan2.github.io/spectre/components.html#badges) - unread number indicators
- [Cards](http://picturepan2.github.io/spectre/components.html#cards) - flexible content containers
- [Chips](http://picturepan2.github.io/spectre/components.html#chips) - complex entities in small blocks
- [Menus](http://picturepan2.github.io/spectre/components.html#menus) - list of links or buttons for actions and navigation
- [Menus](http://picturepan2.github.io/spectre/components.html#menus) - list of links or buttons for actions and navigation
- [Modals](http://picturepan2.github.io/spectre/components.html#modals) - flexible dialog prompts
- [Navigation](http://picturepan2.github.io/spectre/components.html#navigation) - breadcrumb, tabs, pagination and navs
- [Steps](http://picturepan2.github.io/spectre/components.html#steps) - progress indicators of a sequence of task steps
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "spectre.css",
"version": "0.2.8",
"version": "0.2.9",
"description": "Spectre.css: a lightweight, responsive and modern CSS framework.",
"homepage": "http://picturepan2.github.io/spectre",
"repository": "picturepan2/spectre",
Expand Down
87 changes: 67 additions & 20 deletions dist/spectre.css
Original file line number Diff line number Diff line change
Expand Up @@ -741,15 +741,15 @@ abbr[title] {
-ms-flex: 1 0 auto;
flex: 1 0 auto;
}
.btn-group .btn:first-of-type:not(:last-of-type) {
.btn-group .btn:first-child:not(:last-child) {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
.btn-group .btn:not(:first-of-type):not(:last-of-type) {
.btn-group .btn:not(:first-child):not(:last-child) {
border-radius: 0;
margin-left: -.1rem;
}
.btn-group .btn:last-of-type:not(:first-of-type) {
.btn-group .btn:last-child:not(:first-child) {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
margin-left: -.1rem;
Expand Down Expand Up @@ -909,7 +909,6 @@ textarea.form-input {
}
.form-checkbox,
.form-radio {
cursor: pointer;
display: inline-block;
line-height: 1.8rem;
padding: .3rem 2rem;
Expand All @@ -918,6 +917,7 @@ textarea.form-input {
.form-checkbox .form-icon,
.form-radio .form-icon {
border: .1rem solid #ccc;
cursor: pointer;
display: inline-block;
font-size: 1.4rem;
height: 1.4rem;
Expand Down Expand Up @@ -991,7 +991,6 @@ textarea.form-input {
width: .4rem;
}
.form-switch {
cursor: pointer;
display: inline-block;
line-height: 2rem;
padding: .2rem 2rem .2rem 3.6rem;
Expand All @@ -1002,6 +1001,7 @@ textarea.form-input {
background-clip: padding-box;
border: .1rem solid #ccc;
border-radius: .9rem;
cursor: pointer;
display: inline-block;
height: 1.8rem;
left: 0;
Expand Down Expand Up @@ -1096,16 +1096,15 @@ textarea.form-input {
.form-input.disabled,
.form-select.disabled {
background-color: #f0f0f0;
cursor: default;
cursor: not-allowed;
opacity: .5;
}
input:disabled + .form-icon,
input.disabled + .form-icon {
background: #f0f0f0;
border-color: #ccc;
cursor: default;
cursor: not-allowed;
opacity: .5;
pointer-events: none;
}
.form-switch input:disabled + .form-icon::after,
.form-switch input.disabled + .form-icon::after {
Expand Down Expand Up @@ -1646,34 +1645,82 @@ code {
}
}
.navbar {
-webkit-align-items: center;
align-items: center;
-webkit-align-items: stretch;
align-items: stretch;
display: flex;
display: -ms-flexbox;
display: -webkit-flex;
-ms-flex-align: center;
-ms-flex-pack: justify;
-ms-flex-align: stretch;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-justify-content: space-between;
justify-content: space-between;
}
.navbar .navbar-section {
-webkit-align-items: center;
align-items: center;
display: flex;
display: -ms-flexbox;
display: -webkit-flex;
-webkit-flex: 1 0 0;
-ms-flex: 1 0 0;
flex: 1 0 0;
-ms-flex-align: center;
}
.navbar .navbar-section:last-of-type {
-ms-flex-pack: end;
-webkit-justify-content: flex-end;
justify-content: flex-end;
}
.navbar .navbar-primary {
-webkit-align-items: center;
align-items: center;
display: flex;
display: -ms-flexbox;
display: -webkit-flex;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
-ms-flex-align: center;
padding: 1rem 0;
}
.navbar .navbar-brand {
font-size: 1.6rem;
font-weight: 500;
margin-right: 2rem;
text-decoration: none;
vertical-align: middle;
}
.panel {
border: .1rem solid #efefef;
border-radius: .2rem;
display: flex;
display: -ms-flexbox;
display: -webkit-flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
.panel .panel-header,
.panel .panel-footer {
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding: 1.5rem;
}
.panel .panel-nav {
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
}
.panel .panel-body {
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
overflow-y: auto;
}
.panel .panel-body {
padding: 0 1.5rem;
}
.panel .panel-title {
font-size: 2rem;
line-height: 1.4;
}
.empty {
background: #f8f8f8;
Expand Down Expand Up @@ -2157,7 +2204,7 @@ code {
}
.tab .tab-item a {
border-bottom: .2rem solid transparent;
color: #333;
color: inherit;
display: block;
margin-bottom: -.1rem;
margin-top: 0;
Expand Down Expand Up @@ -2342,7 +2389,7 @@ code {
display: -webkit-flex;
-ms-flex-align: start;
-ms-flex-line-pack: justify;
margin: 0;
margin: .5rem 0;
padding: .5rem 0;
}
.tile .tile-icon,
Expand All @@ -2363,11 +2410,11 @@ code {
padding-right: 1rem;
}
.tile .tile-title {
font-size: 1.6rem;
font-weight: 500;
}
.tile .tile-meta {
color: #999;
line-height: 2rem;
}
.tile.tile-centered {
-webkit-align-items: center;
Expand Down
2 changes: 1 addition & 1 deletion dist/spectre.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit ee309ce

Please sign in to comment.