Skip to content

Commit

Permalink
Update RDTA to support new elements and update some styles.
Browse files Browse the repository at this point in the history
* Add support new elements such as `<menu>`
* Update style for `<meter>` to match all browsers.
  • Loading branch information
ve3 committed Mar 7, 2022
1 parent 24ff5ad commit df9316e
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 23 deletions.
7 changes: 3 additions & 4 deletions assets/css/rdta/rundiz-template-admin.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/css/rdta/rundiz-template-admin.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/rdta/rundiz-template-admin.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/rdta/rundiz-template-admin.min.css.map

Large diffs are not rendered by default.

20 changes: 14 additions & 6 deletions assets/css/rdta/typo-and-form/typo-and-form.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/css/rdta/typo-and-form/typo-and-form.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/rdta/typo-and-form/typo-and-form.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/rdta/typo-and-form/typo-and-form.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/scss/rdta/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ a.rd-button,
.rd-button-group {
display: inline-flex;
position: relative;
ul {
menu, ul {
// it is dropdown within button
display: none;
}
Expand Down
20 changes: 14 additions & 6 deletions assets/scss/rdta/typo-and-form/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,10 @@ meter {
// Chrome, Edge
background-color: $background-color;
background-image: none;
border: none;// (in Edge, it has border by default).
border: none;// (in Webkit, it has border by default).
border-radius: 0;
box-shadow: none;
height: 1em;
}
}

Expand Down Expand Up @@ -289,27 +292,32 @@ table {
}


ul, ol {
menu, ul, ol {
line-height: 1.6;
margin: 0 0 $content-block-element-margin-bottom 1.111em;
margin: 0 0 $content-block-element-margin-bottom 1.211em;
padding: 0;
li {
margin: 0;
padding: 0;
}
}
ul li ul,
menu li menu,
menu li ul,
menu li ol,
ul li menu,
ul li ol,
ul li ul,
ol li menu,
ol li ol,
ol li ul {
margin-bottom: 0;
margin-left: 1.111em;
margin-left: 1.211em;
margin-top: 0;
}
ol {
list-style: decimal;
}
ul {
menu, ul {
list-style: disc;
}

Expand Down

0 comments on commit df9316e

Please sign in to comment.