Make contact sync button quieter

// FREEBIE
This commit is contained in:
lilia 2016-09-08 11:25:46 -07:00
parent 316110703c
commit 1afe50b1db
5 changed files with 45 additions and 52 deletions

View file

@ -395,7 +395,7 @@
</div> </div>
<textarea rows='5'></textarea> <textarea rows='5'></textarea>
<div class='buttons'> <div class='buttons'>
<button class='submit'>{{ submit }}</button> <button class='grey submit'>{{ submit }}</button>
</div> </div>
<div class='result'> <div class='result'>
</div> </div>
@ -456,7 +456,7 @@
<hr> <hr>
<h3>{{ sync }}</h3> <h3>{{ sync }}</h3>
<div> <div>
<button class='sync'>{{ syncNow }}</button> <button class='grey sync'>{{ syncNow }}</button>
<p> <p>
{{ syncExplanation }} {{ syncExplanation }}
<div class='synced_at'> <div class='synced_at'>

View file

@ -19,23 +19,6 @@
} }
} }
.submit {
border-radius: $border-radius;
border: solid 1px #ccc;
cursor: pointer;
margin: 1em auto;
padding: 1em;
font-family: inherit;
color: $grey;
background: $grey_l;
box-shadow: 0 0 10px -5px rgba($grey, 0.5);
&:hover {
color: black;
box-shadow: 0 0 10px -3px rgba($grey, 0.7);
}
}
.result { .result {
$link-max-width: 400px; $link-max-width: 400px;
$open-width: 72px; $open-width: 72px;

View file

@ -52,6 +52,30 @@ button {
cursor: pointer; cursor: pointer;
font-size: inherit; font-size: inherit;
} }
button.grey {
border-radius: $border-radius;
border: solid 1px #ccc;
cursor: pointer;
margin: 1em auto;
padding: 1em;
font-family: inherit;
color: $grey;
background: $grey_l;
box-shadow: 0 0 10px -5px rgba($grey, 0.5);
&:hover {
box-shadow: 0 0 10px -3px rgba($grey, 0.7);
}
&[disabled=disabled] {
&, &:hover {
opacity: 0.5;
box-shadow: none;
cursor: default;
}
}
}
a { color: $blue; } a { color: $blue; }
.inactive button.back { .inactive button.back {

View file

@ -261,19 +261,9 @@ input.search {
.syncSettings { .syncSettings {
button { button {
float: right; float: right;
border: none;
border-radius: $border-radius;
color: white;
font-weight: bold;
line-height: 36px; line-height: 36px;
padding: 0 20px; padding: 0 20px;
background: $blue; margin: 0 0 20px 20px;
margin-left: 20px;
margin-bottom: 20px;
&[disabled=disabled] {
background: $grey;
}
} }
.synced_at { .synced_at {
font-size: $font-size-small; font-size: $font-size-small;

View file

@ -57,6 +57,23 @@ button {
cursor: pointer; cursor: pointer;
font-size: inherit; } font-size: inherit; }
button.grey {
border-radius: 5px;
border: solid 1px #ccc;
cursor: pointer;
margin: 1em auto;
padding: 1em;
font-family: inherit;
color: #616161;
background: #f3f3f3;
box-shadow: 0 0 10px -5px rgba(97, 97, 97, 0.5); }
button.grey:hover {
box-shadow: 0 0 10px -3px rgba(97, 97, 97, 0.7); }
button.grey[disabled=disabled], button.grey[disabled=disabled]:hover {
opacity: 0.5;
box-shadow: none;
cursor: default; }
a { a {
color: #2090ea; } color: #2090ea; }
@ -477,19 +494,6 @@ input[type=text]:active, input[type=text]:focus, input[type=search]:active, inpu
width: 100%; width: 100%;
resize: none; resize: none;
min-height: 100px; } min-height: 100px; }
.debug-log .submit {
border-radius: 5px;
border: solid 1px #ccc;
cursor: pointer;
margin: 1em auto;
padding: 1em;
font-family: inherit;
color: #616161;
background: #f3f3f3;
box-shadow: 0 0 10px -5px rgba(97, 97, 97, 0.5); }
.debug-log .submit:hover {
color: black;
box-shadow: 0 0 10px -3px rgba(97, 97, 97, 0.7); }
.debug-log .result { .debug-log .result {
text-align: center; } text-align: center; }
.debug-log .result .input-group { .debug-log .result .input-group {
@ -891,17 +895,9 @@ input.search {
.syncSettings button { .syncSettings button {
float: right; float: right;
border: none;
border-radius: 5px;
color: white;
font-weight: bold;
line-height: 36px; line-height: 36px;
padding: 0 20px; padding: 0 20px;
background: #2090ea; margin: 0 0 20px 20px; }
margin-left: 20px;
margin-bottom: 20px; }
.syncSettings button[disabled=disabled] {
background: #616161; }
.syncSettings .synced_at { .syncSettings .synced_at {
font-size: 0.92857em; font-size: 0.92857em;
color: #616161; } color: #616161; }