Skip to content

Commit fb4d692

Browse files
authored
Merge pull request #94 from standardnotes/redesign
Redesign
2 parents 6d3ff3a + 770644e commit fb4d692

File tree

224 files changed

+5350
-4144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

224 files changed

+5350
-4144
lines changed

.env.sample

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,6 @@ NGINX_CONFIG_PATH=
3030
DOMAINS_FOLDER_PATH=
3131
CERTIFICATES_FOLDER_PATH=
3232

33-
# ImageMagick
34-
IMAGE_MAGICK_PATH=
33+
# hCaptcha
34+
HCAPTCHA_SECRET_KEY=
35+
HCAPTCHA_SITE_KEY=

.gitignore

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,7 @@
2121
/app/assets/templates/generated/
2222

2323
# Ignore bower components
24-
/vendor/assets/bower_components/
2524
/node_modules
26-
/vendor/assets/javascripts/app.js
27-
/vendor/assets/javascripts/compiled.js
28-
/vendor/assets/javascripts/transpiled.js
29-
/vendor/assets/javascripts/compiled.min.js
30-
/vendor/assets/javascripts/lib.js
31-
/vendor/assets/javascripts/templates.js
32-
33-
/vendor/assets/stylesheets/app.css
34-
/vendor/assets/stylesheets/app.css.map
35-
3625
/.sass-cache
3726

3827
# Ignore ENV variables config

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "vendor/simple-captcha"]
2-
path = vendor/simple-captcha
3-
url = [email protected]:mobitar/simple-captcha.git

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ USER listed
3737

3838
COPY --chown=$UID:$GID package.json yarn.lock Gemfile Gemfile.lock /listed/
3939

40-
COPY --chown=$UID:$GID vendor /listed/vendor
41-
4240
RUN yarn install --frozen-lockfile
4341

4442
RUN gem install bundler && bundle install

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ gem 'haml-rails'
1818
gem 'whenever'
1919
gem 'redcarpet'
2020
gem 'rack-cors', :require => 'rack/cors'
21-
gem 'simple_captcha2', :path => 'vendor/simple-captcha', require: 'simple_captcha'
2221
gem 'react_on_rails', '11.3'
2322
gem 'webpacker', '~> 4'
2423

Gemfile.lock

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
PATH
2-
remote: vendor/simple-captcha
3-
specs:
4-
simple_captcha2 (0.4.3)
5-
rails (>= 4.1)
6-
71
GEM
82
remote: https://rubygems.org/
93
specs:
@@ -311,7 +305,6 @@ DEPENDENCIES
311305
safe_yaml
312306
sanitize
313307
sass-rails (~> 5.0)
314-
simple_captcha2!
315308
spring
316309
spring-watcher-listen (~> 2.0.0)
317310
tzinfo-data

app/assets/stylesheets/application.scss

Lines changed: 0 additions & 256 deletions
Original file line numberDiff line numberDiff line change
@@ -13,261 +13,5 @@
1313
*= require_self
1414
*/
1515

16-
@import "vars";
17-
@import "queries";
1816
@import "stylekit";
19-
@import "posts";
20-
@import "guestbook_entry";
21-
@import "authors";
22-
@import "help";
23-
@import "usage";
2417
@import "rouge";
25-
@import "subscriptions";
26-
27-
* {
28-
box-sizing: border-box;
29-
}
30-
31-
html,
32-
body {
33-
margin: 0;
34-
font-family: sans-serif;
35-
line-height: 1.5;
36-
color: var(--body-text-color);
37-
background-color: var(--background-color);
38-
font-size: 18px;
39-
height: 100%;
40-
}
41-
42-
body {
43-
padding: 1rem 6rem 4px 6rem;
44-
max-width: 1200px;
45-
margin-left: auto;
46-
margin-right: auto;
47-
}
48-
49-
@include MQ-Xsmall() {
50-
body {
51-
padding: 1.5rem 1.5rem;
52-
}
53-
}
54-
55-
@include MQ-Small() {
56-
body {
57-
padding: 1.5rem 2rem;
58-
}
59-
}
60-
61-
h2 {
62-
font-size: 1.4rem;
63-
}
64-
65-
.block {
66-
display: block;
67-
}
68-
69-
a {
70-
color: var(--link-color);
71-
text-decoration: none;
72-
73-
&:hover {
74-
text-decoration: underline;
75-
}
76-
}
77-
78-
.faded {
79-
opacity: 0.3;
80-
}
81-
82-
input,
83-
textarea {
84-
border: 1px solid rgba(black, 0.1);
85-
resize: none;
86-
87-
&:focus {
88-
outline: none;
89-
}
90-
}
91-
92-
textarea {
93-
padding: 8px;
94-
}
95-
96-
hr {
97-
$hr-height: 35px;
98-
display: block;
99-
border: 0;
100-
text-align: center;
101-
box-sizing: content-box;
102-
height: $hr-height;
103-
padding-top: 10px;
104-
border: 0 !important;
105-
106-
&.left {
107-
text-align: left;
108-
}
109-
110-
&:before {
111-
font-family: Georgia, Cambria, "Times New Roman", Times, serif;
112-
font-weight: 400;
113-
font-style: italic;
114-
font-size: 28px;
115-
letter-spacing: 0.3em;
116-
content: "...";
117-
display: inline-block;
118-
margin-right: 0.6em;
119-
color: var(--body-text-color);
120-
position: relative;
121-
top: -$hr-height/2;
122-
}
123-
}
124-
125-
blockquote {
126-
border-left: 2px solid #cdcdcd;
127-
padding-left: 20px;
128-
opacity: 0.8;
129-
margin-left: 0;
130-
}
131-
132-
h1,
133-
h2,
134-
h3 {
135-
margin-top: 0;
136-
margin-bottom: 4px;
137-
-webkit-margin-after: 4px;
138-
}
139-
140-
#main-container {
141-
display: -webkit-box;
142-
display: -ms-flexbox;
143-
display: flex;
144-
-webkit-box-orient: vertical;
145-
-webkit-box-direction: normal;
146-
-ms-flex-direction: column;
147-
flex-direction: column;
148-
min-height: 100%;
149-
}
150-
151-
#content-container {
152-
-webkit-box-flex: 1;
153-
-ms-flex: 1;
154-
flex: 1;
155-
}
156-
157-
#footer {
158-
font-size: 12px;
159-
color: gray;
160-
margin-top: 30px;
161-
margin-bottom: 15px;
162-
163-
.left {
164-
float: left;
165-
166-
.listed {
167-
color: var(--body-text-color);
168-
display: inline-block;
169-
padding-right: 8px;
170-
}
171-
.via {
172-
color: gray;
173-
display: inline-block;
174-
}
175-
176-
.links {
177-
display: inline;
178-
border-left: 1px solid var(--body-text-color);
179-
padding-left: 8px;
180-
181-
a {
182-
margin-right: 5px;
183-
}
184-
}
185-
186-
* {
187-
display: inline-block;
188-
}
189-
}
190-
191-
a {
192-
color: var(--body-text-color);
193-
}
194-
.right {
195-
float: right;
196-
}
197-
}
198-
199-
.mt-5 {
200-
margin-top: 5px !important;
201-
}
202-
203-
.mt-10 {
204-
margin-top: 10px !important;
205-
}
206-
207-
.mt-15 {
208-
margin-top: 15px !important;
209-
}
210-
211-
.mt-20 {
212-
margin-top: 20px !important;
213-
}
214-
215-
.mt-30 {
216-
margin-top: 30px !important;
217-
}
218-
219-
.mt-40 {
220-
margin-top: 40px !important;
221-
}
222-
223-
.mt-50 {
224-
margin-top: 50px !important;
225-
}
226-
227-
button {
228-
border: none;
229-
cursor: pointer;
230-
231-
@mixin wide-button() {
232-
font-weight: bold;
233-
text-align: center;
234-
padding: 10px;
235-
font-size: 16px;
236-
min-width: 200px;
237-
238-
&:hover {
239-
text-decoration: underline;
240-
}
241-
}
242-
243-
&.black {
244-
@include wide-button();
245-
background-color: black;
246-
color: white;
247-
}
248-
249-
&.white {
250-
@include wide-button();
251-
background-color: white;
252-
color: black;
253-
border: 1px solid rgba(gray, 0.2);
254-
}
255-
}
256-
257-
.wrap {
258-
word-wrap: break-word;
259-
}
260-
261-
input.delete-blog {
262-
background-color: red;
263-
color: white;
264-
font-weight: bold;
265-
}
266-
267-
div.alert.error {
268-
border-width: thin;
269-
border-style: dotted;
270-
text-align: center;
271-
margin-bottom: 10px;
272-
color: red;
273-
}

0 commit comments

Comments
 (0)