Files
nibiru-framework.com/application/view/mockup/template/less/modules/_article-comment.less
stephan 48c839d927 Initial public push: docs cosmos v4 + AI module + framework groundwork
This is the snapshot the production landing site (nibiru-framework.com) is
deployed from. Brings together the recent splash + docs migration to the v4
"Cosmos" design system, the new in-framework AI module, and the framework
groundwork that backs the framework-reference extraction.

What lands:
- docs/: Astro + Starlight site with the v4 dark cosmic palette, GalaxyHero
  canvas constellation, Mission Control chat (wired to /api/oracle →
  api.neuronetz.ai via providers.mjs Ollama), 5-panel MMVC stage
  (Model · AI · Module · Controller · View), translated EN/DE/JA/ES/FR
  content, PWA + sitemap + llms.txt + Umami analytics.
- docs/design-system/: canonical mockup bundle (source/index-v2.html for
  splash, source/docs-system.html + preview/ for docs, SPEC.md, tokens).
- docs/scripts/extraction/framework-reference-v2.md: deep framework
  reference (~1.6k lines, file:line citations, every public factory and
  idiom — basis for the LoRA training corpus.
- application/module/ai/: AI module with chat / embed / RAG / agent
  plugins, plus pdoQuery / httpGet / fileRead tools and Modelfile +
  smoke-test in training/.
- application/module/users/: user / ACL / form-factory traits used as the
  reference plugin pattern for the framework docs.
- application/settings/config/database/: schema + seed migrations
  including the AI module tables (200–203).
- Form factory + autogenerator changes the framework-reference-v2 covers.

Production secrets stay out: docs/.env, settings.production.ini and
ai.production.ini are all gitignored (.example files are in tree).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 15:22:18 +02:00

265 lines
4.0 KiB
Plaintext

.comments{
margin-bottom: 30px;
padding-top: 10px;
}
.comment-list{
margin: 0 0 30px 0;
padding: 0;
list-style-type: none;
}
.comment-list-item{
padding: 20px;
margin-bottom: 20px;
border-radius: 3px;
border: 1px solid @color_grey-light;
position: relative;
&:last-child{
margin-bottom: 0;
}
}
.comment-reply{
margin-top: 20px;
position: relative;
&:before{
display: block;
content: '';
position: absolute;
width: 10px;
height: 10px;
z-index: 2;
top: -5px;
left: 49%;
background-color: @color_grey-lighter;
border-left: 1px solid @color_grey-light;
border-top: 1px solid @color_grey-light;
.transform(rotate(45deg));
}
.comment-list{
margin: 0;
}
.comment-list-item{
border-radius: 0;
background-color: @color_grey-lighter;
border-left: 1px solid @color_grey-light;
border-top: 1px solid @color_grey-light;
border-right: 1px solid @color_grey-light;
border-bottom: 0;
margin: 0;
&:last-child{
border-bottom: 1px solid @color_grey-light;
}
}
}
.comment-content{
padding-left: 80px;
position: relative;
}
.comment-user-photo{
width: 60px;
position: absolute;
line-height: 0;
left: 0;
top: 0;
img{
max-width: 100%;
}
}
.comment-header{
margin-bottom: 5px;
&:after{
clear: both;
content: '';
display: block;
}
}
.comment-username{
float: left;
}
.comment-meta{
.fz(14);
float: right;
color: @color_grey;
font-weight: @font_light;
margin: 0;
padding: 0;
list-style-type: none;
li{
display: inline;
position: relative;
padding: 0 7px;
&:after{
position: absolute;
right: -2px;
display: block;
content: '';
top: 2px;
width: 1px;
height: 12px;
background-color: @color_grey-light;
}
&:first-child{
padding-left: 0;
}
&:last-child{
&:after{
display: none;
}
border: 0;
padding-right: 0;
}
}
}
.comment-message{
.fz(15);
}
.comment-actions{
margin: 0;
padding: 0;
list-style-type: none;
text-align: right;
font-size: 16px;
font-weight: @font_light;
opacity: 0.8;
}
.comment-action-item{
display: inline-block;
vertical-align: top;
zoom: 1;
*display: inline;
margin-right: 10px;
&:last-child{
margin: 0;
}
}
.comment-action-like{
color: @color_red;
&:hover .fa:before, &.comment-action-liked .fa:before{
content: '\f004'
}
}
.comment-action-reply{
color: @color_grey;
}
.comment-form{
padding-top: 10px;
}
.comment-form-title{
}
.comment-form-list{
margin: 0;
padding: 0;
list-style-type: none;
}
.comment-form-list-item{
margin-bottom: 20px;
input[type="text"]{
height: 45px;
}
textarea{
height: 110px;
min-width: 100%;
max-width: 100%;
max-height: 175px;
width: 100%;
}
button{
display: block;
height: 45px;
width: 100%;
background-color: white;
border: 1px solid @color_grey-light;
font-size: 14px;
outline: none;
padding: 0;
line-height: 35px;
border-radius: 3px;
font-weight: @font_light;
position: relative;
&:before{
position: absolute;
display: block;
left: 0;
top: 0;
text-align: center;
width: 45px;
height: 45px;
font-family: @icons-stroke;
font-size: 20px;
line-height: 45px;
content: '\e668';
border-right: 1px solid @color_grey-light;
border-radius: 3px;
}
&:hover:before{
content: '+';
font-family: @font_primary;
line-height: 42px;
font-size: 24px;
font-weight: @font_normal;
color: @color_grey-dark;
}
}
}
.media-mixin(@break) when (@break = @break-small-x) {
.comment-username, .comment-meta{
width: 100%;
float: none;
text-align: center;
}
.comment-content{
padding-left: 0;
padding-top: 100px;
}
.comment-user-photo{
left: 50%;
width: 80px;
margin-left: -40px;
border-radius: 50%;
overflow: hidden;
}
.comment-actions{
text-align: center;
}
}