Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
ced85d10
Commit
ced85d10
authored
10 years ago
by
Alex Pott
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2287781
by alayham, herom: Fixed DropButton component does not look well in RTL page.
parent
9e6dd21c
No related branches found
No related tags found
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/misc/dropbutton/dropbutton.css
+8
-2
8 additions, 2 deletions
core/misc/dropbutton/dropbutton.css
core/themes/seven/css/components/dropbutton.component.css
+33
-7
33 additions, 7 deletions
core/themes/seven/css/components/dropbutton.component.css
with
41 additions
and
9 deletions
core/misc/dropbutton/dropbutton.css
+
8
−
2
View file @
ced85d10
...
@@ -39,10 +39,16 @@
...
@@ -39,10 +39,16 @@
display
:
block
;
display
:
block
;
min-height
:
2em
;
min-height
:
2em
;
position
:
relative
;
position
:
relative
;
padding-right
:
10em
;
padding-right
:
10em
;
/* LTR */
margin-right
:
2em
;
margin-right
:
2em
;
/* LTR */
max-width
:
100%
;
max-width
:
100%
;
}
}
[
dir
=
"rtl"
]
.js
td
.dropbutton-multiple
{
padding-right
:
0
;
margin-right
:
0
;
padding-left
:
10em
;
margin-left
:
2em
;
}
.js
td
.dropbutton-multiple
.dropbutton-action
a
,
.js
td
.dropbutton-multiple
.dropbutton-action
a
,
.js
td
.dropbutton-multiple
.dropbutton-action
input
,
.js
td
.dropbutton-multiple
.dropbutton-action
input
,
.js
td
.dropbutton-multiple
.dropbutton-action
button
{
.js
td
.dropbutton-multiple
.dropbutton-action
button
{
...
...
This diff is collapsed.
Click to expand it.
core/themes/seven/css/components/dropbutton.component.css
+
33
−
7
View file @
ced85d10
...
@@ -32,7 +32,10 @@
...
@@ -32,7 +32,10 @@
box-shadow
:
none
;
box-shadow
:
none
;
}
}
.dropbutton-multiple
.dropbutton
{
.dropbutton-multiple
.dropbutton
{
border-right
:
0
;
border-right
:
0
;
/* LTR */
}
[
dir
=
"rtl"
]
.dropbutton-multiple
.dropbutton
{
border-left
:
0
;
}
}
/**
/**
...
@@ -54,11 +57,16 @@
...
@@ -54,11 +57,16 @@
.js
.dropbutton-widget
.dropbutton-action
a
,
.js
.dropbutton-widget
.dropbutton-action
a
,
.js
.dropbutton-widget
.dropbutton-action
input
,
.js
.dropbutton-widget
.dropbutton-action
input
,
.js
.dropbutton-widget
.dropbutton-action
button
{
.js
.dropbutton-widget
.dropbutton-action
button
{
border-radius
:
20em
0
0
20em
;
border-radius
:
20em
0
0
20em
;
/* LTR */
padding
:
4px
1.5em
;
padding
:
4px
1.5em
;
display
:
block
;
display
:
block
;
width
:
100%
;
width
:
100%
;
}
}
[
dir
=
"rtl"
]
.js
.dropbutton-widget
.dropbutton-action
a
,
[
dir
=
"rtl"
]
.js
.dropbutton-widget
.dropbutton-action
input
,
[
dir
=
"rtl"
]
.js
.dropbutton-widget
.dropbutton-action
button
{
border-radius
:
0
20em
20em
0
;
}
.js
.dropbutton-widget
.dropbutton-action
a
:focus
,
.js
.dropbutton-widget
.dropbutton-action
a
:focus
,
.js
.dropbutton-widget
.dropbutton-action
input
:focus
,
.js
.dropbutton-widget
.dropbutton-action
input
:focus
,
.js
.dropbutton-widget
.dropbutton-action
button
:focus
{
.js
.dropbutton-widget
.dropbutton-action
button
:focus
{
...
@@ -70,11 +78,19 @@
...
@@ -70,11 +78,19 @@
}
}
.js
.dropbutton-multiple.open
.dropbutton-action
:first-child
a
,
.js
.dropbutton-multiple.open
.dropbutton-action
:first-child
a
,
.js
.dropbutton-multiple.open
.dropbutton-action
:first-child
.button
{
.js
.dropbutton-multiple.open
.dropbutton-action
:first-child
.button
{
border-radius
:
0.9em
0
0
0
;
border-radius
:
0.9em
0
0
0
;
/* LTR */
}
[
dir
=
"rtl"
]
.js
.dropbutton-multiple.open
.dropbutton-action
:first-child
a
,
[
dir
=
"rtl"
]
.js
.dropbutton-multiple.open
.dropbutton-action
:first-child
.button
{
border-radius
:
0
0.9em
0
0
;
}
}
.js
.dropbutton-multiple.open
.dropbutton-action
:last-child
a
,
.js
.dropbutton-multiple.open
.dropbutton-action
:last-child
a
,
.js
.dropbutton-multiple.open
.dropbutton-action
:last-child
.button
{
.js
.dropbutton-multiple.open
.dropbutton-action
:last-child
.button
{
border-radius
:
0
0
0
0.9em
;
border-radius
:
0
0
0
0.9em
;
/* LTR */
}
[
dir
=
"rtl"
]
.js
.dropbutton-multiple.open
.dropbutton-action
:last-child
a
,
[
dir
=
"rtl"
]
.js
.dropbutton-multiple.open
.dropbutton-action
:last-child
.button
{
border-radius
:
0
0
0.9em
0
;
}
}
.js
.dropbutton-wrapper
.dropbutton-widget
.dropbutton-action
a
:hover
,
.js
.dropbutton-wrapper
.dropbutton-widget
.dropbutton-action
a
:hover
,
.js
.dropbutton-wrapper
.dropbutton-widget
.dropbutton-action
button
:hover
,
.js
.dropbutton-wrapper
.dropbutton-widget
.dropbutton-action
button
:hover
,
...
@@ -164,14 +180,24 @@
...
@@ -164,14 +180,24 @@
* The dropdown trigger.
* The dropdown trigger.
*/
*/
.js
.dropbutton-wrapper
.dropbutton-widget
.dropbutton-toggle
button
{
.js
.dropbutton-wrapper
.dropbutton-widget
.dropbutton-toggle
button
{
border-left
:
1px
solid
#a6a6a6
;
border-left
:
1px
solid
#a6a6a6
;
/* LTR */
outline
:
none
;
outline
:
none
;
}
}
[
dir
=
"rtl"
]
.js
.dropbutton-wrapper
.dropbutton-widget
.dropbutton-toggle
button
{
border-right
:
1px
solid
#a6a6a6
;
border-left
:
0
;
}
.js
.dropbutton-wrapper
.dropbutton-widget
.dropbutton-toggle
button
{
.js
.dropbutton-wrapper
.dropbutton-widget
.dropbutton-toggle
button
{
border-radius
:
0
20em
20em
0
;
border-radius
:
0
20em
20em
0
;
/* LTR */
}
[
dir
=
"rtl"
]
.js
.dropbutton-wrapper
.dropbutton-widget
.dropbutton-toggle
button
{
border-radius
:
20em
0
0
20em
;
}
}
.dropbutton-multiple.open
.dropbutton-widget
.dropbutton-toggle
button
{
.dropbutton-multiple.open
.dropbutton-widget
.dropbutton-toggle
button
{
border-radius
:
0
1em
1em
0
;
border-radius
:
0
1em
1em
0
;
/* LTR */
}
[
dir
=
"rtl"
]
.dropbutton-multiple.open
.dropbutton-widget
.dropbutton-toggle
button
{
border-radius
:
1em
0
0
1em
;
}
}
.js
.dropbutton-wrapper
.dropbutton-widget
.dropbutton-toggle
button
:hover
,
.js
.dropbutton-wrapper
.dropbutton-widget
.dropbutton-toggle
button
:hover
,
.js
.dropbutton-wrapper
.dropbutton-widget
.dropbutton-toggle
button
:focus
{
.js
.dropbutton-wrapper
.dropbutton-widget
.dropbutton-toggle
button
:focus
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment