Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#73183568] dropdowns + [#73270894]buttons-dropdowns #15

Merged
merged 16 commits into from
Jul 15, 2014

Conversation

vwxyz
Copy link
Contributor

@vwxyz vwxyz commented Jul 8, 2014

in dropdowns

  • last dropdowns pattern (which uses plugin)
    • this pattern doesn't have the same appearance as those in design comp.

vwxyz added 5 commits July 3, 2014 10:42
import docs.min.css
Navs, Navbar, Breadcrumb, Pagination
- add new task "multi-select" to copy files of "Bootstrap Multiselect" plugin
 - http://davidstutz.github.io/bootstrap-multiselect/
- add code sample for each patterns
- add new dropdown pattern which is combined with input elements
  - for this pattern, uses plugins
    - Bootstrap Multiselect  http://davidstutz.github.io/bootstrap-multiselect/
create new section "Buttons Dropdowns" which contains 4 patterns below:
 - Single button dropdowns
 - Split button dropdowns
 - Sizing
 - Dropup variation

update "_buttons.scss" to tweak sizes of buttons

remove unnecessary css file "bootstrap-glyphicons.css"
'use strict';

$('.change-brand').on('click', 'a', function(e){
console.log("hoge")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this log here OK?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is not OK.

寿司ゆき:sorry

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey no problem at all, this is the all point of PR, to help each other.

Best Regards

Andrea Belvedere | VP of Engineering | gengo.com

On Wed, Jul 9, 2014 at 9:48 AM, Hitoshi K notifications@github.com wrote:

In js/main.js:

'use strict';

$('.change-brand').on('click', 'a', function(e){

  • console.log("hoge")

it is not OK.

[image: 寿司ゆき:sorry]
https://camo.githubusercontent.com/f5018869297732064c1e7a903e982cc8460d971d/68747470733a2f2f64317a6431763063786e627832772e636c6f756466726f6e742e6e65742f696d616765732f736574732f737573686979756b692f30352e706e67


Reply to this email directly or view it on GitHub
https://github.com/gengo/style-guide/pull/15/files#r14689061.

vwxyz added 2 commits July 9, 2014 09:45
- 'console.log' is only for debug
change 'width' of search box in the dropdowns which uses 3rd party plugin for implementation.
@vwxyz vwxyz changed the title (Not Ready)[#73183568] dropdowns + [#73270894]buttons-dropdowns [#73183568] dropdowns + [#73270894]buttons-dropdowns Jul 14, 2014
@@ -53,4 +62,16 @@
display: block;
margin-bottom: 5px;
}
.dropdown-header{
font-size:10px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small thing but can we add a space after: something like this font-size: 10px;
Also, if there are different places that are using this font size can you add it to https://github.com/gengo/style-guide/blob/master/scss/_variables.scss and reuse the variable 🙇

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also a space before { in .dropdown-header {.....} 🙇

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marexandre

ok. I will tweak this in the next commit.
😄

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🙇

@marexandre
Copy link
Contributor

Btw, not sure, but if your are not using https://github.com/csscomb/sublime-csscomb then it would be nice if you could use it so we have more consistency in our CSS parameter order, let me know if you have any questions 🙇🙇🙇

- _button.scss
- _dropdowns.scss
- docs.scss
- scss/_buttons.scss
- scss/_dropdowns.scss
- scss/docs.scss

SassBeautify is plugin for sublime text
https://sublime.wbond.net/packages/SassBeautify
also format '_variable.scss' by using SassBeautify
'$dropdown-border-radius' is used in '_dropdown.scss'
- change indent level from '4' spaces to '2' spaces
- scss/_buttons.scss
- scss/_dropdowns.scss
- scss/docs.scss
fix 3 conflicts in merge with master

- scss/_dropdowns.scss
- scss/_buttons.scss
- Gruntfile.coffee
modify 3 scss files
- scss/_buttons.scss
- scss/_dropdowns.scss
- scss/docs.scss
@marexandre
Copy link
Contributor

LGTM 😎

@toshipon
Copy link
Contributor

LGTM!

toshipon added a commit that referenced this pull request Jul 15, 2014
[#73183568] dropdowns +  [#73270894]buttons-dropdowns
@toshipon toshipon merged commit 271ef21 into master Jul 15, 2014
@toshipon toshipon deleted the 73270894buttons-dropdown branch July 15, 2014 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants