Skip to content

Commit

Permalink
Merge pull request #90 from vektor-inc/develop
Browse files Browse the repository at this point in the history
[ Change version ] 1.17.0
  • Loading branch information
kurudrive authored Apr 13, 2022
2 parents 1f04b54 + 03a1c99 commit 363a19a
Show file tree
Hide file tree
Showing 8 changed files with 1,373 additions and 1,283 deletions.
35 changes: 29 additions & 6 deletions patterns-data/_scss/_vk-table.scss
Original file line number Diff line number Diff line change
@@ -1,21 +1,29 @@
/**
* Table class
* @since 1.16.0
* @since 1.17.0
*/
:root {
--vk-color-th-bg-bright: #f5f5f5;
}
.vk-table{
&--width{
&--th25 :where(tr > *:first-child){
&--th {
&--width25:where(tr > *:first-child){
width:25%;
}
&--th30 :where(tr > *:first-child){
&--width30:where(tr > *:first-child){
width:30%;
}
&--th35 :where(tr > *:first-child){
&--width35:where(tr > *:first-child){
width:35%;
}
&--th40 :where(tr > *:first-child){
&--width40:where(tr > *:first-child){
width:40%;
}
&--bg-bright {
:where( tr > *:first-child ) {
background-color: var(--vk-color-th-bg-bright);
}
}
}
&--mobile-block{
@media ( max-width:599px ){
Expand All @@ -26,4 +34,19 @@
}
}
}
// 1.16.0 以下古いクラス名につき使用不可
&--width{
&--th25 :where(tr > *:first-child){
width:25%;
}
&--th30 :where(tr > *:first-child){
width:30%;
}
&--th35 :where(tr > *:first-child){
width:35%;
}
&--th40 :where(tr > *:first-child){
width:40%;
}
}
}
2 changes: 1 addition & 1 deletion patterns-data/style.css

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

Loading

0 comments on commit 363a19a

Please sign in to comment.