question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

improve bootstrap theme

See original GitHub issue

I think we’re not quite there yet:

  • The inner input doesn’t have a border-radius
  • Multiple selection doesn’t show the blue focus box-shadow
  • Normal bootstrap inputs have an inset box shadow (box-shadow: inset 0 1px 1px rgba(0,0,0,.075);)
  • Input and buttons have a fixed default height of 34px. I imagine having inputs and power-selects side-by-side, it would be strange if they don’t have the same height.
  • Dropdown should have a padding-top and bottom of 5px besides the 2px margin that separates it from the trigger.
  • Each dropdown item is also different. They have a height of 26px in bootstrap, it seems. Also paddings are different.
  • Option group headers should use bootstrap’s dropdown headers: http://getbootstrap.com/components/#dropdowns-headers
  • Caret down is different
  • In multiple selection, I feel the label color for each selected option is too dark, but I didn’t find a bootstrap color for it yet.
  • We should use font-family: inherit on input’s to force the browser to use the default font-family.
  • I think that the selected option should have a primary color.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:21 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
jcbvmcommented, Mar 24, 2016

One other thing is the disabled state, it should show a different cursor. And another nice addition would be to set the size of the trigger, like sm and lg, corresponding to input-sm and input-lg of bootstrap.

1reaction
fran-worleycommented, Sep 5, 2017

@cibernox I’ve left this as a gist rather than a PR as it’s probably not in a format you’d want to formally release, particularly if you’re set on everything having a variable.

https://gist.github.com/fran-worley/cbca91417863b44bb34b8f1e171c01cc

Read more comments on GitHub >

github_iconTop Results From Across the Web

Theming Bootstrap
Now, theming is accomplished by Sass variables, Sass maps, and custom CSS. There's no more dedicated theme stylesheet; instead, you can enable the...
Read more >
How to Create a Custom Bootstrap Theme from Scratch
In this tutorial, you'll learn how to generate a Bootstrap theme without the help of template builders. Create your simple HTML templates ......
Read more >
Improve Responsive Bootstrap Theme
Improve Responsive Bootstrap Theme Details: Fully Responsive Layout. Bootstrap 3.3.1. HTML 5 / CSS 3. Retina Display Ready.
Read more >
How to a Create WordPress Bootstrap Theme in 8 Easy ...
A responsive theme is the best way to improve usability and readability for smart devices. Learn how to create a WordPress Bootstrap theme...
Read more >
Creative - One Page Bootstrap Theme
Creative is a one page Bootstrap theme for creatives, small businesses, and other multipurpose use. A modern, flat design style works in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found