-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.scss
executable file
·105 lines (88 loc) · 2.29 KB
/
style.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
// reduce paddings
.nav-tabs > li > a {
padding: 2px 16px;
}
.xtable > .xtbody > .xtr > .xtd {
padding: 0.25rem 0.75rem;
}
// show only icons on the toolbars unless the mouse cursor is hovered on them
.mainpage-header {
height: 32px !important;
transition: height 250ms ease 500ms;
.menubar {
height: 100%;
}
}
.mainpage-header .btn {
.button-text {
opacity: 0;
transition: opacity 250ms ease;
position: absolute;
top: 32px;
z-index: 1;
background-color: $brand-bg;
border: $border-width solid $border-color;
padding: 8px;
font-size: 1em;
pointer-events: none;
}
&:hover .button-text {
opacity: 1;
transition: opacity 250ms ease 100ms;
}
}
// if the sidebar is collapsed, show the tab name when hovering
// (this conflicts a bit with the tooltip which we can't disable from css)
#main-nav-sidebar.sidebar-compact #main-nav-container {
overflow: visible;
z-index: 3;
}
.sidebar-compact .nav-pills > li > a {
overflow: visible;
}
.sidebar-compact .main-nav-group > li:hover a::after {
content: attr(title);
background-color: $brand-bg;
margin-left: 8px;
padding: 8px 8px;
border: $border-width solid $border-color;
position: absolute;
top: 0;
bottom: 0;
left: 100%;
display: flex;
align-items: center;
}
// category names can be very long and force a line break.
// instead, limit the width and display ellipsis as necessary
.xtd.table-mods.cell-category {
white-space: nowrap;
max-width: 20em;
overflow-x: hidden;
text-overflow: ellipsis;
}
.toolbar-app-region .container-quicklaunch .tool-icon-container {
width: 200px;
height: 52px;
}
.container-quicklaunch .tool-icon-container {
height: 52px;
}
#main-toolbar.toolbar-app-region {
height: unset;
}
#main-toolbar.toolbar-app-region .main-toolbar-right {
margin-bottom: auto;
margin-right: 146px;
border-right: $border-width solid $border-color;
}
#main-toolbar .nexus-main-banner div {
font-size: xx-small;
}
#main-toolbar .nexus-main-banner div:first-child {
font-size: 1.4em;
margin-bottom: 0;
}
#main-toolbar .nexus-main-banner .right-center {
font-size: inherit;
}