Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/frontend/_antd_fix.sass
1496 views
1
/*
2
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
3
* License: MS-RSL – see LICENSE.md for details
4
*/
5
6
// Here we revert some of the style changes that antd made.
7
8
// This is mainly meant to be temporary, so that we keep the
9
// overall global bootstrap style.
10
11
@use 'colors'
12
13
// make the color consistent with antd again, since bootstrap sets
14
// it to something else. We want this to be consistent with our nextjs
15
// landing pages.
16
a
17
color: colors.$COL_ANTD_LINK_BLUE
18
19
html
20
overflow: hidden
21
22
.ant-popover-content
23
.ant-popover-arrow
24
border-color: colors.$COL_GRAY_L !important
25
z-index: -1 !important
26
27
.ant-popover-inner-content>.cocalc-account-button-dropdown-links
28
margin: -12px -16px //Accomodate untouchable padding in inner-content just for .cocalc-account-button-dropdown-links
29
30
.ant-input-group > span.ant-input-group-addon
31
padding: 0
32
border: 0
33
34
35