Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
d8a446f9
Commit
d8a446f9
authored
May 25, 2022
by
Félicie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '3134-welcome-box' into 'dev'
3134-welcome-box See merge request
!4
parents
39f070a6
172455b3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
14 deletions
+32
-14
options.php
qa-include/app/options.php
+3
-3
qa-theme-base.php
qa-include/qa-theme-base.php
+1
-1
qa-lang-options.php
qa-lang/fr/qa-lang-options.php
+1
-1
qa-styles.css
qa-theme/Cagette/qa-styles.css
+27
-9
No files found.
qa-include/app/options.php
View file @
d8a446f9
...
...
@@ -433,9 +433,9 @@ function qa_default_option($name)
$value
=
qa_lang_html
(
'main/anonymous'
);
break
;
//
case 'custom_sidebar':
//
$value = qa_lang_html_sub('options/default_sidebar', qa_html(qa_opt('site_title')));
//
break;
case
'custom_sidebar'
:
$value
=
qa_lang_html_sub
(
'options/default_sidebar'
,
qa_html
(
qa_opt
(
'site_title'
)));
break
;
case
'editor_for_qs'
:
case
'editor_for_as'
:
...
...
qa-include/qa-theme-base.php
View file @
d8a446f9
...
...
@@ -708,7 +708,7 @@ class qa_html_theme_base
public
function
sidepanel
()
{
//
$this->output('<div class="qa-sidepanel">');
$this
->
output
(
'<div class="qa-sidepanel">'
);
$this
->
widgets
(
'side'
,
'top'
);
$this
->
sidebar
();
$this
->
widgets
(
'side'
,
'high'
);
...
...
qa-lang/fr/qa-lang-options.php
View file @
d8a446f9
...
...
@@ -79,7 +79,7 @@
'custom_home_content'
=>
'Page d\'accueil contenu personnalisé - HTML autorisé'
,
'custom_home_heading'
=>
'Page d\'accueil rubrique'
,
'default_privacy'
=>
'Vie privée : Votre adresse de messagerie ne sera pas partagée ou vendue à des tiers.'
,
'default_sidebar'
=>
"Bienvenue sur ^,
où vous pouvez poser des questions et recevoir des réponses d'autres membres de la communauté
."
,
'default_sidebar'
=>
"Bienvenue sur ^,
le forum qui rassemble les coopérateurices de la Cagette
."
,
'default_subject'
=>
'Un message de ^'
,
'default_suffix'
=>
'Q&R'
,
'default_terms'
=>
'J\'accepte les ^ Termes & Conditions et la politique de confidentialité'
,
...
...
qa-theme/Cagette/qa-styles.css
View file @
d8a446f9
...
...
@@ -67,9 +67,27 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
/* Page sections */
.qa-sidepanel
{
float
:
right
;
width
:
176px
;
margin-right
:
18px
;
word-wrap
:
break-word
;}
/* .qa-sidepanel {float:right; width:176px; margin-right:18px; word-wrap:break-word;} */
*
html
.qa-sidepanel
{
margin-right
:
10px
;}
/* IE6 */
.qa-sidebar
{
padding
:
12px
;
font-size
:
14px
;
background
:
#f5e4c3
;
border
:
1px
solid
#f3c772
;
margin
:
24px
0
;}
.qa-sidebar
{
box-shadow
:
2px
2px
3px
rgb
(
10
10
10
/
10%
),
0
0
0
1px
rgb
(
10
10
10
/
10%
);
border-radius
:
30px
;
padding
:
0.5em
;
font-size
:
1.4rem
;
background
:
#00a473
;
color
:
#fff
;
float
:
right
;
width
:
20vw
;
}
@media
screen
and
(
max-width
:
1100px
)
{
.qa-sidebar
{
float
:
none
;
margin
:
2em
0
0
1em
;
width
:
88vw
;
}
}
.qa-feed
{
background
:
url(feed-icon-14x14.png)
no-repeat
left
top
;
padding-left
:
20px
;
height
:
16px
;
margin
:
24px
0
;}
.qa-feed-link
{
font-size
:
10px
;
color
:
#666
;}
.qa-main
{
...
...
@@ -80,11 +98,11 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
margin
:
1em
;
clear
:
left
;
overflow
:
hidden
;
width
:
7
4
vw
;
width
:
7
0
vw
;
}
@media
screen
and
(
max-width
:
1
0
00px
)
{
@media
screen
and
(
max-width
:
1
1
00px
)
{
.qa-main
{
width
:
92
vw
;
width
:
88
vw
;
}
}
.qa-main-heading
{
...
...
@@ -348,17 +366,17 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
border-radius
:
30px
;
margin
:
1rem
;
float
:
left
;
padding
:
30px
15px
0
15px
;
padding
:
0.5em
;
}
.qa-q-item-main
{
width
:
70
vw
;
width
:
65
vw
;
}
@media
screen
and
(
max-width
:
1
0
00px
)
{
@media
screen
and
(
max-width
:
1
1
00px
)
{
.qa-q-item-main
{
width
:
8
5
vw
;
width
:
8
0
vw
;
}
}
...
...
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