mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 11:33:41 +03:00
in-between tree commits
This commit is contained in:
parent
2a95c443ed
commit
ac0ee5f3f0
32
web/lib/css/bootstrap.css
vendored
32
web/lib/css/bootstrap.css
vendored
@ -6064,20 +6064,20 @@ textarea:focus {
|
||||
}
|
||||
}
|
||||
|
||||
.body {
|
||||
padding-left: 1.875rem;
|
||||
.red {
|
||||
color: #ff0808;
|
||||
}
|
||||
|
||||
@media (max-width: 543px) {
|
||||
.body {
|
||||
padding-left: .9375rem;
|
||||
}
|
||||
.green {
|
||||
color: #61e000;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.body {
|
||||
margin-top: 4rem;
|
||||
}
|
||||
.yellow {
|
||||
color: #fff900;
|
||||
}
|
||||
|
||||
.blue {
|
||||
color: #0500f0;
|
||||
}
|
||||
|
||||
.action {
|
||||
@ -6121,24 +6121,12 @@ h2.advice {
|
||||
color: #b1b7bd;
|
||||
}
|
||||
|
||||
p.ship {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
input#ship {
|
||||
width: 66.7%;
|
||||
}
|
||||
|
||||
.sig,
|
||||
#ship,
|
||||
#pass {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.sig {
|
||||
margin-right: .3rem;
|
||||
}
|
||||
|
||||
#pass {
|
||||
width: 100%;
|
||||
}
|
||||
|
@ -1,3 +1,7 @@
|
||||
---
|
||||
comments: true
|
||||
---
|
||||
|
||||
# Static
|
||||
|
||||
You can put static files in here to serve them to the web. Actually, you can put static files anywhere in `/web` and see them in a browser.
|
||||
|
@ -145,9 +145,7 @@ Nav = React.createFactory(query({
|
||||
return dt = this.ts - Number(Date.now());
|
||||
},
|
||||
_home: function() {
|
||||
if (document.location.pathname !== "/") {
|
||||
return document.location = "/";
|
||||
}
|
||||
return this.props.goTo("/");
|
||||
},
|
||||
toggleFocus: function(state) {
|
||||
return $(ReactDOM.findDOMNode(this)).toggleClass('focus', state);
|
||||
@ -324,6 +322,7 @@ module.exports = query({
|
||||
curr: this.props.name,
|
||||
dataPath: this.props.sein,
|
||||
sein: this.props.sein,
|
||||
goTo: this.goTo,
|
||||
key: "nav"
|
||||
}, "div")
|
||||
];
|
||||
@ -598,8 +597,7 @@ module.exports = query({
|
||||
}, recl({
|
||||
displayName: "Body",
|
||||
render: function() {
|
||||
var className, extra, ref1;
|
||||
className = clas((ref1 = this.props.meta.layout) != null ? ref1.split(',') : void 0);
|
||||
var bodyClas, containerClas, extra, ref1;
|
||||
extra = (function(_this) {
|
||||
return function(name, props) {
|
||||
if (props == null) {
|
||||
@ -610,12 +608,18 @@ module.exports = query({
|
||||
}
|
||||
};
|
||||
})(this);
|
||||
containerClas = {
|
||||
"col-md-10": true,
|
||||
"col-md-offset-2": this.props.meta.anchor !== 'none',
|
||||
body: true
|
||||
};
|
||||
bodyClas = clas((ref1 = this.props.meta.layout) != null ? ref1.split(',') : void 0);
|
||||
return div({
|
||||
className: "col-md-10 col-md-offset-2 body"
|
||||
className: containerClas
|
||||
}, [
|
||||
div({
|
||||
key: "body" + this.props.path,
|
||||
className: className
|
||||
bodyClas: bodyClas
|
||||
}, extra('spam'), extra('logo', {
|
||||
color: this.props.meta.logo
|
||||
}), reactify(this.props.body), extra('next', {
|
||||
@ -690,7 +694,6 @@ module.exports = React.createFactory(recl({
|
||||
displayName: "Dpad",
|
||||
renderUp: function() {
|
||||
if (this.props.sein) {
|
||||
console.log(util.basepath(this.props.sein));
|
||||
return this.renderArrow("up", this.props.sein);
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user