Skip to content

Commit 2969cec

Browse files
author
arnau march
committed
Updated latest shared/style folders from gaia
1 parent c317c44 commit 2969cec

6 files changed

Lines changed: 39 additions & 17 deletions

File tree

style/headers.css

Lines changed: 31 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -368,28 +368,42 @@ section[role="region"].skin-organic > header:first-child button,
368368

369369
html[dir="rtl"] section[role="region"] > header:first-child h1 {
370370
text-align: right;
371-
margin: 0 3rem 0 0;
371+
padding: 0 3rem 0 1rem;
372372
}
373-
374-
html[dir="rtl"] section[role="region"] > header:first-child button,
375-
html[dir="rtl"] section[role="region"] > header:first-child a {
376-
left: inherit;
377-
right: 0;
373+
html[dir="rtl"] section[role="region"] > header:first-child form {
374+
padding: 1rem .5rem 0 1rem ;
375+
margin-right: 3.5rem;
376+
margin-left:0;
378377
}
379-
380-
html[dir="rtl"] section[role="region"] > header:first-child > button .icon,
381-
html[dir="rtl"] section[role="region"] > header:first-child > a .icon {
382-
margin-left: 0;
383-
margin-right: -2rem;
378+
html[dir="rtl"] section[role="region"] > header:first-child input[type="text"] {
379+
background: #fff url(headers/images/ui/shadow.png) repeat-x right -0.1rem;
384380
}
385381

386-
html[dir="rtl"] section[role="region"] > header:first-child > button .icon:after,
387-
html[dir="rtl"] section[role="region"] > header:first-child > a .icon:after {
388-
left: inherit;
382+
html[dir="rtl"] section[role="region"] > header:first-child form button[type="reset"] {
383+
left: 1rem;
384+
right:inherit;
385+
}
386+
html[dir="rtl"] section[role="region"] > header:first-child menu[type="toolbar"] {
387+
float: left;
388+
}
389+
html[dir="rtl"] section[role="region"] > header:first-child menu[type="toolbar"] a,
390+
html[dir="rtl"] section[role="region"] > header:first-child menu[type="toolbar"] button {
391+
float: right;
392+
}
393+
html[dir="rtl"] section[role="region"] > header:first-child > button,
394+
html[dir="rtl"] section[role="region"] > header:first-child > a {
395+
float: right;
396+
margin: 0 0 0 -5rem;
397+
}
398+
html[dir="rtl"] section[role="region"] > header:first-child > button:after,
399+
html[dir="rtl"] section[role="region"] > header:first-child > a:after {
389400
right: 0;
390401
}
391-
392402
html[dir="rtl"] section[role="region"] > header:first-child .icon.icon-back {
393-
background-image: url(headers/images/icons/back-rtl.png);
403+
background-image: url(headers/images/icons/back_rtl.png);
404+
}
405+
html[dir="rtl"] section[role="region"].skin-organic > header:first-child .icon.icon-back,
406+
html[dir="rtl"] .skin-organic section[role="region"] > header:first-child .icon.icon-back,
407+
html[dir="rtl"] section[role="region"].skin-dark > header:first-child .icon.icon-back {
408+
background-image: url(headers/images/icons/organic/back_rtl.png);
394409
}
395-
379 Bytes
Loading
430 Bytes
Loading
379 Bytes
Loading
430 Bytes
Loading

style/headers/index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@
2626
</style>
2727
</head>
2828
<body role="application">
29+
<p dir="ltr">
30+
<label>
31+
<input type="checkbox"
32+
onchange="document.documentElement.dir = this.checked ? 'rtl' : 'ltr'">
33+
RTL mode
34+
</label>
35+
</p>
36+
2937
<section role="region">
3038
<header>
3139
<menu type="toolbar">

0 commit comments

Comments
 (0)