Remove bevel effects

This commit is contained in:
Antoine Le Gonidec 2024-07-24 14:51:24 +02:00
parent a39e8a0df1
commit e8d51f6ad8
Signed by: vv221
GPG key ID: 636B78F91CEB80D8
14 changed files with 7 additions and 105 deletions

View file

@ -70,7 +70,6 @@ function template_main()
echo '
<div class="main_container">
<div class="khbiseau_topright_color"></div>
<div class="cat_bar ', $category['is_collapsed'] ? 'collapsed' : '', '" id="category_', $category['id'], '">
<div class="info">
';
@ -133,7 +132,6 @@ function template_main()
echo '
</div><!-- #category_[id]_boards -->
<div class="khbiseau_bottom_white"></div>
</div><!-- .main_container -->';
}
@ -362,7 +360,6 @@ function template_info_center()
// Here's where the "Info Center" starts...
echo '
<div class="khbiseau_topright_color"></div>
<div class="roundframe" id="info_center">
<div class="title_bar">
<h2 class="titlebg">

View file

@ -32,8 +32,7 @@ function template_main()
</div>';
// Show new topic info here?
echo '<div class="khbiseau_topright_khcolor"></div>
<div id="display_head" class="khbb_head_subject">
echo '<div id="display_head" class="khbb_head_subject">
<h2 class="display_title">
<span id="top_subject">', $context['subject'], '</span>', ($context['is_locked']) ? ' <span class="main_icons lock"></span>' : '', ($context['is_sticky']) ? ' <span class="main_icons sticky"></span>' : '', '
</h2>

View file

@ -19,7 +19,6 @@ function template_login()
echo '
<div class="login">
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">
<span class="main_icons login"></span> ', $txt['login'], '
@ -157,7 +156,6 @@ function template_login()
echo '
</div><!-- .roundframe -->
<div class="khbiseau_bottom_white"></div>
</div><!-- .login -->';
}

View file

@ -23,7 +23,6 @@ function template_main()
', template_button_strip($context['memberlist_buttons'], 'right'), '
<div class="pagelinks floatleft">', $context['page_index'], '</div>
</div>
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">
<span class="floatleft">', $txt['members_list'], '</span>';
@ -129,7 +128,6 @@ function template_main()
echo '
</tbody>
</table>
<div class="khbiseau_bottom_white"></div>
</div><!-- #mlist -->';
// Show the page numbers again. (makes 'em easier to find!)

View file

@ -18,7 +18,6 @@ function template_main()
global $context, $settings, $options, $scripturl, $modSettings, $txt;
echo '
<div class="khbiseau_topright_khcolor"></div>
<div id="display_head">
<h2 class="display_title">', $context['name'], '</h2>';
@ -59,7 +58,6 @@ function template_main()
echo '
<div id="board_', $context['current_board'], '_childboards" class="boardindex_table main_container">
<div class="cat_bar without_biseau">
<div class="info">
';
// Like collapse icon, but don't collapse because I don't know how. TODO !
@ -109,7 +107,6 @@ function template_main()
echo '
</div><!-- #board_[current_board]_childboards -->
<div class="khbiseau_bottom_white"></div>
';
}
@ -295,7 +292,6 @@ function template_main()
}
echo '
</div><!-- #topic_container -->
<div class="khbiseau_bottom_white"></div>
';
echo '<div class="righttext" id="quick_actions">';

View file

