Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b5493a17
Commit
b5493a17
authored
Oct 09, 2019
by
Guillaume Grossetie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use nested rules
parent
35cce468
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
101 additions
and
76 deletions
+101
-76
app/assets/stylesheets/framework/typography.scss
app/assets/stylesheets/framework/typography.scss
+101
-76
No files found.
app/assets/stylesheets/framework/typography.scss
View file @
b5493a17
...
...
@@ -195,108 +195,133 @@
}
}
&
.grid-none
>
thead
>
tr
>
th
{
border-bottom-width
:
0
;
border-right-width
:
0
;
border-left-width
:
0
;
}
&
.grid-none
{
>
thead
>
tr
{
>
th
{
border-bottom-width
:
0
;
border-right-width
:
0
;
border-left-width
:
0
;
&
:first-child
{
border-left-width
:
1px
;
}
&
:last-child
{
border-right-width
:
1px
;
}
}
}
&
.grid-rows
>
thead
>
tr
>
th
,
&
.grid-rows
>
tbody
>
tr
>
td
{
border-right-width
:
0
;
border-left-width
:
0
;
}
>
tbody
{
>
tr
{
>
td
{
border-width
:
0
;
&
.grid-none
>
thead
>
tr
>
th
:first-child
,
&
.grid-rows
>
thead
>
tr
>
th
:first-child
{
border-left-width
:
1px
;
}
&
:first-child
{
border-left-width
:
1px
;
}
&
.grid-none
>
thead
>
tr
>
th
:last-child
,
&
.grid-rows
>
thead
>
tr
>
th
:last-child
{
border-right-width
:
1px
;
}
&
:last-child
{
border-right-width
:
1px
;
}
}
&
.grid-none
>
tbody
>
tr
>
td
{
border-width
:
0
;
&
:last-child
>
td
{
border-bottom-width
:
1px
;
}
}
}
}
&
.grid-none
>
tbody
>
tr
>
td
:first-child
{
border-left-width
:
1px
;
}
&
.grid-rows
{
>
thead
>
tr
>
th
,
>
tbody
>
tr
>
td
{
border-right-width
:
0
;
border-left-width
:
0
;
}
&
.grid-none
>
tbody
>
tr
>
td
:last-child
{
border-right-width
:
1px
;
}
>
thead
>
tr
{
>
th
:first-child
{
border-left-width
:
1px
;
}
&
.grid-none
>
tbody
>
tr
:last-child
>
td
{
border-bottom-width
:
1px
;
}
>
th
:last-child
{
border-right-width
:
1px
;
}
}
&
.grid-rows
>
tbody
>
tr
>
td
{
border-left-width
:
0
;
border-right-width
:
0
;
}
>
tbody
>
tr
{
>
td
{
border-left-width
:
0
;
border-right-width
:
0
;
}
&
.grid-rows
>
tbody
>
tr
>
td
:first-child
{
border-left-width
:
1px
;
}
>
td
:first-child
{
border-left-width
:
1px
;
}
&
.grid-rows
>
tbody
>
tr
>
td
:last-child
{
border-right-width
:
1px
;
>
td
:last-child
{
border-right-width
:
1px
;
}
}
}
&
.grid-cols
>
thead
>
tr
>
th
{
border-bottom-width
:
0
;
}
&
.grid-cols
{
>
thead
>
tr
>
th
{
border-bottom-width
:
0
;
}
&
.grid-cols
>
tbody
>
tr
>
td
{
border-top-width
:
0
;
border-bottom-width
:
0
;
}
>
tbody
>
tr
>
td
{
border-top-width
:
0
;
border-bottom-width
:
0
;
}
&
.grid-cols
>
tbody
>
tr
:last-child
>
td
{
border-bottom-width
:
1px
;
>
tbody
>
tr
:last-child
>
td
{
border-bottom-width
:
1px
;
}
}
&
.frame-sides
>
thead
>
tr
>
th
{
border-top-width
:
0
;
}
&
.frame-sides
{
>
thead
>
tr
>
th
{
border-top-width
:
0
;
}
&
.frame-sides
>
tbody
>
tr
:last-child
>
td
{
border-bottom-width
:
0
;
>
tbody
>
tr
:last-child
>
td
{
border-bottom-width
:
0
;
}
}
&
.frame-topbot
>
thead
>
tr
>
th
:first-child
,
&
.frame-ends
>
thead
>
tr
>
th
:first-child
,
&
.frame-topbot
>
tbody
>
tr
>
td
:first-child
,
&
.frame-ends
>
tbody
>
tr
>
td
:first-child
{
border-left-width
:
0
;
}
&
.frame-topbot
,
&
.frame-ends
{
>
thead
>
tr
>
th
:first-child
,
>
tbody
>
tr
>
td
:first-child
{
border-left-width
:
0
;
}
&
.frame-topbot
>
thead
>
tr
>
th
:last-child
,
&
.frame-ends
>
thead
>
tr
>
th
:last-child
,
&
.frame-topbot
>
tbody
>
tr
>
td
:last-child
,
&
.frame-ends
>
tbody
>
tr
>
td
:last-child
{
border-right-width
:
0
;
>
thead
>
tr
>
th
:last-child
,
>
tbody
>
tr
>
td
:last-child
{
border-right-width
:
0
;
}
}
&
.frame-none
>
thead
>
tr
>
th
{
border-top-width
:
0
;
}
&
.frame-none
{
>
thead
>
tr
>
th
{
border-top-width
:
0
;
}
&
.frame-none
>
tbody
>
tr
:last-child
>
td
{
border-bottom-width
:
0
;
}
>
tbody
>
tr
:last-child
>
td
{
border-bottom-width
:
0
;
}
&
.frame-none
>
thead
>
tr
>
th
:first-child
,
&
.frame-none
>
tbody
>
tr
>
td
:first-child
{
border-left-width
:
0
;
}
>
thead
>
tr
>
th
:first-child
,
>
tbody
>
tr
>
td
:first-child
{
border-left-width
:
0
;
}
&
.frame-none
>
thead
>
tr
>
th
:last-child
,
&
.frame-none
>
tbody
>
tr
>
td
:last-child
{
border-right-width
:
0
;
>
thead
>
tr
>
th
:last-child
,
>
tbody
>
tr
>
td
:last-child
{
border-right-width
:
0
;
}
}
&
.stripes-all
tr
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment