Skip to content

Commit

Permalink
[FEATURE] updated form borders to vimeo brand colors (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjaofawesome authored Oct 2, 2017
1 parent c504192 commit fc4cd8d
Show file tree
Hide file tree
Showing 10 changed files with 120 additions and 105 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 1.5.6
**2017-9-27**
* added black to button blocks.

### 1.5.5
**2017-9-27**
* added black to button blocks.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.5
1.5.6
12 changes: 6 additions & 6 deletions app/public/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ Q.components.guide.styleguide.ui.forms.container = {
name: 'domain_name',
placeholder: 'Enter your domain name'
}),
m('button.btn.btn-teal.btn--small', 'Verify Domain')
m('button.btn.btn-vimeo-blue.btn--small', 'Verify Domain')
])
]),
m('fieldset.margin-bottom-medium', [
Expand All @@ -1086,7 +1086,7 @@ Q.components.guide.styleguide.ui.forms.container = {
})
]),
m('.clearfix',
m('button.btn-teal.right', {
m('button.btn-vimeo-blue.right', {
type: 'submit'
}, 'Submit')
)
Expand Down Expand Up @@ -1641,7 +1641,7 @@ Q.components.guide.styleguide.ui.radio.container = {
]
}),
m.component(vhxm.components.shared.radio.ui.container, {
color: 'vimeo-blue',
color: 'teal',
name: 'horz-teal',
items: [
{
Expand Down Expand Up @@ -1681,7 +1681,7 @@ Q.components.guide.styleguide.ui.radio.container = {
]
}),
m.component(vhxm.components.shared.radio.ui.container, {
color: 'vimeo-blue',
color: 'teal',
stacked: true,
name: 'stacked-teal',
items: [
Expand All @@ -1706,7 +1706,7 @@ Q.components.guide.styleguide.ui.radio.container = {
view: function() {
return m('div', [
m.component(vhxm.components.shared.radio.ui.container, {
color: 'vimeo-blue',
color: 'teal',
buttons: true,
name: 'stacked-button',
items: [
Expand Down Expand Up @@ -2082,7 +2082,7 @@ Q.components.guide.styleguide.ui.text.container = {
component: {
view: function() {
return m('div', [
m('a[href=#].text-2.is-disabled.block.margin-bottom-small', 'Link Teal (default)'),
m('a[href=#].text-2.is-disabled.block.margin-bottom-small', 'Link Regent Gray (default)'),
m('a[href=#].text-2.is-disabled.block.text--gray.margin-bottom-small', 'Link Gray'),
m('a[href=#].text-2.is-disabled.text--gray-light.inline.bg-navy.margin-bottom-small', 'Link Gray Light'),
m('a[href=#].text-2.is-disabled.block.text--navy.margin-bottom-small', 'Link Navy'),
Expand Down
71 changes: 41 additions & 30 deletions app/public/quartz.css
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@
......................................*/
/* button block base
......................................*/
.btn-block, .btn-block-teal, .btn-block-gray, .btn-block-navy {
.btn-block, .btn-block-teal, .btn-block-gray, .btn-block-navy, .btn-block-black {
transition: all .2s ease;
display: flex;
align-items: center;
Expand All @@ -421,17 +421,17 @@
text-align: center;
text-transform: uppercase;
font-family: "brandon-grotesque-n1", "brandon-grotesque", "Brandon Grotesque", sans-serif; }
.btn-block.btn--border, .btn--border.btn-block-teal, .btn--border.btn-block-gray, .btn--border.btn-block-navy {
.btn-block.btn--border, .btn--border.btn-block-teal, .btn--border.btn-block-gray, .btn--border.btn-block-navy, .btn--border.btn-block-black {
border-left: 1px solid #D7DDE1;
border-right: 1px solid #D7DDE1; }
.btn-block.btn--border + .btn-block, .btn--border.btn-block-teal + .btn-block, .btn--border.btn-block-gray + .btn-block, .btn--border.btn-block-navy + .btn-block, .btn-block.btn--border + .btn-block-teal, .btn--border.btn-block-teal + .btn-block-teal, .btn--border.btn-block-gray + .btn-block-teal, .btn--border.btn-block-navy + .btn-block-teal, .btn-block.btn--border + .btn-block-gray, .btn--border.btn-block-teal + .btn-block-gray, .btn--border.btn-block-gray + .btn-block-gray, .btn--border.btn-block-navy + .btn-block-gray, .btn-block.btn--border + .btn-block-navy, .btn--border.btn-block-teal + .btn-block-navy, .btn--border.btn-block-gray + .btn-block-navy, .btn--border.btn-block-navy + .btn-block-navy {
.btn-block.btn--border + .btn-block, .btn--border.btn-block-teal + .btn-block, .btn--border.btn-block-gray + .btn-block, .btn--border.btn-block-navy + .btn-block, .btn--border.btn-block-black + .btn-block, .btn-block.btn--border + .btn-block-teal, .btn--border.btn-block-teal + .btn-block-teal, .btn--border.btn-block-gray + .btn-block-teal, .btn--border.btn-block-navy + .btn-block-teal, .btn--border.btn-block-black + .btn-block-teal, .btn-block.btn--border + .btn-block-gray, .btn--border.btn-block-teal + .btn-block-gray, .btn--border.btn-block-gray + .btn-block-gray, .btn--border.btn-block-navy + .btn-block-gray, .btn--border.btn-block-black + .btn-block-gray, .btn-block.btn--border + .btn-block-navy, .btn--border.btn-block-teal + .btn-block-navy, .btn--border.btn-block-gray + .btn-block-navy, .btn--border.btn-block-navy + .btn-block-navy, .btn--border.btn-block-black + .btn-block-navy, .btn-block.btn--border + .btn-block-black, .btn--border.btn-block-teal + .btn-block-black, .btn--border.btn-block-gray + .btn-block-black, .btn--border.btn-block-navy + .btn-block-black, .btn--border.btn-block-black + .btn-block-black {
border-left: 1px solid transparent; }
.btn-block.is-active, .is-active.btn-block-teal, .is-active.btn-block-gray, .is-active.btn-block-navy, .btn-block:hover, .btn-block-teal:hover, .btn-block-gray:hover, .btn-block-navy:hover, .btn-block.is-hover, .is-hover.btn-block-teal, .is-hover.btn-block-gray, .is-hover.btn-block-navy {
.btn-block.is-active, .is-active.btn-block-teal, .is-active.btn-block-gray, .is-active.btn-block-navy, .is-active.btn-block-black, .btn-block:hover, .btn-block-teal:hover, .btn-block-gray:hover, .btn-block-navy:hover, .btn-block-black:hover, .btn-block.is-hover, .is-hover.btn-block-teal, .is-hover.btn-block-gray, .is-hover.btn-block-navy, .is-hover.btn-block-black {
cursor: pointer;
box-shadow: inset 0px -4px 0px #869AA5; }
.btn-block span, .btn-block-teal span, .btn-block-gray span, .btn-block-navy span {
.btn-block span, .btn-block-teal span, .btn-block-gray span, .btn-block-navy span, .btn-block-black span {
display: block; }
.btn-block span:first-child, .btn-block-teal span:first-child, .btn-block-gray span:first-child, .btn-block-navy span:first-child {
.btn-block span:first-child, .btn-block-teal span:first-child, .btn-block-gray span:first-child, .btn-block-navy span:first-child, .btn-block-black span:first-child {
margin-top: -7px; }

/* button block teal
Expand Down Expand Up @@ -467,6 +467,17 @@
color: #5E7887;
box-shadow: inset 0px -4px 0px #5E7887; }

/* button block navy
......................................*/
.btn-block-black {
color: #1a2e3b; }
.btn-block-black:link, .btn-block-black:visited {
color: #1a2e3b; }
.btn-block-black:hover,
.btn-block-black.is-hover .btn-block-black:active, .btn-block-black.is-active {
color: #1a2e3b;
box-shadow: inset 0px -4px 0px #1a2e3b; }

/* .....................................
Fonts
..................................... */
Expand Down Expand Up @@ -3243,7 +3254,7 @@ hr.column {
color: #5E7887;
font-size: 14px;
background-color: #fff;
border: 1px solid #d1d9dc;
border: 1px solid #e3e8e9;
margin-bottom: 0;
box-shadow: none;
box-sizing: border-box;
Expand All @@ -3259,15 +3270,15 @@ hr.column {
.form input[type="password"]::-webkit-input-placeholder,
.form input[type="number"]::-webkit-input-placeholder,
.form textarea::-webkit-input-placeholder {
color: rgba(55, 86, 103, 0.5) !important;
color: rgba(26, 46, 59, 0.5) !important;
font-weight: normal; }
.form input[type="text"]:-moz-placeholder,
.form input[type="email"]:-moz-placeholder,
.form input[type="tel"]:-moz-placeholder,
.form input[type="password"]:-moz-placeholder,
.form input[type="number"]:-moz-placeholder,
.form textarea:-moz-placeholder {
color: rgba(55, 86, 103, 0.5) !important;
color: rgba(26, 46, 59, 0.5) !important;
font-weight: normal;
opacity: 1; }
.form input[type="text"]::-moz-placeholder,
Expand All @@ -3276,7 +3287,7 @@ hr.column {
.form input[type="password"]::-moz-placeholder,
.form input[type="number"]::-moz-placeholder,
.form textarea::-moz-placeholder {
color: rgba(55, 86, 103, 0.5) !important;
color: rgba(26, 46, 59, 0.5) !important;
font-weight: normal;
opacity: 1; }
.form input[type="text"]:-ms-input-placeholder,
Expand All @@ -3285,7 +3296,7 @@ hr.column {
.form input[type="password"]:-ms-input-placeholder,
.form input[type="number"]:-ms-input-placeholder,
.form textarea:-ms-input-placeholder {
color: rgba(55, 86, 103, 0.5) !important;
color: rgba(26, 46, 59, 0.5) !important;
font-weight: normal; }
.form input[type="text"][disabled],
.form input[type="email"][disabled],
Expand All @@ -3309,55 +3320,55 @@ hr.column {
.form input[type="password"].is-error,
.form input[type="number"].is-error,
.form textarea.is-error {
color: #D3104A;
border: 1px solid #D3104A; }
color: #ff4d4d;
border: 1px solid #ff4d4d; }
.form input[type="text"].is-error.is-selected,
.form input[type="email"].is-error.is-selected,
.form input[type="tel"].is-error.is-selected,
.form input[type="password"].is-error.is-selected,
.form input[type="number"].is-error.is-selected,
.form textarea.is-error.is-selected {
border: 2px solid #cf124c;
background-color: #641728; }
border: 2px solid #ff4d4d;
background-color: #ff4d4d; }
.form input[type="text"].is-error::-webkit-input-placeholder,
.form input[type="email"].is-error::-webkit-input-placeholder,
.form input[type="tel"].is-error::-webkit-input-placeholder,
.form input[type="password"].is-error::-webkit-input-placeholder,
.form input[type="number"].is-error::-webkit-input-placeholder,
.form textarea.is-error::-webkit-input-placeholder {
color: #D3104A !important; }
color: #ff4d4d !important; }
.form input[type="text"].is-error:-moz-placeholder,
.form input[type="email"].is-error:-moz-placeholder,
.form input[type="tel"].is-error:-moz-placeholder,
.form input[type="password"].is-error:-moz-placeholder,
.form input[type="number"].is-error:-moz-placeholder,
.form textarea.is-error:-moz-placeholder {
color: #D3104A !important;
color: #ff4d4d !important;
opacity: 1; }
.form input[type="text"].is-error::-moz-placeholder,
.form input[type="email"].is-error::-moz-placeholder,
.form input[type="tel"].is-error::-moz-placeholder,
.form input[type="password"].is-error::-moz-placeholder,
.form input[type="number"].is-error::-moz-placeholder,
.form textarea.is-error::-moz-placeholder {
color: #D3104A !important;
color: #ff4d4d !important;
opacity: 1; }
.form input[type="text"].is-error:-ms-input-placeholder,
.form input[type="email"].is-error:-ms-input-placeholder,
.form input[type="tel"].is-error:-ms-input-placeholder,
.form input[type="password"].is-error:-ms-input-placeholder,
.form input[type="number"].is-error:-ms-input-placeholder,
.form textarea.is-error:-ms-input-placeholder {
color: #D3104A !important; }
color: #ff4d4d !important; }
.form input[type="text"]:focus,
.form input[type="email"]:focus,
.form input[type="tel"]:focus,
.form input[type="password"]:focus,
.form input[type="number"]:focus,
.form textarea:focus {
outline: none;
color: #5E7887;
border: 1px solid #9aaab4;
color: #8699a6;
border: 1px solid #b3bfc8;
box-shadow: none;
/* on focus + has error
...................................*/ }
Expand Down Expand Up @@ -3397,32 +3408,32 @@ hr.column {
.form input[type="password"]:focus.is-error,
.form input[type="number"]:focus.is-error,
.form textarea:focus.is-error {
color: #D3104A;
border: 1px solid #D3104A; }
color: #ff4d4d;
border: 1px solid #ff4d4d; }
.form input[type="text"]:focus.is-error.is-selected,
.form input[type="email"]:focus.is-error.is-selected,
.form input[type="tel"]:focus.is-error.is-selected,
.form input[type="password"]:focus.is-error.is-selected,
.form input[type="number"]:focus.is-error.is-selected,
.form textarea:focus.is-error.is-selected {
border: 2px solid #cf124c;
background-color: #641728; }
border: 2px solid #ff4d4d;
background-color: #ff4d4d; }
.form input[type="text"]:focus.is-error::-webkit-input-placeholder,
.form input[type="email"]:focus.is-error::-webkit-input-placeholder,
.form input[type="tel"]:focus.is-error::-webkit-input-placeholder,
.form input[type="password"]:focus.is-error::-webkit-input-placeholder,
.form input[type="number"]:focus.is-error::-webkit-input-placeholder,
.form textarea:focus.is-error::-webkit-input-placeholder {
transition: all .2s ease;
color: #D3104A !important; }
color: #ff4d4d !important; }
.form input[type="text"]:focus.is-error:-moz-placeholder,
.form input[type="email"]:focus.is-error:-moz-placeholder,
.form input[type="tel"]:focus.is-error:-moz-placeholder,
.form input[type="password"]:focus.is-error:-moz-placeholder,
.form input[type="number"]:focus.is-error:-moz-placeholder,
.form textarea:focus.is-error:-moz-placeholder {
transition: all .2s ease;
color: #D3104A !important;
color: #ff4d4d !important;
opacity: 1; }
.form input[type="text"]:focus.is-error::-moz-placeholder,
.form input[type="email"]:focus.is-error::-moz-placeholder,
Expand All @@ -3431,7 +3442,7 @@ hr.column {
.form input[type="number"]:focus.is-error::-moz-placeholder,
.form textarea:focus.is-error::-moz-placeholder {
transition: all .2s ease;
color: #D3104A !important;
color: #ff4d4d !important;
opacity: 1; }
.form input[type="text"]:focus.is-error:-ms-input-placeholder,
.form input[type="email"]:focus.is-error:-ms-input-placeholder,
Expand All @@ -3440,7 +3451,7 @@ hr.column {
.form input[type="number"]:focus.is-error:-ms-input-placeholder,
.form textarea:focus.is-error:-ms-input-placeholder {
transition: all .2s ease;
color: #D3104A !important; }
color: #ff4d4d !important; }
.form input[type="text"].small,
.form input[type="email"].small,
.form input[type="tel"].small,
Expand Down Expand Up @@ -3536,7 +3547,7 @@ hr.column {
position: absolute;
top: 11px;
left: 15px;
color: #F0F2F4; }
color: #eef1f2; }

/* .....................................
Fonts
Expand Down
2 changes: 1 addition & 1 deletion app/public/quartz.js
Original file line number Diff line number Diff line change
Expand Up @@ -1503,4 +1503,4 @@ vhxm.components.shared.select.ui.list.empty = {
view: function view() {
return m('li.padding-horz-large.padding-top-small.padding-bottom-medium.text--gray.text-center', 'No results');
}
};
};
Loading

0 comments on commit fc4cd8d

Please sign in to comment.