Difference between pages "MediaWiki:Common.css" and "smw/schema:Group:Predefined properties"

From SEBoK
(Difference between pages)
Jump to navigation Jump to search
 
(Semantic MediaWiki group import)
 
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
+
{
#t-info { display: none !important; }
+
    "type": "PROPERTY_GROUP_SCHEMA",
#ca-talk { display: none !important; }
+
    "groups": {
#ca-pdfbook { display: none !important; }
+
        "adminstrative_group": {
body.page h1.firstHeading { display:block !important; }
+
            "canonical_name": "Adminstrative properties",
/* hiding existing toolbox */
+
            "message_key": "smw-property-group-label-adminstrative-properties",
/* #p-navigation, #p-tb h5, #p-tb div.body { display:none !important; } */
+
            "property_keys": [
#p-navigation { display:none !important; }
+
                "_MDAT",
#Toolbox { display:none; }
+
                "_CDAT",
#t-recentchangeslinked { display: none; }
+
                "_NEWP",
#t-upload { display: none; }
+
                "_LEDT",
#t-specialpages { display: none; }
+
                "_DTITLE",
 
+
                "_CHGPRO",
/* logo size and position */
+
                "_EDIP",
#mw-panel #p-logo > a {
+
                "_ERRC"
width: 732px;
+
            ]
}
+
         },
 
+
        "classification_group": {
/** SEB-82 */
+
            "canonical_name": "Classification properties",
body.skin-vector div#p-logo {
+
            "message_key": "smw-property-group-label-classification-properties",
/*    margin-left: 213px; *//* SEBoK 2020.png            */
+
            "property_keys": [
/*    margin-left: 230px; *//* SEBOK3-Banner3.png        */
+
                "_INST",
      margin-left: 250px;  /* SEBoK_Banner3-cropped.png */
+
                "_PPGR",
}
+
                "_SUBP",
 
+
                "_SUBC"
body.skin-vector #p-logo a {
+
            ]
background-size: contain;
+
        },
         background-position: left center;
+
        "content_group": {
}
+
            "canonical_name": "Content properties",
/* # adjust for medium and small */
+
            "message_key": "smw-property-group-label-content-properties",
@media screen and ( max-width: 768px ){
+
            "property_keys": [
body.skin-vector div#p-logo {
+
                "_SOBJ",
    margin-left: 0;
+
                "_ASK",
}
+
                "_MEDIA",
body.skin-vector #p-logo a {
+
                "_MIME",
    background-position: center center;
+
                "_ATTCH_LINK",
    width: 520px !important;
+
                "_FILE_ATTCH",
    margin-left: 20px;      /* SEBoK_Banner3-cropped.png */
+
                "_CONT_TYPE",
}
+
                "_CONT_AUTHOR",
}
+
                "_CONT_LEN",
 
+
                "_CONT_LANG",
/* # avoid overlapping on small */
+
                "_CONT_TITLE",
@media screen and ( max-width: 576px ){
+
                "_CONT_DATE",
body.skin-vector #pt-mytalk, body.skin-vector #pt-mycontris {
+
                "_CONT_KEYW",
    display: none;
+
                "_TRANS",
}
+
                "_TRANS_SOURCE",
}
+
                "_TRANS_GROUP"
@media screen and ( max-width: 480px ){
+
            ]
body.skin-vector #pt-preferences {
+
        },
    display: none;
+
        "declarative_group": {
}
+
            "canonical_name": "Declarative properties",
body.skin-vector #p-personal ul.vector-menu-content-list {
+
            "message_key": "smw-property-group-label-declarative-properties",
    text-align: right;
+
            "property_keys": [
    display: flex;
+
                "_TYPE",
    white-space: nowrap;
+
                "_UNIT",
}
+
                "_IMPO",
body.skin-vector #p-personal ul.vector-menu-content-list li {
+
                "_CONV",
    float: none !important;
+
                "_SERV",
}
+
                "_PVAL",
}
+
                "_LIST",
/* </logo> */
+
                "_PREC",
 
