[ticket/15297] revert changes to responsive.css and fix by editing bidi.css

Revert changes to responsive.css
Adding class to bidi.css

PHPBB3-15297
This commit is contained in:
hubaishan 2017-07-30 12:14:48 +03:00
parent ff5c88be77
commit 5d0a41b814
2 changed files with 608 additions and 648 deletions

View file

@ -13,6 +13,10 @@
text-align: left; text-align: left;
} }
.rtl p.jumpbox-return {
float: right;
}
.rtl div.rules ul { .rtl div.rules ul {
margin-left: 0; margin-left: 0;
margin-right: 20px; margin-right: 20px;
@ -20,6 +24,11 @@
/* Main blocks /* Main blocks
---------------------------------------- */ ---------------------------------------- */
.rtl .icon {
padding-right: 0;
padding-left: 2px;
}
.rtl .logo { .rtl .logo {
float: right; float: right;
padding: 10px 10px 0 13px; padding: 10px 10px 0 13px;
@ -27,11 +36,11 @@
/* Site Description /* Site Description
--------------------------------------------- */ --------------------------------------------- */
.rtl #site-description { .rtl .site-description {
float: right; float: right;
} }
.rtl #site-description h1 { .rtl .site-description h1 {
margin-left: 0; margin-left: 0;
} }
@ -81,14 +90,9 @@
padding-right: 0; padding-right: 0;
} }
.rtl ul.linklist li.responsive-menu a.responsive-menu-link:before {
left: auto;
right: 0;
}
/* Dropdown menu /* Dropdown menu
---------------------------------------- */ ---------------------------------------- */
.rtl .dropdown-container.topic-tools { .rtl .dropdown-container.topic-tools, .rtl .dropdown-container-left {
float: right; float: right;
} }
@ -114,12 +118,17 @@
text-align: right; text-align: right;
} }
.rtl .dropdown-extended .header .header_settings { .rtl .dropdown-extended .header .header_settings, .rtl .dropdown-container-right {
float: left; float: left;
} }
.rtl .jumpbox .dropdown-contents a {
margin-right: 0;
margin-left: 20px;
}
/* Notifications /* Notifications
----------------------------------------*/ -----------------------------------------*/
.rtl .notification_list ul li img { .rtl .notification_list ul li img {
float: right; float: right;
margin-left: 5px; margin-left: 5px;
@ -261,23 +270,26 @@
margin-right: 0; margin-right: 0;
} }
.pagination li.previous a { background-position: -50px 2px; } /* Action Bar styles
.pagination li.next a { background-position: -30px 2px; } ---------------------------------------- */
.pagination li.previous a:hover { background-position: -50px -18px; } .rtl .action-bar .button {
.pagination li.next a:hover { background-position: -30px -18px; } margin-right: 0;
float: right;
}
.rtl .action-bar > .button {
margin-left: 5px;
float: right;
}
.rtl .action-bar .dropdown-button-control .button {
margin-left: 5px;
}
/* Miscellaneous styles /* Miscellaneous styles
---------------------------------------- */ ---------------------------------------- */
.rtl #forum-permissions { .rtl .quick-links {
float: left;
padding-right: 5px;
padding-left: 0;
margin-right: 5px;
margin-left: 0;
text-align: left;
}
.rtl #quick-links {
margin-left: 7px; margin-left: 7px;
margin-right: 0; margin-right: 0;
} }
@ -296,11 +308,6 @@
* links.css * links.css
*/ */
/* Back to top of page */
.rtl .back2top {
text-align: left;
}
/* Links adjustment to correctly display an order of rtl/ltr mixed content */ /* Links adjustment to correctly display an order of rtl/ltr mixed content */
.rtl a { .rtl a {
direction: rtl; direction: rtl;
@ -309,7 +316,6 @@
li.breadcrumbs span:first-child > a { li.breadcrumbs span:first-child > a {
padding-left: 0; padding-left: 0;
padding-right: 19px;
} }
/* Notification mark read link */ /* Notification mark read link */
@ -319,14 +325,9 @@ li.breadcrumbs span:first-child > a {
right: auto; right: auto;
} }
.rtl a.top { .rtl .back2top .top {
float: left; float: left;
} margin-left: -10px;
.rtl a.top2 {
background-position: 100% 50%;
padding-left: 0;
padding-right: 15px;
} }
.rtl .skiplink { .rtl .skiplink {
@ -416,26 +417,26 @@ li.breadcrumbs span:first-child > a {
padding-right: 1px; padding-right: 1px;
} }
.rtl dl.icon { .rtl dl.row-item{
background-position: 99.5% 50%; background-position: 99.5% 50%;
} }
.rtl li.header dl.icon dt .list-inner { .rtl li.header dl.row-item dt .list-inner {
/* Tweak for headers alignment when folder icon used */ /* Tweak for headers alignment when folder icon used */
padding-right: 0; padding-right: 0;
padding-left: 50px; padding-left: 50px;
} }
.rtl dl.icon dt { .rtl dl.row-item dt {
background-position: 99.5% 95%; /* Position of topic icon */ background-position: 99.5% 95%; /* Position of topic icon */
} }
.rtl dl.icon dt .list-inner { .rtl dl.row-item dt .list-inner {
padding-left: 5px; padding-left: 5px;
padding-right: 45px; /* Space for folder icon */ padding-right: 45px; /* Space for folder icon */
} }
.rtl dl a.icon-link { /* topic row icon links */ .rtl dl a.row-item-link { /* topic row icon links */
display: inline-block; display: inline-block;
left: auto; left: auto;
right: 0; right: 0;
@ -461,7 +462,6 @@ li.breadcrumbs span:first-child > a {
.rtl p.post-notice { .rtl p.post-notice {
padding-left: 5px; padding-left: 5px;
padding-right: 26px;
} }
.rtl p.post-notice:before { .rtl p.post-notice:before {
@ -471,7 +471,7 @@ li.breadcrumbs span:first-child > a {
/* Topic review panel /* Topic review panel
----------------------------------------*/ ----------------------------------------*/
.rtl #topicreview { .rtl .topicreview {
padding-right: 0; padding-right: 0;
padding-left: 5px; padding-left: 5px;
} }
@ -501,7 +501,6 @@ li.breadcrumbs span:first-child > a {
/* Quote block */ /* Quote block */
.rtl blockquote { .rtl blockquote {
margin: 0.5em 25px 0 1px; margin: 0.5em 25px 0 1px;
background-position: 99% 8px;
} }
.rtl blockquote blockquote { .rtl blockquote blockquote {
@ -511,10 +510,13 @@ li.breadcrumbs span:first-child > a {
.rtl blockquote cite { .rtl blockquote cite {
/* Username/source of quoter */ /* Username/source of quoter */
margin-right: 20px;
margin-left: 0; margin-left: 0;
} }
.rtl blockquote cite:before, .rtl .uncited:before {
padding-left: 5px;
}
.rtl blockquote .codebox { .rtl blockquote .codebox {
margin-right: 0; margin-right: 0;
} }
@ -602,48 +604,12 @@ li.breadcrumbs span:first-child > a {
/** /**
* buttons.css * buttons.css
*/ */
.rtl .dropdown-select {
padding-left: 24px;
padding-right: 8px;
}
.rtl .icon-button:before { .rtl .caret {
float: left; border-right: 1px solid;
margin-left: 0; border-right-color: inherit;
margin-right: 2px; border-left: none;
} right: 6px;
.rtl .dropdown-select.icon-button:before {
margin-left: 4px;
margin-right: 0;
}
.rtl .dropdown-select:after {
border-left: 0;
border-right-style: solid;
border-right-width: 1px;
left: 0;
right: auto;
}
.rtl .buttons, .rtl .buttons .button {
float: right;
}
.rtl .buttons .button, .rtl .dropdown-select {
margin-left: 5px;
margin-right: 0;
}
/* Icon images
---------------------------------------- */
.rtl .small-icon {
background-position: 100% 50%;
}
.rtl .small-icon > a {
padding-left: 0;
padding-right: 19px;
} }
/* Post control buttons /* Post control buttons
@ -661,10 +627,6 @@ li.breadcrumbs span:first-child > a {
float: right; float: right;
} }
.post-buttons .icon-button:before {
margin-right: 0;
}
/* Poster contact icons /* Poster contact icons
----------------------------------------*/ ----------------------------------------*/
.rtl .contact-icons a { .rtl .contact-icons a {
@ -687,20 +649,20 @@ li.breadcrumbs span:first-child > a {
/* Main CP box /* Main CP box
----------------------------------------*/ ----------------------------------------*/
.rtl #cp-menu { .rtl .cp-menu {
float: right; float: right;
} }
.rtl #cp-main { .rtl .cp-main {
float: right; float: right;
} }
.rtl #cp-main .panel ol { .rtl .cp-main .panel ol {
margin-right: 2em; margin-right: 2em;
margin-left: 0; margin-left: 0;
} }
.rtl #cp-main .buttons { .rtl .cp-main .buttons {
margin-right: 0; margin-right: 0;
margin-left: 0; margin-left: 0;
} }
@ -711,52 +673,52 @@ li.breadcrumbs span:first-child > a {
/* CP tabbed menu /* CP tabbed menu
----------------------------------------*/ ----------------------------------------*/
.rtl #tabs { .rtl .tabs {
margin-left: 0; margin-left: 0;
margin-right: 7px; margin-right: 7px;
} }
.rtl #tabs .tab { .rtl .tabs .tab {
float: right; float: right;
} }
.rtl #tabs .tab > a { .rtl .tabs .tab > a {
margin-left: 1px; margin-left: 1px;
margin-right: 0; margin-right: 0;
} }
/* Mini tabbed menu used in MCP /* Mini tabbed menu used in MCP
----------------------------------------*/ ----------------------------------------*/
.rtl #minitabs { .rtl .minitabs {
float: left; float: left;
margin-right: 0; margin-right: 0;
margin-left: 7px; margin-left: 7px;
} }
.rtl #minitabs .tab { .rtl .minitabs .tab {
float: left; float: left;
} }
.rtl #minitabs .tab > a { .rtl .minitabs .tab > a {
margin-right: 2px; margin-right: 2px;
margin-left: 0; margin-left: 0;
} }
/* Responsive tabs /* Responsive tabs
----------------------------------------*/ ----------------------------------------*/
.rtl #tabs .dropdown { .rtl .tabs .dropdown {
margin-left: -2px; margin-left: -2px;
} }
.rtl #tabs .dropdown li { .rtl .tabs .dropdown li {
text-align: left; text-align: left;
} }
.rtl #minitabs .dropdown { .rtl .minitabs .dropdown {
margin-left: -4px; margin-left: -4px;
} }
.rtl #minitabs .dropdown li { .rtl .minitabs .dropdown li {
text-align: right; text-align: right;
} }
@ -764,7 +726,7 @@ li.breadcrumbs span:first-child > a {
----------------------------------------*/ ----------------------------------------*/
@media only screen and (max-width: 900px), only screen and (max-device-width: 900px) @media only screen and (max-width: 900px), only screen and (max-device-width: 900px)
{ {
.rtl #cp-menu, .rtl #navigation, .rtl #cp-main { .rtl .cp-menu, .rtl .navigation, .rtl .cp-main {
float: none; float: none;
} }
} }
@ -774,7 +736,7 @@ li.breadcrumbs span:first-child > a {
/* Preferences pane layout /* Preferences pane layout
----------------------------------------*/ ----------------------------------------*/
.rtl #cp-main h2 { .rtl .cp-main h2 {
margin-left: 0; margin-left: 0;
margin-right: 10px; margin-right: 10px;
} }
@ -815,7 +777,7 @@ li.breadcrumbs span:first-child > a {
} }
/* Avatar gallery */ /* Avatar gallery */
.rtl #gallery label { .rtl .gallery label {
float: right; float: right;
} }
@ -823,7 +785,7 @@ li.breadcrumbs span:first-child > a {
----------------------------------------*/ ----------------------------------------*/
@media only screen and (max-width: 900px), only screen and (max-device-width: 900px) @media only screen and (max-width: 900px), only screen and (max-device-width: 900px)
{ {
.rtl #cp-menu, .rtl #navigation, .rtl #cp-main { .rtl .cp-menu, .rtl .navigation, .rtl .cp-main {
float: none; float: none;
} }
} }
@ -910,6 +872,10 @@ li.breadcrumbs span:first-child > a {
padding-right: 0; padding-right: 0;
} }
.rtl .dropdown fieldset.display-options label {
text-align: left;
}
/* Display actions for ucp and mcp pages */ /* Display actions for ucp and mcp pages */
.rtl fieldset.display-actions { .rtl fieldset.display-actions {
text-align: left; text-align: left;
@ -935,7 +901,7 @@ li.breadcrumbs span:first-child > a {
----------------------------------------*/ ----------------------------------------*/
/* Emoticons panel */ /* Emoticons panel */
.rtl #smiley-box { .rtl .smiley-box {
float: left; float: left;
} }
@ -955,16 +921,20 @@ li.breadcrumbs span:first-child > a {
padding: 3px; padding: 3px;
} }
.rtl .search-box .button { .rtl .button-search,
.button-search-end {
float: right; float: right;
} }
.rtl .search-box a.button { .rtl .button-search-end {
border-radius: 4px 0 0 4px;
border-left-width: 1px; border-left-width: 1px;
border-right-width: 0; border-right-width: 0;
}
.rtl .search-header .button-search-end {
border: 0;
border-radius: 4px 0 0 4px; border-radius: 4px 0 0 4px;
padding-left: 5px;
padding-right: 3px;
} }
.rtl .search-header { .rtl .search-header {
@ -973,47 +943,14 @@ li.breadcrumbs span:first-child > a {
margin-left: 5px; margin-left: 5px;
} }
.rtl input.search {
background-position: right 1px;
padding-right: 17px;
padding-left: 0;
}
/* Form button styles /* Form button styles
---------------------------------------- */ ---------------------------------------- */
/** Reference: Bug #27155 */ /** Reference: Bug #27155 */
.rtl #wrap, .rtl .headerbar, .rtl #site-description, .rtl .navbar { .rtl .wrap, .rtl .headerbar, .rtl .site-description, .rtl .navbar {
position: relative; position: relative;
} }
/* Former imageset */
.rtl .imageset.forum_link, .rtl .imageset.forum_read, .rtl .imageset.forum_read_locked, .rtl .imageset.forum_read_subforum, .rtl .imageset.forum_unread, .rtl .imageset.forum_unread_locked, .rtl .imageset.forum_unread_subforum, .rtl .imageset.topic_moved, .rtl .imageset.topic_read, .rtl .imageset.topic_read_mine, .rtl .imageset.topic_read_hot, .rtl .imageset.topic_read_hot_mine, .rtl .imageset.topic_read_locked, .rtl .imageset.topic_read_locked_mine, .rtl .imageset.topic_unread, .rtl .imageset.topic_unread_mine, .rtl .imageset.topic_unread_hot, .rtl .imageset.topic_unread_hot_mine, .rtl .imageset.topic_unread_locked, .rtl .imageset.topic_unread_locked_mine, .rtl .imageset.sticky_read, .rtl .imageset.sticky_read_mine, .rtl .imageset.sticky_read_locked, .rtl .imageset.sticky_read_locked_mine, .rtl .imageset.sticky_unread, .rtl .imageset.sticky_unread_mine, .rtl .imageset.sticky_unread_locked, .rtl .imageset.sticky_unread_locked_mine, .rtl .imageset.announce_read, .rtl .imageset.announce_read_mine, .rtl .imageset.announce_read_locked, .rtl .imageset.announce_read_locked_mine, .rtl .imageset.announce_unread, .rtl .imageset.announce_unread_mine, .rtl .imageset.announce_unread_locked, .rtl .imageset.announce_unread_locked_mine, .rtl .imageset.global_read, .rtl .imageset.global_read_mine, .rtl .imageset.global_read_locked, .rtl .imageset.global_read_locked_mine, .rtl .imageset.global_unread, .rtl .imageset.global_unread_mine, .rtl .imageset.global_unread_locked, .rtl .imageset.global_unread_locked_mine, .rtl .imageset.pm_read, .rtl .imageset.pm_unread {
padding-right: 27px;
padding-left: 0;
}
.rtl .imageset.subforum_read, .rtl .imageset.subforum_unread, .rtl .imageset.icon_post_target, .rtl .imageset.icon_post_target_unread, .rtl .imageset.icon_topic_latest, .rtl .imageset.icon_topic_newest {
padding-right: 11px;
padding-left: 0;
}
.rtl .imageset.icon_back_top {
padding-right: 11px;
padding-left: 0;
}
.rtl .imageset.icon_contact_aim, .rtl .imageset.phpbb_aol-icon, .rtl .imageset.icon_contact_email, .rtl .imageset.icon_contact_icq, .rtl .imageset.phpbb_icq-icon, .rtl .imageset.icon_contact_jabber, .rtl .imageset.icon_contact_msnm, .rtl .imageset.phpbb_wlm-icon, .rtl .imageset.icon_contact_www, .rtl .imageset.phpbb_website-icon, .rtl .imageset.icon_contact_yahoo, .rtl .imageset.phpbb_yahoo-icon, .rtl .imageset.icon_post_delete, .rtl .imageset.icon_post_info, .rtl .imageset.icon_post_report, .rtl .imageset.icon_user_warn {
padding-right: 20px;
padding-left: 0;
}
.rtl .imageset.icon_topic_attach {
padding-right: 7px;
padding-left: 0;
}
.rtl .imageset.icon_topic_reported, .rtl .imageset.icon_topic_unapproved {
padding-right: 16px;
padding-left: 0;
}
/** /**
* plupload.css * plupload.css
*/ */
@ -1136,4 +1073,10 @@ li.breadcrumbs span:first-child > a {
.captcha-panel dd.captcha { .captcha-panel dd.captcha {
margin-right: 0; margin-right: 0;
} }
.rtl p.responsive-center {
float: none;
text-align: center;
margin-bottom: 5px;
}
} }

File diff suppressed because it is too large Load diff