@ -23,7 +23,6 @@ function template_pm_above()
// Show the capacity bar, if available.
if (!empty($context['limit_bar']))
echo '
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">
<span class="floatleft">', $txt['pm_capacity'], ':</span>
@ -207,7 +206,6 @@ function template_folder()
if (!empty($context['current_pm_subject']))
{
echo '
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">
<span>', $txt['conversation'], '</span>
@ -616,7 +614,6 @@ function template_subject_list()
global $context, $settings, $txt, $scripturl;
echo '
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">
', $context['folder'] == 'sent' ? $txt['sent_items'] : $context['current_label'], '
@ -758,7 +755,6 @@ function template_search()
echo '
<form action="', $scripturl, '?action=pm;sa=search2" method="post" accept-charset="', $context['character_set'], '" name="searchform" id="searchform">
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">', $txt['pm_search_title'], '</h2>
</div>
@ -902,7 +898,6 @@ function template_search_results()
global $context, $txt;
echo '
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">', $txt['pm_search_results'], '</h2>
</div>
@ -975,7 +970,6 @@ function template_send()
if (!empty($context['send_log']))
{
echo '
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">', $txt['pm_send_report'], '</h2>
</div>
@ -999,7 +993,6 @@ function template_send()
// Show the preview of the personal message.
echo '
<div id="preview_section"', isset($context['preview_message']) ? '' : ' class="hidden"', '>
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">
<span id="preview_subject">', empty($context['preview_subject']) ? '' : $context['preview_subject'], '</span>
@ -1016,7 +1009,6 @@ function template_send()
// Main message editing box.
echo '
<form action="', $scripturl, '?action=pm;sa=send2" method="post" accept-charset="', $context['character_set'], '" name="postmodify" id="postmodify" class="flow_hidden" onsubmit="submitonce(this);">
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">
<span class="main_icons inbox icon" title="', $txt['new_message'], '"></span> ', $txt['new_message'], '
@ -1271,7 +1263,6 @@ function template_send()
if ($context['reply'])
echo '
<br><br>
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">', $txt['subject'], ': ', $context['quoted_message']['subject'], '</h2>
</div>
@ -1338,7 +1329,6 @@ function template_ask_delete()
global $context, $scripturl, $txt;
echo '
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">
', ($context['delete_all'] ? $txt['delete_message'] : $txt['delete_all']), '
@ -1359,7 +1349,6 @@ function template_prune()
global $context, $scripturl, $txt;
echo '
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">', $txt['pm_prune'], '</h2>
</div>
@ -1388,7 +1377,6 @@ function template_labels()
echo '
<form action="', $scripturl, '?action=pm;sa=manlabels" method="post" accept-charset="', $context['character_set'], '">
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">', $txt['pm_manage_labels'], '</h2>
</div>
@ -1448,7 +1436,6 @@ function template_labels()
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
</form>
<form action="', $scripturl, '?action=pm;sa=manlabels" method="post" accept-charset="', $context['character_set'], '">
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">', $txt['pm_label_add_new'], '</h2>
</div>
@ -1481,7 +1468,6 @@ function template_report_message()
<div class="information">
', $txt['pm_report_desc'], '
</div>
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">', $txt['pm_report_title'], '</h2>
</div>
@ -1533,7 +1519,6 @@ function template_report_message_complete()
global $context, $txt, $scripturl;
echo '
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">', $txt['pm_report_title'], '</h2>
</div>
@ -1552,7 +1537,6 @@ function template_rules()
echo '
<form action="', $scripturl, '?action=pm;sa=manrules" method="post" accept-charset="', $context['character_set'], '" name="manRules" id="manrules">
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">', $txt['pm_manage_rules'], '</h2>
</div>
@ -1773,7 +1757,6 @@ function template_add_rule()
echo '
<form action="', $scripturl, '?action=pm;sa=manrules;save;rid=', $context['rid'], '" method="post" accept-charset="', $context['character_set'], '" name="addrule" id="addrule" class="flow_hidden">
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">', $context['rid'] == 0 ? $txt['pm_add_rule'] : $txt['pm_edit_rule'], '</h2>
</div>
@ -1890,7 +1873,6 @@ function template_add_rule()
<span id="actionAddHere"></span><br>
<a href="#" onclick="addActionOption(); return false;" id="addonjs2" style="display: none;">(', $txt['pm_rule_add_action'], ')</a>
</fieldset>
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">', $txt['pm_rule_description'], '</h2>
</div>
@ -1945,7 +1927,6 @@ function template_showPMDrafts()
global $context, $scripturl, $txt;
echo '
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">
<span class="main_icons inbox"></span> ', $txt['drafts_show'], '

View file

@ -55,7 +55,6 @@ function template_main()
echo '
<div id="edit_poll">
<form action="' . $scripturl . '?action=editpoll2', $context['is_edit'] ? '' : ';add', ';topic=' . $context['current_topic'] . '.' . $context['start'] . '" method="post" accept-charset="', $context['character_set'], '" onsubmit="submitonce(this);" name="postmodify" id="postmodify">
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">', $context['page_title'], '</h2>
</div>';
@ -155,7 +154,6 @@ function template_main()
<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '">
<input type="hidden" name="' . $context['session_var'] . '" value="' . $context['session_id'] . '">
</form>
<div class="khbiseau_bottom_white"></div>
</div><!-- #edit_poll -->
';
}

View file

@ -72,7 +72,6 @@ function template_main()
// If the user wants to see how their message looks - the preview section is where it's at!
echo '
<div id="preview_section"', isset($context['preview_message']) ? '' : ' style="display: none;"', '>
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">
<span id="preview_subject">', empty($context['preview_subject']) ? '&nbsp;' : $context['preview_subject'], '</span>
@ -81,7 +80,6 @@ function template_main()
<div id="preview_body" class="windowbg">
', empty($context['preview_message']) ? '<br>' : $context['preview_message'], '
</div>
<div class="khbiseau_bottom_white"></div>
</div>
<br>';
@ -91,7 +89,6 @@ function template_main()
// Start the main table.
echo '
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">', $context['page_title'], '</h2>
</div>
@ -500,7 +497,6 @@ function template_main()
</span>
</div><!-- .roundframe -->
</div><!-- #post_area -->
<div class="khbiseau_bottom_white"></div>
<br class="clear">';
// Assuming this isn't a new topic pass across the last message id.
@ -632,7 +628,6 @@ function template_main()
{
echo '
<div id="recent" class="flow_hidden main_section">
<div class="khbiseau_topright_color"></div>
<div class="cat_bar cat_bar_round">
<h2 class="catbg">', $txt['topic_summary'], '</h2>
</div>
@ -678,7 +673,6 @@ function template_main()
}
echo '
<div class="khbiseau_bottom_white"></div>
</div><!-- #recent -->
<script>
var aIgnoreToggles = new Array();';
@ -860,7 +854,6 @@ function template_announce()
echo '
<div id="announcement">
<form action="', $scripturl, '?action=announce;sa=send" method="post" accept-charset="', $context['character_set'], '">
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">', $txt['announce_title'], '</h2>
</div>

View file

@ -495,8 +495,7 @@ function template_showPosts()
</div>', !empty($context['page_index']) ? '
<div class="pagesection">
<div class="pagelinks">' . $context['page_index'] . '</div>
</div>
<div class="khbiseau_topright_white"></div>' : '';
</div>' : '';
// Are we displaying posts or attachments?
if (!isset($context['attachments']))
@ -552,8 +551,6 @@ function template_showPosts()
', isset($context['attachments']) ? $txt['show_attachments_none'] : ($context['is_topics'] ? $txt['show_topics_none'] : $txt['show_posts_none']), '
</div>';
echo '<div class="khbiseau_bottom_white"></div>';
// Show more page numbers.
if (!empty($context['page_index']))
echo '

View file

@ -19,7 +19,6 @@ function template_recent()
echo '
<div id="recent" class="main_section">
<div class="khbiseau_topright_khcolor"></div>
<div id="display_head" class="information">
<h2 class="display_title">
<span id="top_subject">', $txt['recent_posts'], '</span>
@ -60,7 +59,6 @@ function template_recent()
}
echo '
<div class="khbiseau_bottom_white"></div>
<div class="pagesection">
<div class="pagelinks">', $context['page_index'], '</div>
</div>

