Skip to content
This repository
Browse code

Removed style.css content and bumped version

*	Removed content because it this file is not loaded via
bootstrapwp_css_loader()
*	Added note to add custom updates to the less/bswp-custom.less file to
safely retain the ability to update the less files with future versions
of Bootstrap or BootstrapWP
*	Bumped version to .87
  • Loading branch information...
commit 18f947d71b5716db0bf82fd92534fe88c394dc23 1 parent a4aadc2
Rachel Baker authored

Showing 2 changed files with 20 additions and 199 deletions. Show diff stats Hide diff stats

  1. +12 0 README.md
  2. +8 199 style.css
12 README.md
Source Rendered
@@ -27,6 +27,13 @@ __Functions.php__
27 27 * Edited bootstrapwp_js_loader() to remove prettify.js script
28 28 * Added new Bootstrap_Walker_Nav_Menu class to assign "dropdown-menu" class to navigation sub-menus
29 29
  30 +__Style.css__
  31 +
  32 +* Removed content because it this file is not loaded via bootstrapwp_css_loader()
  33 +* Added note to add custom updates to the less/bswp-custom.less file to safely retain the ability to update the less files with future versions of Bootstrap or BootstrapWP
  34 +* Bumped version to .87
  35 +
  36 +
30 37 __JS Folder__
31 38
32 39 * Removed the individual .js files and replaced with single compiled `boostrap.js` file
@@ -35,6 +42,11 @@ __CSS Folder__
35 42
36 43 * Removed folder entirely because main style file is compiled less file located at `less/bootstrapwp.css`
37 44
  45 +__LESS Folder__
  46 +
  47 +* Updated LESS files from Twitter Bootstrap 2.04 branch
  48 +* Added bswp-docs.less file to pull in styles to allow doc pages to format correctly
  49 +* Added note to use bswp-custom.less file for any custom additions to allow for easy updating of styles.
38 50
39 51
40 52
207 style.css
... ... @@ -1,9 +1,9 @@
1 1 /*
2   -Theme Name: Bootstrap for WordPress
3   -Theme URI: http://www.rachelbaker.me
  2 +Theme Name: BootstrapWP
  3 +Theme URI: http://bootstrapwp.rachelbaker.me
4 4 Author: Rachel Baker
5 5 Author URI: http://www.rachelbaker.me
6   -Description: A semantic HTML base theme for WordPress ported from Twitter Bootstrap
  6 +Description: A semantic HTML/CSS framework base theme for WordPress Developers ported from Twitter Bootstrap
7 7 Version: .87
8 8 =======
9 9 License: GNU General Public License
@@ -14,202 +14,11 @@ Use it to make something cool, have fun, and share what you've learned with othe
14 14 */
15 15
16 16 /********************************************************
17   -Overriding some defaults from the Bootstrap defaults to improve/fix integration with WordPress
18   --------------------------------------------------- */
19   -body {
20   - padding-top: 0;
21   -}
22   -
23   -@media (max-width: 979px) {
24   - body {
25   - padding-top: 0;
26   - }
27   -}
28   -
29   -/* Changing the navbar from 'fixed' to 'relative' to accomodate the WP-admin bar
30   -----------------------------------------------------------------------------------------*/
31   -.navbar-relative {
32   - position: relative;
33   - width: 100%;
34   - right: 0;
35   - left: 0;
36   - z-index: 10000;
37   -}
38   -
39   -.dropdown {
40   - position: relative;
41   -}
42   -
43   -/* Swapping out styles: replacing 'active' with 'current-menu-item'
44   -----------------------------------------------------------------------------------------*/
45   -
46   -.navbar .nav .current-menu-item > a {
47   - color: white;
48   - text-decoration: none;
49   - background-color: #222;
50   - background-color: rgba(0, 0, 0, 0.5);
51   -}
52   -
53   -/* Swapping out styles: replacing '.dropdown-menu' with 'sub-menu'
54   -----------------------------------------------------------------------------------------*/
55   -/*.navbar .sub-menu {
56   - top: 41px;
57   - -webkit-border-radius: 4px;
58   - -moz-border-radius: 4px;
59   - border-radius: 4px;
60   -}*/
61   -
62   -ul.sub-menu {
63   - position: absolute;
64   - top: 100%;
65   - left: 0;
66   - z-index: 1000;
67   - float: left;
68   - display: none;
69   - min-width: 160px;
70   - padding: 4px 0;
71   - margin: 1px 0 0;
72   - list-style: none;
73   - background-color: #ffffff;
74   - border: 1px solid #ccc;
75   - border: 1px solid rgba(0, 0, 0, 0.2);
76   - -webkit-border-radius: 5px;
77   - -moz-border-radius: 5px;
78   - border-radius: 5px;
79   - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
80   - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
81   - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
82   - -webkit-background-clip: padding-box;
83   - -moz-background-clip: padding;
84   - background-clip: padding-box;
85   - *border-right-width: 2px;
86   - *border-bottom-width: 2px;
87   -}
88 17
89   -.navbar li.open ul.sub-menu {
90   - display: block;
91   -}
92   -.dropdown.open .dropdown-toggle {
93   - color: #ffffff;
94   - background: #ccc;
95   - background: rgba(0, 0, 0, 0.3);
96   -}
  18 +Comfortable with LESS? Check out the /less folder where the bootstrapwp.less file is the master complier
