mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 23:55:33 -05:00
Merge pull request #10497 from overleaf/jel-cms-new-style
[web] Add new CMS page style GitOrigin-RevId: 320e02dc2ccfd211396548d7b813bd4c675e6f84
This commit is contained in:
parent
33863b8d6c
commit
dc9b901508
5 changed files with 38 additions and 4 deletions
|
@ -8,12 +8,24 @@
|
|||
/*
|
||||
Links and Buttons
|
||||
*/
|
||||
&:not(.page-style) {
|
||||
a {
|
||||
color: @link-color-alt;
|
||||
&:hover {
|
||||
color: @link-hover-color-alt;
|
||||
}
|
||||
}
|
||||
// correct color property set on <a> above:
|
||||
.reset-btns;
|
||||
.alert {
|
||||
.alert;
|
||||
}
|
||||
.alert-info {
|
||||
.btn-info {
|
||||
.btn-alert-info;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// correct color property set on <a> above:
|
||||
.reset-btns;
|
||||
|
|
19
services/web/frontend/stylesheets/core/page-style.less
Normal file
19
services/web/frontend/stylesheets/core/page-style.less
Normal file
|
@ -0,0 +1,19 @@
|
|||
.page-style {
|
||||
background-color: @white;
|
||||
|
||||
a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
border-bottom: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: @blue-10;
|
||||
border-radius: 24px;
|
||||
}
|
||||
}
|
|
@ -29,6 +29,7 @@
|
|||
@ol-dark-red: #a6312b;
|
||||
|
||||
@blue: #405ebf;
|
||||
@blue-10: #f1f4f9;
|
||||
@blueDark: #040d2d;
|
||||
@green: #46a546;
|
||||
@red: #a93529;
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
@import (less) 'vendor/codemirror-show-hint.css';
|
||||
|
||||
// Core CSS
|
||||
@import 'core/page-style.less';
|
||||
@import 'core/scaffolding.less';
|
||||
@import 'core/type.less';
|
||||
@import 'core/grid.less';
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
// Core variables and mixins
|
||||
@import 'core/variables.less';
|
||||
@import 'core/css-variables.less';
|
||||
@import 'core/page-style.less';
|
||||
@import 'app/ol-style-guide.less';
|
||||
@import '_style_includes.less';
|
||||
@import '_ol_style_includes.less';
|
||||
|
|
Loading…
Reference in a new issue