Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c408641b
authored
Feb 21, 2013
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: info box for boxes styled
parent
9b74d316
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
1 deletions
+28
-1
one/static/style/base.less
+1
-0
one/static/style/box.less
+26
-0
one/templates/box/base/box.html
+1
-1
No files found.
one/static/style/base.less
View file @
c408641b
...
@@ -42,6 +42,7 @@ body
...
@@ -42,6 +42,7 @@ body
font-size:1.5em;
font-size:1.5em;
margin-top:0;
margin-top:0;
padding:10px;
padding:10px;
position: relative;
}
}
&.wide {
&.wide {
margin-right: 30px;
margin-right: 30px;
...
...
one/static/style/box.less
View file @
c408641b
...
@@ -614,3 +614,29 @@ table {
...
@@ -614,3 +614,29 @@ table {
background-image: url(/static/icons/key--exclamation.png);
background-image: url(/static/icons/key--exclamation.png);
}
}
}
}
.boxhelp {
position: relative;
.boxhelp-box {
color:#000;
position: absolute;
left: -100px;
width: 500px;
z-index: 1000000;
font-size: .7em;
background-color: #ffc;
border-radius:4px;
border:1px solid #aaa;
box-shadow:0 0 30px rgba(0,0,0,0.3);
margin:20px;
display: none;
}
&:hover .boxhelp-box {
display: block;
}
.icon {
display: block;
float: right;
}
}
one/templates/box/base/box.html
View file @
c408641b
<div
class=
"contentblock"
>
<div
class=
"contentblock"
>
<h2>
{% block
title %}Doboz címe (cseréld le){% endblock title %}{% block boxhelp %}{% endblock
%}
</h2>
<h2>
{% block
boxhelp %}{% endblock %}{% block title %}Doboz címe (cseréld le){% endblock title
%}
</h2>
<div
class=
"content"
>
<div
class=
"content"
>
{% block content %}
{% block content %}
Doboz tartalma (cseréld le)
Doboz tartalma (cseréld le)
...
...
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