View file

@ -22,14 +22,12 @@ function template_registration_agreement()
if (!empty($context['agreement']))
echo '
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">', $txt['registration_agreement'], '</h2>
</div>
<div class="roundframe">
<div>', $context['agreement'], '</div>
</div>
<div class="khbiseau_bottom_white"></div>';
</div>';
if (!empty($context['privacy_policy']))
echo '
@ -104,7 +102,6 @@ function template_registration_form()
echo '
<form action="', !empty($modSettings['force_ssl']) ? strtr($scripturl, array('http://' => 'https://')) : $scripturl, '?action=signup2" method="post" accept-charset="', $context['character_set'], '" name="registration" id="registration" onsubmit="return verifyAgree();">
<div class="khbiseau_topright_color"></div>
<div class="cat_bar">
<h2 class="catbg">', $txt['registration_form'], '</h2>
</div>
@ -180,8 +177,7 @@ function template_registration_form()
echo '
</fieldset>
</div><!-- .roundframe -->
<div class="khbiseau_bottom_white"></div>';
</div><!-- .roundframe -->';
// If we have either of these, show the extra group.
if (!empty($context['profile_fields']) || !empty($context['custom_fields']))

View file

@ -19,7 +19,6 @@ function template_main()
global $context, $txt, $scripturl, $modSettings;
echo '
<div class="khbiseau_topright_color"></div>
<form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '" name="searchform" id="searchform">';
if (!empty($context['search_errors']))

