«ميدياويكي: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 | + | cursor: pointer; |
| − | -webkit-user-select: none | + | -webkit-user-select: none; /* Safari 3.1+ */ |
| − | -moz-user-select: none | + | -moz-user-select: none; /* Firefox 2+ */ |
| − | -ms-user-select: none | + | -ms-user-select: none; /* IE 10+ */ |
| − | user-select: none | + | user-select: none; |
} | } | ||
.treeBranch::before { | .treeBranch::before { | ||
| − | content: "+" | + | content: "+"; |
| − | color: black | + | color: black; |
| − | display: inline-block | + | display: inline-block; |
| − | margin-left: 3px | + | margin-left: 3px; |
| − | width: 14px | + | width: 14px; |
} | } | ||
.treeBranch-down::before { | .treeBranch-down::before { | ||
| − | content: " | + | content: "–"; |
} | } | ||
.treeBranch-nested { | .treeBranch-nested { | ||
| − | display: none | + | display: none; |
} | } | ||
.treeBranch-empty::before { | .treeBranch-empty::before { | ||
| − | content: " " | + | content: " " ; |
| − | margin-left: 17px | + | margin-left: 17px ; |
| − | display: inline-block | + | display: inline-block; |
} | } | ||
.treeBranch-active { | .treeBranch-active { | ||
| − | display: block | + | 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 ; } /******************************************************************************/