mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Use globalVars strategy to do v2-specific styling.
This commit is contained in:
parent
ed5f31b248
commit
3c3bb0a892
3 changed files with 4 additions and 3 deletions
|
@ -150,6 +150,8 @@ module.exports = (grunt) ->
|
|||
sourceMap: true
|
||||
sourceMapFilename: "public/stylesheets/style.css.map"
|
||||
sourceMapBasepath: "public/stylesheets"
|
||||
globalVars:
|
||||
'is-overleaf': false
|
||||
files:
|
||||
"public/stylesheets/style.css": "public/stylesheets/style.less"
|
||||
ol:
|
||||
|
@ -157,6 +159,8 @@ module.exports = (grunt) ->
|
|||
sourceMap: true
|
||||
sourceMapFilename: "public/stylesheets/ol-style.css.map"
|
||||
sourceMapBasepath: "public/stylesheets"
|
||||
globalVars:
|
||||
'is-overleaf': true
|
||||
files:
|
||||
"public/stylesheets/ol-style.css": "public/stylesheets/ol-style.less"
|
||||
|
||||
|
|
|
@ -799,7 +799,6 @@
|
|||
|
||||
|
||||
// Custom
|
||||
@is-overleaf : false;
|
||||
@header-height : 68px;
|
||||
@footer-height : 50px;
|
||||
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
@import "./_common-variables.less";
|
||||
|
||||
@is-overleaf: true;
|
||||
|
||||
@font-family-sans-serif: "Lato", sans-serif;
|
||||
|
||||
@header-height: 68px;
|
||||
|
|
Loading…
Reference in a new issue