+
                "_PDESC",
.printonly {
+
                "_PPLB",
  display: none;
+
                "_PVAP",
}
+
                "_PVALI",
 
+
                "_PVUC",
@media print {
+
                "_PEID",
  .printonly {
+
                "_PEFU"
    display: initial;
+
            ]
  }
+
        }
}
+
     },
 
+
     "tags": [
.fancytree span.fancytree-title {
+
        "group",
  font-size: 11px !important;
+
        "property group"
  white-space: normal !important;
+
     ]
  font-weight: normal !important;
 
}
 
 
 
div#mw-panel div.portal div.body .fancytree span.fancytree-title a {
 
  white-space: normal !important;
 
  line-height: 1.3em;
 
  font-weight: normal !important;
 
}
 
 
 
span.fancytree-node {
 
  position: relative;
 
  padding-left: 10px;
 
  box-sizing: border-box;
 
}
 
 
 
span.fancytree-node > .fancytree-expander {
 
  position: absolute;
 
  left: 0;
 
}
 
 
 
portal .body > .fancytree {
 
margin-left: -30px;
 
}
 
 
 
/* sponsors block */
 
 
 
.sponsors-block {
 
  margin-bottom: 10px;
 
  padding: 10px 0;
 
  margin: 10px 0;
 
  /*border-top: 1px solid rgb(167 163 163);
 
  border-bottom: 1px solid rgb(167 163 163);*/
 
}
 
 
 
.sponsors-block .sponsors-block--heading {
 
    font-weight: 400;
 
    font-size: 11px;
 
    color: rgb(77, 77, 77);
 
    margin: 10px 0 15px -11px;
 
    display: block;
 
}
 
 
 
.sponsors-block .slideshow {
 
  margin: 10px 0 10px -15px;
 
}
 
 
 
.sponsors-block .slideshow {
 
     width: 222px;
 
     display: flex;
 
    /*height: 200px;*/
 
    align-items: center;
 
    overflow: hidden;
 
    justify-content: center;
 
     height: 200px;
 
}
 
 
 
.sponsors-block .slideshow > div {
 
  /*position: relative !important;*/
 
}
 
 
 
.sponsors-block .slideshowspacer {
 
  display: none !important;
 
 
}
 
}

Latest revision as of 16:58, 20 July 2022

PROPERTY_GROUP_SCHEMA
This schema type supports the definition of property groups to help structure the browsing interface.
The request is being processed and may take a moment. Preparing ...
{ "type": "PROPERTY_GROUP_SCHEMA", "groups": { "adminstrative_group": { "canonical_name": "Adminstrative properties", "message_key": "smw-property-group-label-adminstrative-properties", "property_keys": [ "_MDAT", "_CDAT", "_NEWP", "_LEDT", "_DTITLE", "_CHGPRO", "_EDIP", "_ERRC" ] }, "classification_group": { "canonical_name": "Classification properties", "message_key": "smw-property-group-label-classification-properties", "property_keys": [ "_INST", "_PPGR", "_SUBP", "_SUBC" ] }, "content_group": { "canonical_name": "Content properties", "message_key": "smw-property-group-label-content-properties", "property_keys": [ "_SOBJ", "_ASK", "_MEDIA", "_MIME", "_ATTCH_LINK", "_FILE_ATTCH", "_CONT_TYPE", "_CONT_AUTHOR", "_CONT_LEN", "_CONT_LANG", "_CONT_TITLE", "_CONT_DATE", "_CONT_KEYW", "_TRANS", "_TRANS_SOURCE", "_TRANS_GROUP" ] }, "declarative_group": { "canonical_name": "Declarative properties", "message_key": "smw-property-group-label-declarative-properties", "property_keys": [ "_TYPE", "_UNIT", "_IMPO", "_CONV", "_SERV", "_PVAL", "_LIST", "_PREC", "_PDESC", "_PPLB", "_PVAP", "_PVALI", "_PVUC", "_PEID", "_PEFU" ] } }, "tags": [ "group", "property group" ] }