jisuanke / jisuanke-ui Goto Github PK
View Code? Open in Web Editor NEWThis project forked from bootflat/bootflat.github.io
计蒜客UI是在Bootflat上定制的用于计蒜客网站的组件及视觉标准。
License: MIT License
This project forked from bootflat/bootflat.github.io
计蒜客UI是在Bootflat上定制的用于计蒜客网站的组件及视觉标准。
License: MIT License
这套里面定制了日期选择器的标准样式,但是没有对应的日期脚本,需要结合timepicker进来。
由于别的repo,比如 jisuanke2 都在用gulp,只有这里还有一个 grunt,先逐步把 grunt 替换成 gulp 吧。
之前已经写了几个 task。可以保留下 grunt 做备用
TODO。
codemirror 定义了 monospace,
在没能做到自定义 codemirror,同时用 bower 管理的情况下,让 bs.min.css 的字体能正常显示,需要增加 !important
目前的办法是在 bs.css 里增加之后再 minify
是不是 fontawesome 那里改了之后的问题?
分别在
_typography.scss
(并没有什么ruan用,没有编译成 site.min.css)
以及
jisuanke-UI/css/bootstrap.min.css
此处不应该指定字体,因为 min.css 难以删改
site.css
也出现了字体。
gruntfile 中:
dist: {
files: {
'css/site.min.css': [
'css/bootstrap.min.css',
'<%= meta.defaultPath %>/css/<%= pkg.name %>.css',
'css/site.css',
'css/jsTreeStyle.min.css'
],
'<%= meta.defaultPath %>/css/<%= pkg.name %>.min.css': '<%= meta.defaultPath %>/css/<%= pkg.name %>.css'
}
}
所以 bootstrap.min.css 中不应该保留字体,否则会影响别的地方的字体设置。
切 bootstrap.min.css 中的字体只能影响 body,会造成有地方没有指定中文字体,如下图:
@darkgray-dark
将这一部分色值为 #96A0AD
的外边框的颜色改为 @darkgray-dark
将这一部分色值为 #96A0AD
的外边框的颜色改为 @darkgray-dark
将这一部分色值为 #607D8B
的底色颜色改为 @darkgray-dark
将这一部分色值为 #BBBBBB
的外边框的颜色改为 @darkgray-dark
Glyphicons相对来说有点不够用……咱们用fontawesome替换一下。
icons: {
time: 'fa fa-clock-o',
date: 'fa fa-calendar',
up: 'fa fa-angle-up',
down: 'fa fa-angle-down',
previous: 'fa fa-angle-left',
next: 'fa fa-angle-right',
today: 'fa fa-crosshairs',
clear: 'fa fa-trash-o',
close: 'fa fa-times'
},
sudo npm install
grunt
之后再跑一次,会在 img/compressed 文件夹里看到新的 compressed/compressed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.