<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/portal/static/src/scss/bootstrap.extend.scss, branch 14.0</title>
<subtitle>The current checkout of upstream Odoo</subtitle>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/'/>
<entry>
<title>[FIX] portal, *: use responsive BS text utilities instead of our own</title>
<updated>2018-09-14T11:41:35+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2018-09-14T10:39:42+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=737d272997da341922f7d720c4a7c9f01c041a59'/>
<id>737d272997da341922f7d720c4a7c9f01c041a59</id>
<content type='text'>
* website, website_sale, website_sale_delivery

While we used BS3, we used our own responsive classes for text
alignment (text-right-sm, text-center-not-lg, ...). Now BS4 classes can
be used to achieve the same behavior so there is no point in declaring
our own ones anymore.

Also, as the breakpoint names changed (lg -&gt; xl, md -&gt; lg, ...), the
current code was not working as intended anymore anyway.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* website, website_sale, website_sale_delivery

While we used BS3, we used our own responsive classes for text
alignment (text-right-sm, text-center-not-lg, ...). Now BS4 classes can
be used to achieve the same behavior so there is no point in declaring
our own ones anymore.

Also, as the breakpoint names changed (lg -&gt; xl, md -&gt; lg, ...), the
current code was not working as intended anymore anyway.
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] portal, *: introduce responsive BS sizing classes</title>
<updated>2018-09-14T10:11:22+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2018-09-14T08:47:37+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=da55072a693527de58cedb5357d8bff84ab5d99a'/>
<id>da55072a693527de58cedb5357d8bff84ab5d99a</id>
<content type='text'>
* website_sale

Bootstrap chose not to implement this feature, probably relying on their
grid system (see https://github.com/twbs/bootstrap/issues/21943).

We have a case where a responsive size of 0px is needed though: applied
on a table, this forces the table to its contents' natural width. So
this commit implements the behavior and adds the size of 0 to replace
the non-responsive class 'o_table_column_fit'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* website_sale

Bootstrap chose not to implement this feature, probably relying on their
grid system (see https://github.com/twbs/bootstrap/issues/21943).

We have a case where a responsive size of 0px is needed though: applied
on a table, this forces the table to its contents' natural width. So
this commit implements the behavior and adds the size of 0 to replace
the non-responsive class 'o_table_column_fit'.
</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] *: BS4, adapt media queries</title>
<updated>2018-07-27T10:36:54+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2018-03-14T14:54:12+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=0ca6d3977708c7f0203f042386115f24bcacf0aa'/>
<id>0ca6d3977708c7f0203f042386115f24bcacf0aa</id>
<content type='text'>
media queries that target a specific screen size handled by bootstrap
have now a more convenient way to be defined:

```
@​media (min-width: $screen-sm-min) { ... }
-&gt;
@​include media-breakpoint-up(sm) { ... }
```

```
@​media (max-width: $screen-sm-max) { ... }
-&gt;
@​include media-breakpoint-down(sm) { ... }
```

```
@​media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) { ... }
-&gt;
@​include media-breakpoint-only(sm) { ... }
```

```
@​media (min-width: $screen-sm-min) and (max-width: $screen-md-max) { ... }
-&gt;
@​include media-breakpoint-between(sm, md) { ... }
```

Also, bootstrap has changed the values for its default screen sizes:

------------------
     | BS3 | BS4 |
------------------
0    | XS  | XS  | -&gt; Portrait Mobile
576  | /   | SM  | -&gt; Landscape Mobile
768  | SM  | MD  | -&gt; Portrait Tablet
992  | MD  | LG  | -&gt; Landscape Tablet / Small Desktop
1200 | LG  | XL  | -&gt; Desktop
------------------

While it is possible to configure BS variables to behave as BS3, we took
the decision to keep the BS4 variables untouched. BS4 system seems
indeed better and having the purest bootstrap possible is better for
Odoo to be used as a framework.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
media queries that target a specific screen size handled by bootstrap
have now a more convenient way to be defined:

```
@​media (min-width: $screen-sm-min) { ... }
-&gt;
@​include media-breakpoint-up(sm) { ... }
```

```
@​media (max-width: $screen-sm-max) { ... }
-&gt;
@​include media-breakpoint-down(sm) { ... }
```

```
@​media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) { ... }
-&gt;
@​include media-breakpoint-only(sm) { ... }
```

```
@​media (min-width: $screen-sm-min) and (max-width: $screen-md-max) { ... }
-&gt;
@​include media-breakpoint-between(sm, md) { ... }
```

Also, bootstrap has changed the values for its default screen sizes:

------------------
     | BS3 | BS4 |
------------------
0    | XS  | XS  | -&gt; Portrait Mobile
576  | /   | SM  | -&gt; Landscape Mobile
768  | SM  | MD  | -&gt; Portrait Tablet
992  | MD  | LG  | -&gt; Landscape Tablet / Small Desktop
1200 | LG  | XL  | -&gt; Desktop
------------------

While it is possible to configure BS variables to behave as BS3, we took
the decision to keep the BS4 variables untouched. BS4 system seems
indeed better and having the purest bootstrap possible is better for
Odoo to be used as a framework.
</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] *: convert less content to scss content</title>
<updated>2018-04-18T13:59:16+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2018-03-12T15:25:32+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=97aa0a8dec384ad75eb66045f43384b6e54f1d6e'/>
<id>97aa0a8dec384ad75eb66045f43384b6e54f1d6e</id>
<content type='text'>
Convert content so that the assets compile on app installation. The
style is still broken after this as the variables/mixins/... are not
defined in the right order (as it did not matter in LESS but does in
SCSS).

This commit basically changes:
- Variables: @​var_hello -&gt; $var-hello
- Mixins: .mixin_world() {} -&gt; @​mixin mixin-world {}
- Classes used as mixin: .my_class() -&gt; @​extend .my_class
    - Here there were no other solution than to convert the use of
      a mixin call by the use of an extend as a first approximation
- LESS functions -&gt; SCSS functions (e.g. fade -&gt; rgba)
- Move first variable definition before the variable is used
    - Still need to make sure last variable definition is at the
      right place
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Convert content so that the assets compile on app installation. The
style is still broken after this as the variables/mixins/... are not
defined in the right order (as it did not matter in LESS but does in
SCSS).

This commit basically changes:
- Variables: @​var_hello -&gt; $var-hello
- Mixins: .mixin_world() {} -&gt; @​mixin mixin-world {}
- Classes used as mixin: .my_class() -&gt; @​extend .my_class
    - Here there were no other solution than to convert the use of
      a mixin call by the use of an extend as a first approximation
- LESS functions -&gt; SCSS functions (e.g. fade -&gt; rgba)
- Move first variable definition before the variable is used
    - Still need to make sure last variable definition is at the
      right place
</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] *: rename all LESS files to SCSS</title>
<updated>2018-04-18T13:59:15+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2018-03-12T15:27:41+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=b04dec4025013c60e4857c1e177bb20d811cd41a'/>
<id>b04dec4025013c60e4857c1e177bb20d811cd41a</id>
<content type='text'>
This is a simple renaming without adaptation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a simple renaming without adaptation.
</pre>
</div>
</content>
</entry>
</feed>
