File tree Expand file tree Collapse file tree 4 files changed +37
-31
lines changed
packages/docs/.vuepress/theme-coreui/src/client Expand file tree Collapse file tree 4 files changed +37
-31
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
- <CSidebar position =" fixed" size =" lg" class =" docs-sidebar elevation-0 border-end ps -xl-4" >
2
+ <CSidebar position =" fixed" size =" lg" class =" docs-sidebar border-end px -xl-4 elevation-0 " >
3
3
<CSidebarBrand class =" justify-content-start ps-3" >
4
4
<svg
5
5
xmlns =" http://www.w3.org/2000/svg"
17
17
</g >
18
18
</svg >
19
19
</CSidebarBrand >
20
- <div class =" text-body-secondary ms-3 me-5 mb-2 small fw-semibold" >Framework:</div >
21
- <CDropdown class =" ms-3 me-5 mb-4" >
20
+ <div class =" text-body-secondary mx-3 mb-2 small fw-semibold" >Framework:</div >
21
+ <CDropdown class =" mx-3 mb-4" >
22
22
<CDropdownToggle color =" primary" variant =" outline" > Vue.js </CDropdownToggle >
23
23
<CDropdownMenu class =" w-100" >
24
24
<CDropdownItem href =" https://coreui.io/angular/docs/4.0/" target =" _blank" >
Original file line number Diff line number Diff line change 109
109
.pagination {
110
110
margin-bottom : 0 ;
111
111
}
112
+
113
+ // Spinners
114
+ > .spinner-grow + .spinner-border ,
115
+ > .spinner-border + .spinner-grow ,
116
+ > .spinner-border + .spinner-border ,
117
+ > .spinner-grow + .spinner-grow {
118
+ margin-left : .25rem ;
119
+ }
112
120
}
113
121
114
122
//
347
355
// Code snippets
348
356
//
349
357
350
- div [class ^= " language-" ],
351
358
.highlight {
352
359
position : relative ;
353
360
padding : .75rem ($cd-gutter-x * .5 );
@@ -381,14 +388,13 @@ div[class^="language-"],
381
388
.docs-code-snippet {
382
389
margin : 0 ($cd-gutter-x * -.5 ) $spacer ;
383
390
384
- div [class ^= " language-" ],
385
391
.highlight {
386
392
margin-bottom : 0 ;
387
393
}
388
394
389
- .docs-example ~ div [class ^= " language-" ],
390
395
.docs-example ~ .highlight {
391
- border : 0 ;
396
+ border : solid var (--cui-border-color );
397
+ border-width : 1px 0 0 ;
392
398
@include border-top-radius (0 );
393
399
}
394
400
@@ -414,11 +420,6 @@ div[class^="language-"],
414
420
}
415
421
}
416
422
417
- .docs-example {
418
- border-bottom-width : 0 ;
419
- }
420
-
421
- .docs-example + div [class ^= " language-" ],
422
423
.docs-example + .highlight {
423
424
border-top-width : 0 ;
424
425
@include border-top-radius (0 );
Original file line number Diff line number Diff line change 2
2
--cui-sidebar-bg : var (--cui-tertiary-bg );
3
3
--cui-sidebar-brand-bg : transparent ;
4
4
--cui-sidebar-brand-color : var (--cui-body-color );
5
- --cui-sidebar-nav-link-color : var (--cui-body-color );
6
- --cui-sidebar-nav-link-active-bg : transparent ;
7
- --cui-sidebar-nav-link-active-color : var (--cui-primary );
8
- --cui-sidebar-nav-link-hover-bg : transparent ;
9
- --cui-sidebar-nav-link-hover-color : var (--cui-primary );
10
- --cui-sidebar-nav-group-bg : transparent ;
11
- --cui-sidebar-nav-group-toggle-show-color : var (--cui-primary );
12
5
13
- .nav-group-items {
6
+ .sidebar-nav {
14
7
--cui-sidebar-nav-link-color : var (--cui-body-color );
8
+ --cui-sidebar-nav-link-active-bg : transparent ;
9
+ --cui-sidebar-nav-link-active-color : var (--cui-primary );
10
+ --cui-sidebar-nav-link-hover-bg : transparent ;
11
+ --cui-sidebar-nav-link-hover-color : var (--cui-primary );
12
+ --cui-sidebar-nav-link-icon-margin : 1rem ;
13
+ --cui-sidebar-nav-group-bg : transparent ;
14
+ --cui-sidebar-nav-group-toggle-show-color : var (--cui-primary );
15
+
16
+ .compact .nav-link {
17
+ --cui-sidebar-nav-link-padding-y : .375rem ;
18
+ }
19
+
20
+ .nav-group-items {
21
+ --cui-sidebar-nav-link-color : var (--cui-body-color );
22
+ }
23
+ }
24
+ }
25
+
26
+ @if $enable-dark-mode {
27
+ @include color-mode (dark ) {
28
+ .docs-sidebar {
29
+ --cui-sidebar-bg : var (--cui-body-bg );
30
+ }
15
31
}
16
32
}
Original file line number Diff line number Diff line change 1
- // responsive breakpoints
2
- $MQNarrow : 959px !default ;
3
- $MQMobile : 719px !default ;
4
- $MQMobileNarrow : 419px !default ;
5
-
6
- // code languages
7
- $codeLang : ' c' ' cpp' ' cs' ' css' ' dart' ' docker' ' fs' ' go' ' html' ' java' ' js'
8
- ' json' ' kt' ' less' ' makefile' ' md' ' php' ' py' ' rb' ' rs' ' sass' ' scss' ' sh'
9
- ' styl' ' ts' ' toml' ' vue' ' yml' !default ;
10
-
11
-
12
1
// stylelint-disable scss/dollar-variable-default
13
2
14
3
// Local docs variables
You can’t perform that action at this time.
0 commit comments