Skip to content

Commit 27d0ea5

Browse files
committed
INT-904 remove octicon library
Replaced octicon search icon with fontawesome version
1 parent b247b00 commit 27d0ea5

File tree

5 files changed

+5
-12
lines changed

5 files changed

+5
-12
lines changed

package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,11 @@
3838
"jade",
3939
"keytar",
4040
"menu",
41-
"octicons",
4241
"mongodb-scope-server"
4342
]
4443
},
4544
"fonts": [
4645
"node_modules/font-awesome/fonts/fontawesome-webfont*",
47-
"node_modules/octicons/octicons/octicons.{eot,svg,ttf,woff}",
4846
"fonts/*"
4947
],
5048
"browserify": {
@@ -56,8 +54,7 @@
5654
"less": {
5755
"paths": [
5856
"node_modules/font-awesome/less",
59-
"node_modules/bootstrap/less",
60-
"node_modules/octicons/octicons"
57+
"node_modules/bootstrap/less"
6158
]
6259
},
6360
"scripts": {
@@ -124,18 +121,17 @@
124121
"mongodb-language-model": "^0.3.3",
125122
"mongodb-ns": "^1.0.1",
126123
"mongodb-schema": "^3.3.1",
124+
"mongodb-scope-client": "http://bin.mongodb.org/js/mongodb-scope-client/v0.6.0/mongodb-scope-client-0.6.0.tar.gz",
125+
"mongodb-scope-server": "http://bin.mongodb.org/js/mongodb-scope-server/v0.10.0/mongodb-scope-server-0.10.0.tar.gz",
127126
"mousetrap": "^1.5.3",
128127
"ms": "^0.7.1",
129128
"node-notifier": "^4.3.1",
130129
"numeral": "^1.5.3",
131-
"octicons": "https://github.com/github/octicons/archive/v3.1.0.tar.gz",
132130
"pluralize": "^1.2.1",
133131
"qs": "^5.2.0",
134132
"raf": "^3.1.0",
135133
"run-sequence": "^1.1.4",
136134
"run-series": "^1.1.4",
137-
"mongodb-scope-client": "http://bin.mongodb.org/js/mongodb-scope-client/v0.6.0/mongodb-scope-client-0.6.0.tar.gz",
138-
"mongodb-scope-server": "http://bin.mongodb.org/js/mongodb-scope-server/v0.10.0/mongodb-scope-server-0.10.0.tar.gz",
139135
"storage-mixin": "^0.5.0",
140136
"stream-combiner2": "^1.1.1",
141137
"uuid": "^2.0.1",

src/sidebar/filter.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.list-filter(data-hook='filter')
2-
i.search.octicon-search
2+
i.search.fa-search
33
input(type='search', data-hook='search')

src/sidebar/index.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
box-shadow: 0 2px 0 rgba(0,0,0,0.2);
2929

3030
i.search {
31-
.octicon;
31+
.fa-icon;
3232
position: absolute;
3333
margin-top: 9px;
3434
margin-left: 10px;

styles/index.less

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
// Dependencies
22
@import "font-awesome";
3-
@import "octicons";
43
@import "bootstrap";
54
@import (css) "node_modules/highlight.js/styles/github.css";
65

76
// Configuration
87
// @import "./variables.less";
9-
@octicons-font-path: "fonts";
108
@fa-font-path: "fonts";
119

1210
@sidebar-width: 220px;

styles/variables.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// @sidebar-border: @gray6; // @worldhack: was @gray7
66
// @sidebar-width: 220px;
77

8-
@octicons-font-path: "fonts";
98
//== Colors
109
//
1110
//## Gray and brand colors for use across Bootstrap.

0 commit comments

Comments
 (0)