Jonas Havelka
10 months ago
1 changed files with 19 additions and 16 deletions
@ -1,32 +1,35 @@ |
|||||
/* Rozlišení mezi lokálním, test a produkčním webem */ |
/* Rozlišení mezi lokálním, test a produkčním webem */ |
||||
|
|
||||
.localweb:before, .localweb:after { |
body.localweb:before, body.localweb:after, |
||||
|
body.testweb:before, body.testweb:after, |
||||
|
body.suprodweb:before, body.suprodweb:after { |
||||
content: ""; |
content: ""; |
||||
position: fixed; |
position: fixed; |
||||
width: 20px; |
width: 20px; |
||||
height: 100%; |
height: 100%; |
||||
|
top: 0; |
||||
|
} |
||||
|
|
||||
|
body.localweb:before, |
||||
|
body.testweb:before, |
||||
|
body.suprodweb:before { |
||||
left: 0; |
left: 0; |
||||
|
} |
||||
|
|
||||
|
body.localweb:after, |
||||
|
body.testweb:after, |
||||
|
body.suprodweb:after { |
||||
right: 0; |
right: 0; |
||||
|
} |
||||
|
|
||||
|
body.localweb:before, body.localweb:after { |
||||
background: greenyellow; |
background: greenyellow; |
||||
} |
} |
||||
|
|
||||
.testweb:before, .testweb:after { |
body.testweb:before, body.testweb:after { |
||||
content: ""; |
|
||||
position: fixed; |
|
||||
width: 20px; |
|
||||
height: 100%; |
|
||||
left: 0; |
|
||||
right: 0; |
|
||||
background: darkorange; |
background: darkorange; |
||||
} |
} |
||||
|
|
||||
/* Produkční web z pohledu superuživatele */ |
body.suprodweb:before, body.suprodweb:after { |
||||
.suprodweb:before, .suprodweb:after { |
|
||||
content: ""; |
|
||||
position: fixed; |
|
||||
width: 20px; |
|
||||
height: 100%; |
|
||||
left: 0; |
|
||||
right: 0; |
|
||||
background: red; |
background: red; |
||||
} |
} |
||||
|
Loading…
Reference in new issue