Comments (6)
Agreed.
from bootstrap.
Would definitely be useful!
from bootstrap.
Here is what I did, inspired by github:
.danger {
text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
background: #B33630;
background: -webkit-gradient(linear,0% 0,0% 100%,from(#DC5F59),to(#B33630));
background: -moz-linear-gradient(-90deg,#DC5F59,#B33630);
border-bottom-color: #CD504A;
color: #fff;
-webkit-transition: 0;
-moz-transition: 0;
transition: 0;
}
.danger:hover {
background: #B33630;
border-bottom-color: #CD504A;
color: #fff;
}
It probably doesn't follow project's standards. I can fork/pull if a core dev think it's a good idea.
from bootstrap.
oops didn't see this thread,
I already made a pull request here #59
would rather the red colors (including the primary blue) are placed into variables in the preboot.less
from bootstrap.
Nice! I'll try that, thanks.
from bootstrap.
Added .danger
style with this commit: 0bfce13
thanks guys!
from bootstrap.
Related Issues (20)
- when clicking in a code sample box it scrolls all the way to the bottom of web page HOT 3
- Uncompiled version of RTL SCSS for customizing Bootstrap
- Adding z-index: 1 to main area causes an active modal to sit behind its backdrop HOT 2
- Automatically scroll when copying code example HOT 1
- Confusing description of spacing utilities notation
- Form validation with input group not changing input-group-text border color HOT 2
- Trying to copy code from the docs forces the page to scroll to the bottom HOT 1
- Update input groups to use `:has()` selector to style addons with form validations
- Bugs inside "Cover Template" and "Product Template" HOT 1
- Regarding the inlcusion of sidenavbar.
- npm install [email protected] Not working
- Copying issue in breakpoints section => max with code window HOT 2
- Search Button not responding HOT 1
- Add class for change hover color variants on a buttons and Links HOT 1
- When i copy the code manually it redirects to bottom page HOT 1
- focus-ring is not displayed on a button applied shadow class HOT 2
- Selecting / Scroll issue in Documentation HOT 2
- `npm install` hangs on Windows 11, clean node install HOT 1
- Search Button HOT 1
- Website documentation. Code blocks and Apple trackpad scrolling issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap.