<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/app/assets/stylesheets, branch master</title>
<subtitle>[leap_web] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/'/>
<entry>
<title>custom: fix stylesheet customization</title>
<updated>2017-07-26T09:19:41+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-07-26T09:19:41+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=d939562360377dad4dfd8ab1520b15f85fc0a730'/>
<id>d939562360377dad4dfd8ab1520b15f85fc0a730</id>
<content type='text'>
fixes #8794

Reported the underlying issue here:
https://github.com/rails/sass-rails/issues/406

Basically `@import` works like this:
* look for the file relative to the current file
* look for the file as an absolute path following the priorities in the
* asset load_paths

If the file can be imported as a relative path that will take
precedence.

So in order to pick up the head and tails inside customization rather
than in app/assets there are three possibilities:
1) use an absolute path. This is not as easy as it seems. There is no
way of indicating a path is meant to be absolute so we would have to
ensure it does not resolve to a relative path.
2) have a application.scss file inside the customization folder. Since
this is the main file it will be used instead of the app/assets one. In
there relative paths will now also default to the customization folder
rather than app/assets. Once we are in an app/assets file though it will
not go back to picking up customization with relative paths
3) use //= require instead of import. rails-sass advices against this as
each required file would be compiled on it's own and variables could not
be shared.

Going with option 1 here:
```scss
// application.scss:
@import "custom/head_import";
```

```scss
// custom/head_import.scss:
@import "head";
```

As long as there is no custom/head.scss in app/assets it will import
head as an absolute path and thus prefer config/custom over app/assets.

This seems like the best option for now as it does not require changes
to the deployments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fixes #8794

Reported the underlying issue here:
https://github.com/rails/sass-rails/issues/406

Basically `@import` works like this:
* look for the file relative to the current file
* look for the file as an absolute path following the priorities in the
* asset load_paths

If the file can be imported as a relative path that will take
precedence.

So in order to pick up the head and tails inside customization rather
than in app/assets there are three possibilities:
1) use an absolute path. This is not as easy as it seems. There is no
way of indicating a path is meant to be absolute so we would have to
ensure it does not resolve to a relative path.
2) have a application.scss file inside the customization folder. Since
this is the main file it will be used instead of the app/assets one. In
there relative paths will now also default to the customization folder
rather than app/assets. Once we are in an app/assets file though it will
not go back to picking up customization with relative paths
3) use //= require instead of import. rails-sass advices against this as
each required file would be compiled on it's own and variables could not
be shared.

Going with option 1 here:
```scss
// application.scss:
@import "custom/head_import";
```

```scss
// custom/head_import.scss:
@import "head";
```

As long as there is no custom/head.scss in app/assets it will import
head as an absolute path and thus prefer config/custom over app/assets.

This seems like the best option for now as it does not require changes
to the deployments.
</pre>
</div>
</content>
</entry>
<entry>
<title>added 'show more tweets'-link when more tweets are existing than displayed, method included to set number of tweets which should be displayed</title>
<updated>2016-09-30T10:13:22+00:00</updated>
<author>
<name>thea</name>
<email>ta.kupler@gmail.com</email>
</author>
<published>2016-09-30T10:13:22+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=8a9ef9e96193a737b8d21e1f21db43d0d69394ef'/>
<id>8a9ef9e96193a737b8d21e1f21db43d0d69394ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>included Theas work on error-handling \o/; changed link to twitter-account in header; fixed erb escaping characters problem without letting evil code pass; setting customized image file 'Avatar_Pic.png' in config/custo../assets to get loaded instead of default twitter-logo</title>
<updated>2016-09-22T12:36:10+00:00</updated>
<author>
<name>luca-marie</name>
<email>ml.kochsiek@fu-berlin.de</email>
</author>
<published>2016-09-22T12:36:10+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=306b36c045cd62638db179115ed002c6ab7c5cd8'/>
<id>306b36c045cd62638db179115ed002c6ab7c5cd8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleaning CSS &amp;view code, updating twitter helper with develop</title>
<updated>2016-09-13T10:20:12+00:00</updated>
<author>
<name>luca-marie</name>
<email>ml.kochsiek@fu-berlin.de</email>
</author>
<published>2016-09-13T10:20:12+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=2ef8707a7539622007b6d679a7708a5979594ff3'/>
<id>2ef8707a7539622007b6d679a7708a5979594ff3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added changes in css, view and main view file, as well as default avatar is now set as twitter official logo (added 2 official twitter logo images; changed footer text.</title>
<updated>2016-09-09T11:19:51+00:00</updated>
<author>
<name>luca-marie</name>
<email>ml.kochsiek@fu-berlin.de</email>
</author>
<published>2016-09-09T11:19:51+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=3408ac694a60df0380a3bf444077165a1f30e87e'/>
<id>3408ac694a60df0380a3bf444077165a1f30e87e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Updating the view and CSS, no pic and twitter handle in each tweet;</title>
<updated>2016-09-01T12:19:14+00:00</updated>
<author>
<name>luca-marie</name>
<email>ml.kochsiek@fu-berlin.de</email>
</author>
<published>2016-09-01T10:17:05+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=92e7b90d619111fdaaf50ab0b8538c39605fe005'/>
<id>92e7b90d619111fdaaf50ab0b8538c39605fe005</id>
<content type='text'>
Displaying only 3 most tweets
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Displaying only 3 most tweets
</pre>
</div>
</content>
</entry>
<entry>
<title>Changes mainly on CSS 'fine tuning' and shortening the Twitter API credentials,</title>
<updated>2016-09-01T10:09:37+00:00</updated>
<author>
<name>luca-marie</name>
<email>ml.kochsiek@fu-berlin.de</email>
</author>
<published>2016-08-29T15:39:46+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=ea3fc6ffbb8f90aff28ce56fe4432a8d3ff18caa'/>
<id>ea3fc6ffbb8f90aff28ce56fe4432a8d3ff18caa</id>
<content type='text'>
- only bearer token is needed to access Twitter API
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- only bearer token is needed to access Twitter API
</pre>
</div>
</content>
</entry>
<entry>
<title>Twitter controller now as helper, some more styling in CSS, bug fix</title>
<updated>2016-09-01T10:09:37+00:00</updated>
<author>
<name>luca-marie</name>
<email>ml.kochsiek@fu-berlin.de</email>
</author>
<published>2016-08-25T18:50:12+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=fecc0e9e1985be2d3767664453d4776ac20897c0'/>
<id>fecc0e9e1985be2d3767664453d4776ac20897c0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update with Twitter</title>
<updated>2016-09-01T10:08:46+00:00</updated>
<author>
<name>luca-marie</name>
<email>ml.kochsiek@fu-berlin.de</email>
</author>
<published>2016-08-24T13:23:07+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=e1e98d0229b8b79de2105515f0312903a23dc335'/>
<id>e1e98d0229b8b79de2105515f0312903a23dc335</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>upgrade: fix buttons for bootstrap3</title>
<updated>2016-05-02T11:31:17+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-03-26T17:17:55+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=65f67e1829666a65a3b354d4d95f9d38aa15a81e'/>
<id>65f67e1829666a65a3b354d4d95f9d38aa15a81e</id>
<content type='text'>
bootstrap3 now requires btn-default if no other btn option is present.
download button on home page was too small in german translation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bootstrap3 now requires btn-default if no other btn option is present.
download button on home page was too small in german translation
</pre>
</div>
</content>
</entry>
</feed>
