mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-22 07:59:22 +03:00
tree@4596393
This commit is contained in:
parent
c5968a92a7
commit
9b5372af38
@ -98,20 +98,40 @@ div.logo.inverse:before {
|
||||
content: "\25D0"; }
|
||||
|
||||
@media (min-width: 544px) {
|
||||
#head {
|
||||
width: 576px; } }
|
||||
.ctrl {
|
||||
width: 114px; }
|
||||
.ctrl.open,
|
||||
.ctrl:hover {
|
||||
max-width: 258px;
|
||||
min-width: 114px;
|
||||
width: auto; } }
|
||||
|
||||
@media (min-width: 768px) {
|
||||
#head {
|
||||
width: 720px; } }
|
||||
.ctrl {
|
||||
width: 150px; }
|
||||
.ctrl.open,
|
||||
.ctrl:hover {
|
||||
max-width: 330px;
|
||||
min-width: 150px;
|
||||
width: auto; } }
|
||||
|
||||
@media (min-width: 992px) {
|
||||
#head {
|
||||
width: 940px; } }
|
||||
.ctrl {
|
||||
width: 205px; }
|
||||
.ctrl.open,
|
||||
.ctrl:hover {
|
||||
max-width: 440px;
|
||||
min-width: 205px;
|
||||
width: auto; } }
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
#head {
|
||||
width: 1140px; } }
|
||||
.ctrl {
|
||||
width: 255px; }
|
||||
.ctrl.open,
|
||||
.ctrl:hover {
|
||||
max-width: 540px;
|
||||
min-width: 255px;
|
||||
width: auto; } }
|
||||
|
||||
#head .loading {
|
||||
display: none; }
|
||||
@ -188,12 +208,6 @@ div.logo.inverse:before {
|
||||
border: 0;
|
||||
text-transform: none; }
|
||||
|
||||
.ctrl.open,
|
||||
.ctrl:hover {
|
||||
max-width: 33.33333%;
|
||||
min-width: 16.66667%;
|
||||
width: auto; }
|
||||
|
||||
.ctrl.navbar.open,
|
||||
.ctrl.navbar:hover {
|
||||
max-width: none;
|
||||
|
@ -1279,7 +1279,6 @@ Nav = React.createFactory(query({
|
||||
});
|
||||
navClas = {
|
||||
navbar: this.props.meta.navmode === 'navbar',
|
||||
'col-md-2': this.props.meta.navmode !== 'navbar',
|
||||
ctrl: true,
|
||||
open: this.state.open === true
|
||||
};
|
||||
@ -1346,7 +1345,7 @@ Nav = React.createFactory(query({
|
||||
},
|
||||
render: function() {
|
||||
return div({
|
||||
className: "col-md-2 ctrl",
|
||||
className: "ctrl",
|
||||
"data-path": this.props.dataPath,
|
||||
key: "nav-loading"
|
||||
}, div({
|
||||
|
Loading…
Reference in New Issue
Block a user