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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
0269cd3a
Commit
0269cd3a
authored
Nov 04, 2014
by
Valeriy Sizov
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8182 from cirosantilli/dry-css-behavior
Factor behaviors.scss constants
parents
ed687976
951abce5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
8 deletions
+18
-8
app/assets/stylesheets/behaviors.scss
app/assets/stylesheets/behaviors.scss
+18
-8
No files found.
app/assets/stylesheets/behaviors.scss
View file @
0269cd3a
// Details
// Details
//--------
//--------
.js-details-container
.content
{
display
:
none
;
}
.js-details-container
{
.js-details-container
.content.hide
{
display
:
block
;
}
.content
{
.js-details-container.open
.content
{
display
:
block
;
}
display
:
none
;
.js-details-container.open
.content.hide
{
display
:
none
;
}
&
.hide
{
display
:
block
;
}
}
&
.open
.content
{
display
:
block
;
&
.hide
{
display
:
none
;
}
}
}
// Toggle between two states.
// Toggle between two states.
.js-toggler-container
.turn-on
{
display
:
block
;
}
.js-toggler-container
{
.js-toggler-container
.turn-off
{
display
:
none
;
}
.turn-on
{
display
:
block
;
}
.js-toggler-container.on
.turn-on
{
display
:
none
;
}
.turn-off
{
display
:
none
;
}
.js-toggler-container.on
.turn-off
{
display
:
block
;
}
&
.on
{
.turn-on
{
display
:
none
;
}
.turn-off
{
display
:
block
;
}
}
}
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