File: custom.less

package info (click to toggle)
ckeditor 4.16.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 258,804 kB
  • sloc: javascript: 239,590; sh: 184; makefile: 64; python: 37; php: 15; xml: 5
file content (172 lines) | stat: -rw-r--r-- 2,490 bytes parent folder | download | duplicates (7)
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
@global-link-font-color:#0287D0;

main .grid-container,
header .grid-container,
.navigation-a > div,
footer > div {
	max-width: 1044px + 2 * @grid-gutter-width;
}

main .grid-container.freed-width {
	max-width: none;
}

.switch {
	background: darken( @global-link-font-color, 3% );
	float: right;
	overflow: visible;

	// Switch balloon tooltip.
	.balloon-a {
		// Custom position relative to the switch.
		position: absolute;
		top: -40px;
		right: 50%;
		margin-right: -15px;

		// Customize balloon colors.
		background: #FFEFC1;
		border-bottom-color: #DCDCA4;

		&:before {
			border-color: #FFEFC1 transparent transparent transparent;
		}
	}
}

#toolbar .editors-container {
	overflow: hidden;
	height: 0;
	transition: height 200ms;

	&.active {
		height: auto;
	}
}

// Style the inline editor which is enabled when wysiwygarea is not available.
#main #editor {
	background: #FFF;
	padding: @grid-gutter-width / 2 @grid-gutter-width;
	border: dashed 5px @global-link-font-color;
}

#main .adjoined-top:before {
	height: 335px;
}

#toolbar .adjoined-top {
	&:before {
		height: 219px;
	}

	.grid-container-nested {
		height: 147px;
	}
}

.content {
	.grid-switch-magic {
		margin: 3.5em 0 0;
	}
}

#info-box {
	padding-bottom: 0;

	> div {
		width: 100%;
		text-align: right;

		.toggler {
			padding-right: 0;

			&:hover {
				background: transparent;
				color: #000;

				> label {
					text-decoration: underline;
				}
			}
		}

		h2 {
			float: left;
			margin-top: 0;
		}

		&#instructions-container {
			text-align: left;
		}
	}
}

#toolbarModifierWrapper {
	overflow: hidden;
	height: 0;
	opacity: 0;
	transition: height 200ms;

	&.active {
		height: auto;
		opacity: 1;
	}
}

// Styles that allow .balloon-a to be absolutely positioned.
header {
	overflow: visible;

	div.grid-container {
		overflow: visible;
	}

	.navigation-b {
		overflow: visible;

		ul {
			overflow: visible;
		}

		a {
			// Tip is relative to the anchor.
			position: relative;
		}
	}

	.balloon-a {
		position: absolute;
		top: 48px;

		left: 50%;
		margin-left: -35px;

		// Switch the balloon arrow and position on narrow screen
		// to make it fully visible.
		.global-is-max-width( 1140px, {
			left: auto;
			margin-left: auto;

			right: 50%;
			margin-right: -35px;

			&:before {
				left: auto;
				right: 22px;
			}
		} );

		// Don't display the balloon on mobile.
		.global-is-mobile( {
			display: none;
		} );
	}

	.header-a-logo {
		img {
			width: 160px;
			height: 60px;
		}
	}
}