Skip to content

Commit 3d96e53

Browse files
committed
Added styles for deprecated and internal functions.
1 parent 7e11660 commit 3d96e53

File tree

1 file changed

+33
-30
lines changed

1 file changed

+33
-30
lines changed

app/styles/partials/_wiki.scss

+33-30
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,6 @@
5050
text-decoration: underline;
5151
}
5252

53-
// override inline styles for internal function messages
54-
table {
55-
margin: 0 !important;
56-
width: 100% !important;
57-
max-width: $max-docs-width !important;
58-
59-
img {
60-
vertical-align: middle;
61-
}
62-
}
63-
6453
.argument {
6554
counter-increment: arguments;
6655
}
@@ -92,48 +81,62 @@
9281
border-radius: 3px;
9382
}
9483

95-
.validatepage {
84+
.validatepage,
85+
.stubpage,
86+
.nextupdate,
87+
.internalfunc,
88+
.deprecatedfunc,
89+
.markedfordeletion {
9690
width: 70%;
9791
margin: 10px 0;
98-
border-left: 10px solid #ee7700;
99-
background: #f8Dfcc;
92+
border-left: 10px solid #000;
10093
border-radius: 5px;
10194
padding: 20px;
10295
font-size: smaller;
10396

10497
span {
10598
font-weight: bold;
99+
color: #000;
100+
}
101+
}
102+
103+
.validatepage {
104+
border-left-color: #ee7700;
105+
background: #f8Dfcc;
106+
span {
106107
color: #B86600;
107108
}
108109
}
109110

110111
.stubpage {
111-
width: 70%;
112-
margin: 10px 0;
113-
border-left: 10px solid #ccc;
112+
border-left-color: #ccc;
114113
background: #f3f3f3;
115-
border-radius: 5px;
116-
padding: 20px;
117-
font-size: smaller;
118-
119114
span {
120-
font-weight: bold;
121115
color: #888;
122116
}
123117
}
124118

125119
.nextupdate {
126-
width: 70%;
127-
margin: 10px 0;
128-
border-left: 10px solid #5af;
120+
border-left-color: #5af;
129121
background: #f0f0f0;
130-
border-radius: 5px;
131-
padding: 20px;
132-
font-size: smaller;
133-
134122
span, span a {
135-
font-weight: bold;
136123
color: #07f;
137124
}
138125
}
126+
127+
.internalfunc {
128+
border-left-color: #ee0000;
129+
background: #ffdfdf;
130+
span {
131+
color: #c70000;
132+
}
133+
}
134+
135+
.deprecatedfunc {
136+
border-left-color: #eeee00;
137+
background: #f8f8cc;
138+
span {
139+
color: #B8B800;
140+
}
141+
}
139142
}

0 commit comments

Comments
 (0)