UNPKG

834 BSCSSView Raw
1:host {
2 flex: 1 0 auto;
3 min-width: 20rem;
4
5 nb-card {
6 margin: 0;
7 }
8 nb-card-header {
9 display: flex;
10 justify-content: space-between;
11 align-items: center;
12 overflow: hidden;
13 }
14 .title {
15 flex: 1 0 auto;
16 margin-right: 3rem;
17 overflow: hidden;
18 text-overflow: ellipsis;
19 white-space: nowrap;
20 }
21 .buttons {
22 width: 9.5rem;
23 display: flex;
24 justify-content: flex-end;
25
26 [nbButton] {
27 flex: 0 0 3rem;
28 }
29 }
30}
31
32:host(.full-screen) {
33 position: fixed;
34 top: 50%;
35 left: 50%;
36 transform: translate(-50%, -50%);
37}
38
39:host(.maximized) nb-card {
40 border-bottom-left-radius: 0;
41 border-bottom-right-radius: 0;
42}
43
44:host(.minimized) nb-card {
45 border-bottom-left-radius: 0;
46 border-bottom-right-radius: 0;
47 height: auto;
48
49 nb-card-header {
50 border-bottom: none;
51 }
52}