97 19
  20 +//////// IMPORTANT! Make custom edits/changes in the less/bswp-custom.less file
  21 +//////// to safely retain the ability to update the less files with future
  22 +//////// versions of Bootstrap or BootstrapWP
98 23
99   -
100   -.sub-menu a {
101   - display: block;
102   - padding: 3px 15px;
103   - clear: both;
104   - font-weight: normal;
105   - line-height: 18px;
106   - color: #333333;
107   - white-space: nowrap;
108   -}
109   -
110   -.sub-menu .divider {
111   - height: 1px;
112   - margin: 8px 1px;
113   - overflow: hidden;
114   - background-color: #e5e5e5;
115   - border-bottom: 1px solid #ffffff;
116   - *width: 100%;
117   - *margin: -5px 0 5px;
118   -}
119   -
120   -.sub-menu li > a:hover, .sub-menu .active > a, .sub-menu .active > a:hover {
121   - color: #fff;
122   - text-decoration: none;
123   - background-color: #0088cc;
124   -}
125   -.navbar .sub-menu li {
126   - list-style: none;
127   -}
128   -
129   -.navbar ..sub-menu:before {
130   - content: '';
131   - display: inline-block;
132   - border-left: 7px solid transparent;
133   - border-right: 7px solid transparent;
134   - border-bottom: 7px solid #ccc;
135   - border-bottom-color: rgba(0, 0, 0, 0.2);
136   - position: absolute;
137   - top: -7px;
138   - left: 9px;
139   -}
140   -.navbar .sub-menu:after {
141   - content: '';
142   - display: inline-block;
143   - border-left: 6px solid transparent;
144   - border-right: 6px solid transparent;
145   - border-bottom: 6px solid #ffffff;
146   - position: absolute;
147   - top: -6px;
148   - left: 10px;
149   -}
150   -.navbar .nav .dropdown-toggle .caret, .navbar .nav .open.dropdown .caret {
151   - border-top-color: #fff;
152   -}
153   -.navbar .nav .open > .dropdown-toggle, .navbar .nav .active > .dropdown-toggle, .navbar .nav .open.active > .dropdown-toggle {
154   - background-color: transparent;
155   -}
156   -.navbar .nav .active > .dropdown-toggle:hover {
157   - color: #fff;
158   -}
159   -.navbar .nav.pull-right .sub-menu {
160   - right: 0;
161   -}
162   -.navbar .nav.pull-right .sub-menu:before {
163   - left: auto;
164   - right: 12px;
165   -}
166   -.navbar .nav.pull-right .sub-menu:after {
167   - left: auto;
168   - right: 13px;
169   -}
170   -.navbar .nav.pull-right .sub-menu,
171   -.navbar .nav .sub-menu.pull-right {
172   - left: auto;
173   - right: 0;
174   -}
175   -.navbar .nav.pull-right .sub-menu:before,
176   -.navbar .nav .sub-menu.pull-right:before {
177   - left: auto;
178   - right: 12px;
179   -}
180   -.navbar .nav.pull-right .sub-menu:after,
181   -.navbar .nav .sub-menu.pull-right:after {
182   - left: auto;
183   - right: 13px;
184   -}
185   -
186   -/* Image Styles
187   -----------------------------------------------------------------------------------------*/
188   -
189   -[class^="icon-"] {
190   - display: inline-block;
191   - width: 14px;
192   - height: 14px;
193   - vertical-align: text-top;
194   - background-image: url(img/glyphicons-halflings.png);
195   - background-repeat: no-repeat;
196   - *margin-right: .3em;
197   -}
198   -.icon-white {
199   - background-image: url(img/glyphicons-halflings-white.png);
200   -}
201   -.alignleft {
202   - display: inline;
203   - float: left;
204   -}
205   -.alignright {
206   - display: inline;
207   - float: right;
208   -}
209   -.aligncenter {
210   - clear: both;
211   - display: block;
212   - margin-left: auto;
213   - margin-right: auto;
214   -}
215   -
  24 +-------------------------------------------------- */

0 comments on commit 18f947d

Please sign in to comment.
Something went wrong with that request. Please try again.