mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Load a subset of bootstrap from atom.less and nuke reset.less
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
@import "reset.less";
|
||||
@import "customized-bootstrap.less";
|
||||
@import "root-view.less";
|
||||
@import "overlay.less";
|
||||
@import "popover-list.less";
|
||||
|
||||
64
static/customized-bootstrap.less
Normal file
64
static/customized-bootstrap.less
Normal file
@@ -0,0 +1,64 @@
|
||||
/*!
|
||||
* Bootstrap v3.0.0
|
||||
*
|
||||
* Copyright 2013 Twitter, Inc
|
||||
* Licensed under the Apache License v2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Designed and built with all the love in the world by @mdo and @fat.
|
||||
*/
|
||||
|
||||
// Core variables and mixins
|
||||
@import "bootstrap/less/variables.less";
|
||||
@import "bootstrap/less/mixins.less";
|
||||
|
||||
// Reset
|
||||
@import "bootstrap/less/normalize.less";
|
||||
// @import "print.less";
|
||||
|
||||
// Core CSS
|
||||
@import "bootstrap/less/scaffolding.less";
|
||||
@import "bootstrap/less/type.less";
|
||||
// @import "code.less";
|
||||
//@import "grid.less";
|
||||
|
||||
//@import "tables.less";
|
||||
//@import "forms.less";
|
||||
//@import "buttons.less";
|
||||
|
||||
// Components: common
|
||||
// @import "component-animations.less";
|
||||
// @import "glyphicons.less";
|
||||
// @import "dropdowns.less";
|
||||
// @import "list-group.less";
|
||||
// @import "panels.less";
|
||||
// @import "wells.less";
|
||||
// @import "close.less";
|
||||
|
||||
// Components: Nav
|
||||
// @import "navs.less";
|
||||
// @import "navbar.less";
|
||||
// @import "button-groups.less";
|
||||
// @import "breadcrumbs.less";
|
||||
// @import "pagination.less";
|
||||
// @import "pager.less";
|
||||
|
||||
// Components: Popovers
|
||||
// @import "modals.less";
|
||||
// @import "tooltip.less";
|
||||
// @import "popovers.less";
|
||||
|
||||
// Components: Misc
|
||||
// @import "alerts.less";
|
||||
// @import "thumbnails.less";
|
||||
// @import "media.less";
|
||||
// @import "labels.less";
|
||||
// @import "badges.less";
|
||||
// @import "progress-bars.less";
|
||||
// @import "accordion.less";
|
||||
// @import "carousel.less";
|
||||
// @import "jumbotron.less";
|
||||
|
||||
// Utility classes
|
||||
@import "utilities.less"; // Has to be last to override when necessary
|
||||
@import "responsive-utilities.less";
|
||||
@@ -1,68 +0,0 @@
|
||||
/* --------------------------------------------------------------
|
||||
|
||||
reset.css
|
||||
* Resets default browser CSS.
|
||||
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
html {
|
||||
margin:0;
|
||||
padding:0;
|
||||
border:0;
|
||||
}
|
||||
|
||||
body, div, span, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, code,
|
||||
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td,
|
||||
article, aside, dialog, figure, footer, header,
|
||||
hgroup, nav, section {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
li {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
/* This helps to make newer HTML5 elements behave like DIVs in older browers */
|
||||
article, aside, details, figcaption, figure, dialog,
|
||||
footer, header, hgroup, menu, nav, section {
|
||||
display:block;
|
||||
}
|
||||
|
||||
/* Line-height should always be unitless! */
|
||||
body {
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
/* Tables still need 'cellspacing="0"' in the markup. */
|
||||
table {
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
}
|
||||
/* float:none prevents the span-x classes from breaking table-cell display */
|
||||
caption, th, td {
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
float:none !important;
|
||||
}
|
||||
table, th, td {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* Remove possible quote marks (") from <q>, <blockquote>. */
|
||||
blockquote:before, blockquote:after, q:before, q:after { content: ''; }
|
||||
blockquote, q { quotes: "" ""; }
|
||||
|
||||
/* Remove annoying border on linked images. */
|
||||
a img { border: none; }
|
||||
|
||||
/* Remember to define your own focus styles! */
|
||||
:focus { outline: 0; }
|
||||
Reference in New Issue
Block a user