Skip to content

Commit

Permalink
custom hex colors
Browse files Browse the repository at this point in the history
  • Loading branch information
mhkeller committed Oct 3, 2015
1 parent 0d0699a commit 7f1039b
Show file tree
Hide file tree
Showing 11 changed files with 43 additions and 2 deletions.
7 changes: 6 additions & 1 deletion lib/public/javascripts/main.bundled.js
Original file line number Diff line number Diff line change
Expand Up @@ -2341,7 +2341,12 @@ views.AA_BaseSetting = Backbone.View.extend({
var $colorPicker = $(this);
$colorPicker.spectrum({
preferredFormat: "hex",
showPaletteOnly: true,
chooseText: "OK",
showPaletteOnly: true,
togglePaletteOnly: true,
togglePaletteMoreText: 'More',
togglePaletteLessText: 'Less',
showInput: true,
hideAfterPaletteSelect: true,
palette: that.palettes[group],
change: function(color){
Expand Down
7 changes: 6 additions & 1 deletion lib/public/javascripts/views/AA_BaseSetting.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,12 @@ views.AA_BaseSetting = Backbone.View.extend({
var $colorPicker = $(this);
$colorPicker.spectrum({
preferredFormat: "hex",
showPaletteOnly: true,
chooseText: "OK",
showPaletteOnly: true,
togglePaletteOnly: true,
togglePaletteMoreText: 'More',
togglePaletteLessText: 'Less',
showInput: true,
hideAfterPaletteSelect: true,
palette: that.palettes[group],
change: function(color){
Expand Down
1 change: 1 addition & 0 deletions lib/public/stylesheets/blueprint/inputs.styl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ input[type="search"]

button,
input[type="button"],
.sp-container button,
input.destroy
color #333
background-color #EEE
Expand Down
1 change: 1 addition & 0 deletions lib/public/stylesheets/css/approval-river.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/public/stylesheets/css/articles.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ input[type="search"] {
}
button,
input[type="button"],
.sp-container button,
input.destroy {
color: #333;
background-color: #eee;
Expand Down
1 change: 1 addition & 0 deletions lib/public/stylesheets/css/home.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/public/stylesheets/css/login.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions lib/public/stylesheets/css/settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ input[type="search"] {
}
button,
input[type="button"],
.sp-container button,
input.destroy {
color: #333;
background-color: #eee;
Expand Down Expand Up @@ -1364,6 +1365,19 @@ button.add {
padding-top: 10px;
border-top: 1px solid #ccc;
}
.sp-cancel,
.sp-container button {
font-family: Helvetica, sans-serif;
}
.sp-button-container {
margin-top: 5px;
}
.sp-container button {
font-size: 1em;
font-weight: bold;
height: 20px;
line-height: 7px;
}
.auth-container {
display: inline-block;
vertical-align: top;
Expand Down
1 change: 1 addition & 0 deletions lib/public/stylesheets/css/setup.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/public/stylesheets/css/submit.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions lib/public/stylesheets/settings.styl
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,16 @@ button.add
margin-top 10px
padding-top 10px
border-top 1px solid #ccc
.sp-cancel,
.sp-container button
font-family Helvetica, sans-serif
.sp-button-container
margin-top 5px
.sp-container button
font-size 1em
font-weight bold
height 20px
line-height 7px
.auth-container
display inline-block
vertical-align top
Expand Down

0 comments on commit 7f1039b

Please sign in to comment.