«ميدياويكي:Common.css»: الفرق بين المراجعتين

من Sudan Memory
اذهب إلى: تصفح، ابحث
سطر ١: سطر ١:
 
/* ستؤثر الأنماط المتراصة (CSS) المعروضة هنا على كل الواجهات */
 
/* ستؤثر الأنماط المتراصة (CSS) المعروضة هنا على كل الواجهات */
 +
 
/* Added by Abdalla, 2020-12-05, to fix the font scaling problem in iOS;  
 
/* Added by Abdalla, 2020-12-05, to fix the font scaling problem in iOS;  
 
  * See https://stackoverflow.com/questions/20924039/wrong-font-size-when-using-float-right-in-css-on-mobile-safari
 
  * See https://stackoverflow.com/questions/20924039/wrong-font-size-when-using-float-right-in-css-on-mobile-safari
سطر ٢٧: سطر ٢٨:
 
}
 
}
  
/***************** Nested Tree Lists *****************/
+
/***************************** Nested Tree Lists ******************************/
  
 
ul.nestedTree {
 
ul.nestedTree {
سطر ٤٠: سطر ٤١:
  
 
.treeBranch {
 
.treeBranch {
   cursor: pointer !important;
+
   cursor: pointer;
   -webkit-user-select: none !important; /* Safari 3.1+ */
+
   -webkit-user-select: none; /* Safari 3.1+ */
   -moz-user-select: none !important; /* Firefox 2+ */
+
   -moz-user-select: none; /* Firefox 2+ */
   -ms-user-select: none !important; /* IE 10+ */
+
   -ms-user-select: none; /* IE 10+ */
   user-select: none !important;
+
   user-select: none;
 
}
 
}
  
 
.treeBranch::before {
 
.treeBranch::before {
   content: "+" !important;
+
   content: "+";
   color: black !important;
+
   color: black;
   display: inline-block !important;
+
   display: inline-block;
   margin-left: 3px !important;
+
   margin-left: 3px;
   width: 14px !important;
+
   width: 14px;
 
}
 
}
  
 
.treeBranch-down::before {
 
.treeBranch-down::before {
   content: "--" !important;
+
   content: "";
 
}
 
}
  
 
.treeBranch-nested {
 
.treeBranch-nested {
   display: none !important;
+
   display: none;
 
}
 
}
  
 
.treeBranch-empty::before {
 
.treeBranch-empty::before {
     content: " " !important;
+
     content: " " ;
     margin-left: 17px !important;
+
     margin-left: 17px ;
     display: inline-block !important;
+
     display: inline-block;
 
}
 
}
  
 
.treeBranch-active {
 
.treeBranch-active {
   display: block !important;
+
   display: block ;
 
}
 
}
 +
 +
/******************************************************************************/

مراجعة ٠٠:٤٤، ١٣ مايو ٢٠٢١

/* ستؤثر الأنماط المتراصة (CSS) المعروضة هنا على كل الواجهات */
 
/* Added by Abdalla, 2020-12-05, to fix the font scaling problem in iOS; 
 * See https://stackoverflow.com/questions/20924039/wrong-font-size-when-using-float-right-in-css-on-mobile-safari
 * Also made fonts larger
 */
 
body {
    font-size: larger;
    text-size-adjust: 100%; 
    -ms-text-size-adjust: 100%; 
    -moz-text-size-adjust: 100%; 
    -webkit-text-size-adjust: 100%;
}
 
.quoted {
    border-right: solid 1px;
    padding-right: 10px;
    color:blue;
}
 
.gutter {
    display:table-cell;
    vertical-align:middle;
    padding-right:50px;
    opacity:0.5;
    border-right:solid 1px
}
 
/***************************** Nested Tree Lists ******************************/
 
ul.nestedTree {
  list-style-type: none;
  list-style-image: none;
}
 
ul.treeRoot {
  margin: 0;
  padding: 0;
}
 
.treeBranch {
  cursor: pointer;
  -webkit-user-select: none; /* Safari 3.1+ */
  -moz-user-select: none; /* Firefox 2+ */
  -ms-user-select: none; /* IE 10+ */
  user-select: none;
}
 
.treeBranch::before {
  content: "+";
  color: black;
  display: inline-block;
  margin-left: 3px;
  width: 14px;
}
 
.treeBranch-down::before {
  content: "–";
}
 
.treeBranch-nested {
  display: none;
}
 
.treeBranch-empty::before {
    content: " " ;
    margin-left: 17px ;
    display: inline-block;
}
 
.treeBranch-active {
  display: block ;
}
 
/******************************************************************************/