View file

@ -3342,10 +3342,7 @@ h2 .collapse {
width: 55% ;
display:flex;
align-items: center;
padding: 0;
}
div.cat_bar.without_biseau {
padding-top: 1em;
padding: 1em 0 0 0;
}
.cat_bar .info > span {
margin-left: 1em;
@ -3397,8 +3394,7 @@ div.cat_bar.without_biseau {
display: inline-block;
}
.main_container {
/* pas de marge pour les biseaux
* margin-bottom: 0.5em;*/
margin: 0 0 0.5em 0;
}
.up_contain {
overflow: hidden;
@ -4065,8 +4061,7 @@ ul.post_options li {
/* Cat_bar / catbg */
div.cat_bar {
background: var(--color2);
padding: 0;
padding-bottom: 1em;
padding: 0 0 1em 0;
color: var(--neutral-light-color);
margin-top: 0;
}
@ -4813,48 +4808,6 @@ img.theme_thumbnail {
display:none;
}
/* Biseaux */
.khbiseau_bottom_white {
border-style: solid;
border-color: white transparent transparent transparent;
border-width: 0.5em;
padding: 0;
background-color: transparent !important;
}
.khbiseau_bottom_color {
border-style: solid;
border-color: var(--color2) transparent transparent transparent;
border-width: 0.5em;
padding: 0;
background-color: transparent !important;
}
.khbiseau_topright_white {
border-style: solid;
border-color: transparent transparent #fff transparent;
border-width: 0 1.5em 1.5em 0;
}
.khbiseau_topright_color {
border-style: solid;
border-color: transparent transparent var(--color2) transparent;
border-width: 0 1em 1em 0;
}
.khbiseau_topright_khcolor {
border-style: solid;
border-color: transparent transparent var(--mmf-color) transparent;
border-width: 0 1em 1em 0;
}
.khbiseau_right_color {
border-style: solid;
border-color: transparent transparent red red;
border-width: 1.5em 0em 1.5em 1.5em;
height: 100%;
position: absolute;
right: 0;
}
/* Petit hexagone */
.not_toggle {
padding-left: 1em;

View file

@ -493,7 +493,6 @@ function template_body_below()
echo '
</div>
</div>
<div class="khbiseau_bottom_color"></div>
</div><!-- #footer -->
</div><!-- #wrapper -->