Skip to content

Commit c0b9b01

Browse files
committed
Create panes and frames css using sass
1 parent e2c25d1 commit c0b9b01

File tree

6 files changed

+1027
-0
lines changed

6 files changed

+1027
-0
lines changed
Lines changed: 343 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,343 @@
1+
= Couchbase Lite
2+
:page-status: beta
3+
:page-role: panes
4+
:sectanchors!:
5+
:sectids!:
6+
7+
== Features
8+
9+
* Colored cards or frames (borders) with an auto-sequence of colors based on Couchbases's secondary color scheme. Feature triggered by class prior to H2, with cards/frames generated at H3 level or optionaly from unordered list items (for simple layouts).
10+
* Default two-across
11+
* Option to specify 3-across or 4-across
12+
* Full-width banner option
13+
* Option to conceal the H2 heading if it is solely there to trigger the cards/frames ([.no-title])
14+
15+
16+
[.pane__cards]
17+
== By Default You Will Get a 2-across Display
18+
19+
=== H3 Card 1
20+
Card 1 content
21+
22+
=== H3 Card 2
23+
Card 2 content
24+
25+
26+
[.pane__cards.cols-3]
27+
== But there's an option to have 3-across ...
28+
This shows the cards 3-across, with the fourth (in this case) full-width.
29+
If there are more then they will wrap around in rows of three
30+
31+
=== Auto old ignorable text
32+
33+
Release 2.7 adds support for Java (Desktop and Web Server) applications.
34+
Read more: xref:java-platform.adoc[Java]
35+
36+
The release also contains bug fixes and enhancements.
37+
Find out more in the release notes:
38+
39+
=== Auto old ignorable text
40+
41+
Release 2.7 adds support for Java (Desktop and Web Server) applications.
42+
Read more: xref:java-platform.adoc[Java]
43+
44+
The release also contains bug fixes and enhancements.
45+
Find out more in the release notes:
46+
47+
=== Auto old ignorable text
48+
49+
Release 2.7 adds support for Java (Desktop and Web Server) applications.
50+
Read more: xref:java-platform.adoc[Java]
51+
52+
=== Auto old ignorable text
53+
54+
Release 2.7 adds support for Java (Desktop and Web Server) applications.
55+
Read more: xref:java-platform.adoc[Java]
56+
57+
[.pane__cards.cols-4]
58+
== And Even 4-across ...
59+
And yes of course you can also have four across. However, I think this is the practical limit for readable card content, so I stopped there.
60+
61+
=== Auto four ignorable text
62+
Release 2.7 adds support for Java (Desktop and Web Server) applications.
63+
Read more: xref:java-platform.adoc[Java]
64+
65+
The release also contains bug fixes and enhancements.
66+
Find out more in the release notes:
67+
68+
=== Auto old ignorable text
69+
70+
Release 2.7 adds support for Java (Desktop and Web Server) applications.
71+
Read more: xref:java-platform.adoc[Java]
72+
73+
The release also contains bug fixes and enhancements.
74+
Find out more in the release notes:
75+
76+
=== Auto old ignorable text
77+
78+
Release 2.7 adds support for Java (Desktop and Web Server) applications.
79+
Read more: xref:java-platform.adoc[Java]
80+
81+
=== Auto old ignorable text
82+
83+
Release 2.7 adds support for Java (Desktop and Web Server) applications.
84+
Read more: xref:java-platform.adoc[Java]
85+
86+
== Using panes frames in auto colors ...
87+
Frames are also an option they work in exactly the same way as panes.
88+
89+
[.pane__frames.cols-3.no-title]
90+
== {empty}
91+
92+
=== Auto old ignorable text
93+
94+
Release 2.7 adds support for Java (Desktop and Web Server) applications.
95+
Read more: xref:java-platform.adoc[Java]
96+
97+
The release also contains bug fixes and enhancements.
98+
Find out more in the release notes:
99+
100+
=== Auto old ignorable text
101+
102+
Release 2.7 adds support for Java (Desktop and Web Server) applications.
103+
Read more: xref:java-platform.adoc[Java]
104+
105+
The release also contains bug fixes and enhancements.
106+
Find out more in the release notes:
107+
108+
109+
=== Auto old ignorable text
110+
111+
Release 2.7 adds support for Java (Desktop and Web Server) applications.
112+
Read more: xref:java-platform.adoc[Java]
113+
114+
[.pane__frames.cols-4]
115+
== Using pane frames in auto colors ...
116+
117+
=== Auto four ignorable text
118+
119+
Release 2.7 adds support for Java (Desktop and Web Server) applications.
120+
Read more: xref:java-platform.adoc[Java]
121+
122+
The release also contains bug fixes and enhancements.
123+
Find out more in the release notes:
124+
125+
=== Auto old ignorable text
126+
127+
Release 2.7 adds support for Java (Desktop and Web Server) applications.
128+
Read more: xref:java-platform.adoc[Java]
129+
130+
The release also contains bug fixes and enhancements.
131+
Find out more in the release notes:
132+
133+
134+
=== Auto old ignorable text
135+
136+
Release 2.7 adds support for Java (Desktop and Web Server) applications.
137+
Read more: xref:java-platform.adoc[Java]
138+
139+
=== Auto old ignorable text
140+
141+
Release 2.7 adds support for Java (Desktop and Web Server) applications.
142+
Read more: xref:java-platform.adoc[Java]
143+
144+
145+
== Using panes with manually selected colors ...
146+
If you wish, you can also set the colours of the cards manually this has to be done on a per card basis.
147+
148+
[.pane__card.no-title.cols-3]
149+
== {empty}
150+
151+
[.pane__card--blue]
152+
=== Any old ignorable text
153+
154+
Release 2.7 adds support for Java (Desktop and Web Server) applications.
155+
Read more: xref:java-platform.adoc[Java]
156+
157+
The release also contains bug fixes and enhancements.
158+
Find out more in the release notes:
159+
160+
[.pane__card--green]
161+
=== Any old ignorable text
162+
163+
Release 2.7 adds support for Java (Desktop and Web Server) applications.
164+
Read more: xref:java-platform.adoc[Java]
165+
166+
The release also contains bug fixes and enhancements.
167+
Find out more in the release notes:
168+
169+
[.pane__frame--orange]
170+
=== Any old ignorable text
171+
172+
Release 2.7 adds support for Java (Desktop and Web Server) applications.
173+
Read more: xref:java-platform.adoc[Java]
174+
175+
The release also contains bug fixes and enhancements.
176+
Find out more in the release notes:
177+
178+
179+
== There is a banner option
180+
181+
[.banner.no-title]
182+
=== {empty}
183+
*SDK Reference API:* Java | Java (Android) | .Net | Swift | xref:objc.adoc#release-notes[objective-C]
184+
185+
[.pane__cards.cols-3]
186+
== Using Lists as Cards 3
187+
188+
.Jim
189+
* Pariatur pariatur velit veniam culpa ex laboris magna proident do. I
190+
* In cillum qui laboris
191+
** nostrud laboris dolor ad esse occaecat
192+
** laboris elit minim sint non.
193+
* Officia laboris nisi ipsum
194+
* est deserunt do excepteur sint anim proident
195+
* culpa laborum culpa
196+
* Labore sint veniam cillum consectetur nulla
197+
* In ex amet nostrud veniam.
198+
199+
.Joe
200+
* Aliqua veniam eiusmod sit occaecat magna cillum non tempor deserunt.
201+
** Elit nostrud magna consequat incididunt dolore nisi excepteur.
202+
** Pariatur ut consequat enim.
203+
204+
.Fred
205+
* Qui eiusmod quis pariatur aliqua Lorem esse proident sint tempor officia.
206+
* Enim Lorem ipsum deserunt amet ipsum adipisicing occaecat
207+
** aute exercitation ut.
208+
+
209+
Exercitation culpa consectetur minim ad magna eu eiusmod anim deserunt. Dolore ipsum est commodo minim. Ipsum sit aliqua ea pariatur deserunt Lorem fugiat ex sint. Quis sint laborum laborum est est ullamco irure esse ea aliqua nostrud qui.
210+
211+
[.pane__cards.cols-4]
212+
== Test Card Lists Four
213+
214+
.*Joey*
215+
* fred <<Test Lists>>
216+
** fred
217+
** fred <<Test Lists>>
218+
* fred
219+
* fred <<Test Lists>>
220+
* fred
221+
222+
.*Ross*
223+
* fred <<Test Lists>>
224+
* fred
225+
* fred <<Test Lists>>
226+
* fred
227+
* fred <<Test Lists>>
228+
* fred
229+
230+
.*Rachael*
231+
* fred <<Test Lists>>
232+
+
233+
--
234+
** one
235+
** two
236+
** tres
237+
--
238+
239+
.Phoebe
240+
* fred
241+
* fred <<Test Lists>>
242+
* fred
243+
* fred <<Test Lists>>
244+
* fred
245+
246+
[.pane__frames]
247+
== Using Lists as Frames 2xCol
248+
249+
.Frame 1
250+
* *Build a sample web app*
251+
252+
** Set up my Couchbase Lite SDK
253+
** Build a sample console app
254+
** Pariatur pariatur velit veniam culpa ex laboris magna proident do.
255+
256+
* In cillum qui laboris nostrud laboris dolor ad esse occaecat laboris elit minim sint non.
257+
* Officia laboris nisi ipsum est deserunt do excepteur sint anim proident culpa laborum culpa. Labore sint veniam cillum consectetur nulla.
258+
259+
.Frame 2
260+
* Set up my Couchbase Lite SDK
261+
* Build a sample console app
262+
** Pariatur pariatur velit veniam culpa ex laboris magna proident do.
263+
*** Pariatur pariatur velit veniam culpa
264+
*** Ex laboris magna proident do.
265+
*** Pariatur pariatur velit veniam culpa
266+
*** Ex laboris magna proident do.
267+
** In cillum qui laboris nostrud laboris dolor ad esse occaecat laboris elit minim sint non.
268+
* Officia laboris nisi ipsum est deserunt do excepteur sint anim proident culpa laborum culpa.
269+
Labore sint veniam cillum consectetur nulla.
270+
* In ex amet nostrud veniam.
271+
272+
[.pane__frames.cols-3]
273+
== list 3xcols
274+
275+
.Hi One
276+
* fred <<Test Lists>>
277+
* list-item in frame
278+
** list-item in frame
279+
** list-item in frame
280+
** list-item in frame
281+
* list-item in frame
282+
283+
.Hi Two
284+
* fred <<Test Lists>>
285+
* list-item in frame
286+
** list-item in frame
287+
** list-item in frame
288+
** list-item in frame
289+
* list-item in frame
290+
291+
[.pane__frame--purple]
292+
.Hi Three
293+
* fred
294+
* list-item in frame
295+
** list-item in frame
296+
** list-item in frame
297+
** list-item in frame
298+
+
299+
list-item in frame
300+
301+
[.pane__frames.cols-4]
302+
== list 4xcols
303+
304+
.Another Frame
305+
* fred <<Test Lists>>
306+
* fred
307+
* fred
308+
* fred
309+
310+
311+
.And another
312+
* fred
313+
* list-item in frame
314+
** list-item in frame
315+
316+
.Yes Another
317+
* list-item in frame
318+
* list-item in frame
319+
* list-item in frame
320+
321+
.Last One
322+
* fred
323+
* fred <<Test Lists>>
324+
* fred
325+
* fred
326+
327+
[.pane__frames]
328+
== list Unequal Frames
329+
330+
[.pane__frame--orange]
331+
.Long Frame
332+
* fred <<Test Lists>>
333+
* Veniam Lorem consequat est ipsum magna nulla qui veniam minim. Ipsum adipisicing enim nisi ex non exercitation laboris qui. Velit sunt ipsum commodo duis labore consectetur. Ex dolor sunt velit adipisicing.
334+
335+
** fred
336+
** fred
337+
338+
[.narrow]
339+
.Short Frame
340+
* fred
341+
* list-item in frame
342+
** list-item in frame
343+

0 commit comments

Comments
 (0)