aboutsummaryrefslogtreecommitdiff
path: root/point/view
diff options
context:
space:
mode:
Diffstat (limited to 'point/view')
-rw-r--r--point/view/notes.css34
-rw-r--r--point/view/slides.css55
-rw-r--r--point/view/view.js31
3 files changed, 120 insertions, 0 deletions
diff --git a/point/view/notes.css b/point/view/notes.css
new file mode 100644
index 0000000..cb4daee
--- /dev/null
+++ b/point/view/notes.css
@@ -0,0 +1,34 @@
1/*
2 * This file is part of "What's The Point" <https://github.com/Pacien/WhatsThePoint>
3 * Copyright (C) 2014 Pacien TRAN-GIRARD
4 *
5 * "What's The Point" is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Affero General Public License as
7 * published by the Free Software Foundation, either version 3 of the
8 * License, or (at your option) any later version.
9 *
10 * "What's The Point" is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Affero General Public License for more details.
14 *
15 * You should have received a copy of the GNU Affero General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18@import url("slides.css");
19
20s-notes {
21 display: flex;
22}
23
24s-content {
25 display: none;
26}
27
28p-screen.slides s-notes {
29 display: none;
30}
31
32p-screen.slides s-content {
33 display: flex;
34}
diff --git a/point/view/slides.css b/point/view/slides.css
new file mode 100644
index 0000000..adbe4ac
--- /dev/null
+++ b/point/view/slides.css
@@ -0,0 +1,55 @@
1/*
2 * This file is part of "What's The Point" <https://github.com/Pacien/WhatsThePoint>
3 * Copyright (C) 2014 Pacien TRAN-GIRARD
4 *
5 * "What's The Point" is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Affero General Public License as
7 * published by the Free Software Foundation, either version 3 of the
8 * License, or (at your option) any later version.
9 *
10 * "What's The Point" is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Affero General Public License for more details.
14 *
15 * You should have received a copy of the GNU Affero General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19p-screen {
20 position: absolute;
21 width: 900px;
22 height: 600px;
23 margin: auto;
24 top: 0;
25 bottom: 0;
26 left: 0;
27 right: 0;
28}
29
30p-slide {
31 display: none;
32 flex-direction: column;
33 box-sizing: border-box;
34 width: 100%;
35 height: 100%;
36 background: white;
37}
38
39p-slide:target {
40 display: flex;
41}
42
43p-slide > * {
44 display: flex;
45 flex-direction: column;
46 justify-content: center;
47}
48
49s-content, s-notes {
50 height: 100%;
51}
52
53s-notes {
54 display: none;
55}
diff --git a/point/view/view.js b/point/view/view.js
new file mode 100644
index 0000000..e009af4
--- /dev/null
+++ b/point/view/view.js
@@ -0,0 +1,31 @@
1/*
2 * This file is part of "What's The Point" <https://github.com/Pacien/WhatsThePoint>
3 * Copyright (C) 2014 Pacien TRAN-GIRARD
4 *
5 * "What's The Point" is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Affero General Public License as
7 * published by the Free Software Foundation, either version 3 of the
8 * License, or (at your option) any later version.
9 *
10 * "What's The Point" is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Affero General Public License for more details.
14 *
15 * You should have received a copy of the GNU Affero General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19define(function () {
20
21 var view = {};
22
23 view.VIEW = {
24 DESK: "desk",
25 NOTES: "notes",
26 SLIDES: "slides",
27 };
28
29 return view;
30
31});